-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
left_sidebar: Add Alerts View to the left sidebar. #28858
base: main
Are you sure you want to change the base?
Conversation
0006e37
to
4b54af3
Compare
I guess since the api changes are so minimal and obvious (similar to mentions)... does this still require an |
Yes, please start one. |
4b54af3
to
dfa537c
Compare
dfa537c
to
696c636
Compare
@alya please do let me know when the icon for this View is confirmed. I'll then rebase and update the pr. |
Sure, but I don't think the icon is a blocker for proceeding here. Will the PR be ready for review once you've resolved conflicts, or is there more you need to do? |
yup, the icon was the only thing left...I guess I'll rebase the pr then. |
696c636
to
d071614
Compare
d071614
to
d818825
Compare
This commit refactors the handle_narrow_activated method of the left_sidebar_navigation_area to use a switch case instead of an if-else in the filter_name. This is a preparatory commit for zulip#28778.
This commit adds a new Alerts view to the left sidebar, clicking on which narrows to "is: alerted" messages. This view is only present when the user has chosen some alert words It adds 3 dot menu to it linking to the Alert word settings. It also adds the Alerts view to the condensed view. Fixes part of zulip#28778.
This commit adds the message_view_header to the alert views. It also adds the narrow banner to display when no message with matching alert words is found.
This commit adds the unread counts to the Alert Views, both in condensed and non condensed state. Fixes: zulip#28778.
Heads up @roanster007, we just merged some commits that conflict with the changes you made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the |
This PR adds the Alerts View to the left sidebar.
Commits:
18b5f6c
: Preparatory commit.be48d38
: Adds the Alerts view to the left sidebar both in condensed and non condensed view (without unread counts).d3b6d5d
: Adds the narrow banner, and message_view_header to the Alerts View.d818825
: Adds the unread count to the Alerts View.Fixes: #28778
Screenshots and screen captures:
When alert words and corresponding messages exist.
When alert words exist but corresponding messages don't
Views when alert words don't exist.
Opening of settings from 3 dot menu.
Self-review checklist
(variable names, code reuse, readability, etc.).
Communicate decisions, questions, and potential concerns.
Individual commits are ready for review (see commit discipline).
Completed manual review and testing of the following: