mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 22:19:48 +00:00
recent_topics: Move from overlay to a narrow-like view.
Recent Topics is no longer an overlay now, but note that it is also not a typical messages narrow. It can reside between an overlay and a Filter in the sense that it is dispalyed as a typical Filter narrow but has properties of an Overlay. Compose box is not visible in this view as it will be confusing to many users and hence compose shortcuts have also been disabled. Keyboard shortcuts that apply on messages have also been disabled. The remaining shortcuts that apply to a narrow are still accessible here.
This commit is contained in:
@@ -15,6 +15,12 @@ function get_formatted_sub_count(sub_count) {
|
||||
|
||||
function make_message_view_header(filter) {
|
||||
const message_view_header = {};
|
||||
if (recent_topics.is_visible()) {
|
||||
return {
|
||||
title: i18n.t("Recent topics (beta)"),
|
||||
icon: "clock-o",
|
||||
};
|
||||
}
|
||||
if (filter === undefined) {
|
||||
return {
|
||||
title: i18n.t("All messages"),
|
||||
|
||||
Reference in New Issue
Block a user