hotkey: Give feedback when no unreads left in followed topics.

When navigating to the next unread followed topic using
the Shift+N hotkey, we notify the user when there are no more
unread messages in followed topics.

Earlier, the hotkey simply did nothing in such a case.

We use feedback_widget to do so.

Fixes #27604.
This commit is contained in:
Prakhar Pratyush
2023-11-11 01:05:09 +05:30
committed by Tim Abbott
parent 4d1ade1f88
commit 2f469ff830
3 changed files with 22 additions and 2 deletions

View File

@@ -1,7 +1,9 @@
<div class="float-header">
<h3 class="light no-margin small-line-height float-left feedback_title"></h3>
<div class="exit-me float-right">&#215;</div>
<button class="button small rounded float-right feedback_undo" type="button" name="button"></button>
{{#if has_undo_button}}
<button class="button small rounded float-right feedback_undo" type="button" name="button"></button>
{{/if}}
<div class="float-clear"></div>
</div>
<p class="n-margin feedback_content"></p>