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

Add "Alert words" view to left sidebar #28778

Open
Tracked by #28779
alya opened this issue Jan 31, 2024 · 3 comments · May be fixed by #28858
Open
Tracked by #28779

Add "Alert words" view to left sidebar #28778

alya opened this issue Jan 31, 2024 · 3 comments · May be fixed by #28858
Labels
area: left sidebar (features) New left sidebar functionality difficult Issues which we expect to be quite difficult help wanted new feature A proposed new feature for the product

Comments

@alya
Copy link
Contributor

alya commented Jan 31, 2024

We should add a dedicated "Alert words" view in the left sidebar, equivalent to the "is:alerted" search filter.

Notes:

  • It should have an unread counter. This is the hardest part, and will require an API discussion.
  • Placement:
    • Just below @-mentions in the expanded view
    • In the ... menu in the collapsed view (first item)
    • Hidden altogether if the user has no alert words configured. (But shown if alert words are configured, but there are no messages with alert words to show. Empty text: "You have no messages with alert words.")
  • The view should have a ... menu with an "Alert words settings" link to /#settings/alert-words. A gear icon should be OK for this menu item.
  • TBD: icon for left sidebar and view heading

These changes will need to be documented in the help center; this can be a follow-up.

CZO thread

@alya alya added help wanted difficult Issues which we expect to be quite difficult new feature A proposed new feature for the product area: left sidebar (features) New left sidebar functionality labels Jan 31, 2024
@roanster007
Copy link
Collaborator

@zulipbot claim

roanster007 added a commit to roanster007/zulip that referenced this issue Feb 7, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 7, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 7, 2024
This commit adds the unread counts to the Alert Views, both in
condensed and non condensed state.

Fixes: zulip#28778
@roanster007 roanster007 linked a pull request Feb 7, 2024 that will close this issue
12 tasks
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 7, 2024
This commit adds the unread counts to the Alert Views, both in
condensed and non condensed state.

Fixes: zulip#28778
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 7, 2024
This commit adds the unread counts to the Alert Views, both in
condensed and non condensed state.

Fixes: zulip#28778.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 10, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 10, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 10, 2024
This commit adds the unread counts to the Alert Views, both in
condensed and non condensed state.

Fixes: zulip#28778.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 10, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 10, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 10, 2024
This commit adds the unread counts to the Alert Views, both in
condensed and non condensed state.

Fixes: zulip#28778.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 11, 2024
This commit adds the unread counts to the Alert Views, both in
condensed and non condensed state.

Fixes: zulip#28778.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 22, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 22, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 22, 2024
This commit adds the unread counts to the Alert Views, both in
condensed and non condensed state.

Fixes: zulip#28778.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 28, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 28, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Feb 28, 2024
This commit adds the unread counts to the Alert Views, both in
condensed and non condensed state.

Fixes: zulip#28778.
roanster007 added a commit to roanster007/zulip that referenced this issue Mar 10, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Mar 10, 2024
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.
roanster007 added a commit to roanster007/zulip that referenced this issue Mar 10, 2024
This commit adds the unread counts to the Alert Views, both in
condensed and non condensed state.

Fixes: zulip#28778.
@zulipbot
Copy link
Member

zulipbot commented Mar 20, 2024

@roanster007 You have been unassigned from this issue because you have not made any updates for over 14 days. Please feel free to reclaim the issue if you decide to pick up again. Thanks!

@Aditya8840
Copy link
Collaborator

@alya, I wanted to check if it’s still available for work. If it is, I would be happy to take it on!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: left sidebar (features) New left sidebar functionality difficult Issues which we expect to be quite difficult help wanted new feature A proposed new feature for the product
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

4 participants