templates: Show Overlay of Recent Topics.

* Show an empty overlay of recent topics.
* Register click event to open recent topics.
* Launch recent topics on "t" keypress.

This is based on the draft overlay.
This commit is contained in:
Aman Agrawal
2020-04-08 17:29:56 +05:30
committed by Tim Abbott
parent 56b1b6c067
commit 9328dc8437
13 changed files with 152 additions and 3 deletions

View File

@@ -36,6 +36,10 @@ exports.drafts_open = function () {
return open_overlay_name === 'drafts';
};
exports.recent_topics_open = function () {
return open_overlay_name === 'recent_topics';
};
// To address bugs where mouse might apply to the streams/settings
// overlays underneath an open modal within those settings UI, we add
// this inline style to '.overlay.show', overriding the