-
Notifications
You must be signed in to change notification settings - Fork 107
Fix app navigation menu, closes #49 #53
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,10 @@ | ||
| <span class="confirmation-default"> | ||
| <img class="icon-delete svg" src="<?php p(image_path('core', 'actions/delete.svg'))?>"/> | ||
| <span><?php p($l->t('Delete')); ?></span> | ||
| </span> | ||
| <span class="confirmation-confirm"> | ||
| <a class="confirmation-default"> | ||
| <span class="icon-delete svg"></span> | ||
| <span><?php p($l->t('Delete')); ?></span> | ||
| </a> | ||
| <a class="confirmation-abort icon-close svg" title="<?php p($l->t('Cancel')); ?>"> | ||
| <span></span> | ||
| </a> | ||
| <a class="confirmation-confirm icon-delete-white no-permission svg"> | ||
| <span class="countdown">33 </span> | ||
| <img class="icon-delete svg" src="<?php p(image_path('core', 'actions/delete-white.svg'))?>"/> | ||
| </span> | ||
| <span class="confirmation-abort" title="<?php p($l->t('Cancel')); ?>"> | ||
| <img class="icon-close svg" src="<?php p(image_path('core', 'actions/close.svg'))?>"/> | ||
| </span> | ||
| </a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is NOT a
app-navigation-entry-menu, we're in the content, this should be a popovermenu 😉Though this should roughly be similar, changing the class should be enough :)
The menu content on the other hand, seems to be broken (click action), so since we're working on this, maybe fix this too? 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to work on this in another pr, I will change my review to approved to merge this fast! ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe tackle this in a follow up PR, so that we have a usable state for the menu already. Right now, master is broken and with this PR it should be fine, "just" not fitting the guideline ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created an issue: #57
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The click on menu is broken too, this is not just the guidelines 😃
When you select a sort option, you can't click the button again (or with a lot of difficulties)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I never considered this a bug. But I am ok with keeping the menu open after clicking the popover.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No no, Im talking about the button, not the menu :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I don't get what you mean. Clicking on the sort-order dropdown button opens the menu, clicking it again, closes it. When I click inside the popover, a sorttype is selected and the menu is closed. What is wrong about that? 😕
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahaha, sorry, you're right I'm not clear!
When you click the button, the popover opens, you can select an option and it closes right away, which is perfect!
BUT, after that, when you click the button again, it doesnt work. You need to click just under the icon. It doesn't work after that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I can't reproduce this behavior. After selecting an option I can open and close the menu just fine. It behaves the same as before. Could you maybe create an issue for that and tell me which browser you use?