Zulip: Display user statuses in the top navbar

Created on 6 Jul 2020  路  2Comments  路  Source: zulip/zulip

When viewing the messages with a user the top navbar currently only displays their name. I think it would make sense to also display their status (akin to how we display stream descriptions in stream narrows).

UX general UI feedback wanted help wanted

Most helpful comment

I added statuses to the compose box a while ago. Some of that could be reused here (PR #12866).

I can probably work on this tonight if no one picks it up by then. Probably @YashRE42? But I believe he is unavailable for a little while. :)

All 2 comments

I added statuses to the compose box a while ago. Some of that could be reused here (PR #12866).

I can probably work on this tonight if no one picks it up by then. Probably @YashRE42? But I believe he is unavailable for a little while. :)

the relevant files here are tab_bar.hbs and tab_bar.js the correct fix will need to edit both of them:

  • the change for the js file, the case should probably be has_operator("pm-with") ... and we append the user status(es?) to tab_data.rendered_narrow_description via user_status.get_status_text(...),
    we don't need to handle "group-pms" (searching narrow)
  • the change for the hbs file will likely just need an another conditional after the stream_settings_link one which handles PMs.
Was this page helpful?
0 / 5 - 0 ratings