Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable the injected snapper logic when apps want to ship their own #14972

Merged
merged 1 commit into from
Apr 10, 2019

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Apr 5, 2019

This allows apps to ship their own, as in some cases the #app-content
element does not exist on page load and therefore the injection fails
and the icon is missing afterwards.

With nextcloud-libraries/nextcloud-vue#339 we'll ship our own Vue-specific logic to handle the sliding.

Fixes #14956

@ChristophWurst
Copy link
Member Author

ChristophWurst added 1. to develop and removed 3. to review labels just now

Put on hold as long as I don't know if this really works.

core/js/js.js Outdated Show resolved Hide resolved
This allows apps to ship their own, as in some cases the #app-content
element does not exist on page load and therefore the injection fails
and the icon is missing afterwards.

Fixes #14956

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst force-pushed the fix/app-nav-toggle-missing branch from 708491a to 0871b9a Compare April 10, 2019 12:09
@ChristophWurst ChristophWurst changed the title Do not inject a #app-navigation-toggle if there is already one Disable the injected snapper logic when apps want to ship their own Apr 10, 2019
@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed 1. to develop Accepted and waiting to be taken care of labels Apr 10, 2019
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code makes sense 👍

@MorrisJobke
Copy link
Member

Please document this in the developer documentation.

@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Apr 10, 2019
@skjnldsv
Copy link
Member

@MorrisJobke this will be for the vue components only while we transition.
So not sure we need this documented. :)

@MorrisJobke
Copy link
Member

@MorrisJobke this will be for the vue components only while we transition.
So not sure we need this documented. :)

Okay

@rullzer rullzer mentioned this pull request Apr 10, 2019
13 tasks
@rullzer rullzer merged commit 47226a1 into master Apr 10, 2019
@rullzer rullzer deleted the fix/app-nav-toggle-missing branch April 10, 2019 19:41
@MorrisJobke
Copy link
Member

@ChristophWurst Backport to what branch?

@ChristophWurst
Copy link
Member Author

at least to 15. @skjnldsv opinions?

@ChristophWurst
Copy link
Member Author

/backport to stable15

@backportbot-nextcloud
Copy link

backport to stable15 in #15046

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug design Design, UI, UX, etc. feature: vue apps
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants