-
Notifications
You must be signed in to change notification settings - Fork 269
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
feat: support grouping notifications by date or repository #854
Conversation
Thanks for the contribution @AltinGruda. Functionally it seems to do the trick. I'm wondering whether the toggle should either be in the @brandonweiss @afonsojramos - what do you both think? |
Thanks @AltinGruda - certainly looks better on the left side. A suggestion I'd appreciate feedback on... What if instead of the drop-down we simply toggled between two icons, with suitable hover text? |
@setchy, I understand where you're coming from, but in filters world, that is not a common UX practice, and thus, I would stay away from it. |
To me, it's really just a yes / no If we're not keen on that, perhaps we add it into the |
Right, but in the future maybe we will implement other sorting/grouping capabilities within the same menu, hence why I think the way it is looks better |
Are we sticking with the dropdown or the toggle one? |
I'd go with the dropdown, but the implementation needs fixing. Clicking outside of the dropdown should close the dropdown, not block the whole app from interaction. |
I went ahead and implemented the functionality to close the dropdown when clicking outside of it. The issue where clicking outside the whole app closes seems to be on the main branch as well, so I dont think I caused that issue |
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.
@AltinGruda - this is looking pretty close.
I've noticed that when using the Date
view, that the notifications aren't being correctly ordered by date (newest to oldest) which is the GitHub UI behavior - https://github.com/notifications
It seems that currently just hiding the repository header row....
Additionally, do you think it is possible to add something that indicates the currently selected filter option?
replaced by #1273 |
Added a dropdown menu to group notifications by date or repository. UI changes were made based on how it looks on https://github.com/notifications
closes #836