settings: Update the 'Muted topics' setting.

This commit updates the existing 'Muted topics'
settings UI to add support for other visibility
policies.

Changes:
Settings sidebar:
1. Rename 'Muted topics' to 'Topics'.
2. Change icon.
Main panel:
3. Rename 'Muted topics' header to 'Topic settings'.
Topics table:
4. Rename 'Date muted' to 'Date updated'.
5. Update the search bar placeholder text to 'Filter topics'.
6. Drop the 'Actions' column.
7. Add a status column with a dropdown set of options.
(Muted, Unmuted, Default for stream)

Fixes #25081.
This commit is contained in:
Prakhar Pratyush
2023-04-14 21:43:13 +05:30
committed by Tim Abbott
parent e87f2ff408
commit c526543498
10 changed files with 88 additions and 45 deletions

View File

@@ -44,9 +44,9 @@
<div class="text">{{t "Uploaded files" }}</div>
</li>
{{/if}}
<li tabindex="0" data-section="muted-topics">
<i class="icon zulip-icon zulip-icon-mute" aria-hidden="true"></i>
<div class="text">{{t "Muted topics" }}</div>
<li tabindex="0" data-section="topics">
<i class="icon zulip-icon zulip-icon-topic" aria-hidden="true"></i>
<div class="text">{{t "Topics" }}</div>
</li>
<li tabindex="0" data-section="muted-users">
<i class="icon fa fa-eye-slash" aria-hidden="true"></i>