You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msglist: Show channel name and topic name on two rows
This mostly follows the legacy mobile app. Notably, this changes the
title text to use normal font weight (wght=400), and breaks the text
into two rows for topic narrow. This will eventually be superseded
by #1039, so we should keep the implementation as simple as possible for
now.
There are some differences from the old design:
The legacy mobile uses different colors for the title text, depending on
the color of the channel, to make the text more visible. We currently
don't have that, so the text just uses the ambient color.
The original design also displays the 'mute' icon when the channel is
muted:
https://github.com/zulip/zulip-mobile/blob/a115df1f71c9dc31e9b41060a8d57b51c017d786/src/streams/StreamIcon.js#L20-L29
In the Flutter app, however, only the privacy level related
icons are displayed (e.g.: web public, invite only). We continue to
leave out the 'mute' icon in this implementation. This can change after
we have a concrete redesign plan.
This implementation also shows the corresponding icons for 'muted' and
'unmuted' topics; previously, only the icon for 'follow' was displayed.
And we continue using the existing icons in the Flutter app, without
trying to match with the exact ones in the old design.
References:
https://github.com/zulip/zulip-mobile/blob/a115df1f71c9dc31e9b41060a8d57b51c017d786/src/title/TitleStream.js#L113-L141https://github.com/zulip/zulip-mobile/blob/a115df1f71c9dc31e9b41060a8d57b51c017d786/src/styles/navStyles.js#L5-L18Fixes: #348
Signed-off-by: Zixuan James Li <[email protected]>
0 commit comments