-
-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI redesign: message content layout #5511
Labels
Comments
sirpengi
added a commit
to sirpengi/zulip-flutter
that referenced
this issue
Oct 25, 2023
Adds a new _UnreadMarker that renders as a 4px solid border on the left edge of messages. Design based on mockups at: zulip/zulip-mobile#5511
sirpengi
added a commit
to sirpengi/zulip-flutter
that referenced
this issue
Oct 25, 2023
Adds a new _UnreadMarker that renders as a 4px solid border on the left edge of messages. Design based on mockups at: zulip/zulip-mobile#5511
sirpengi
added a commit
to sirpengi/zulip-flutter
that referenced
this issue
Oct 25, 2023
Adds a new _UnreadMarker that renders as a 4px solid border on the left edge of messages. Design based on mockups at: zulip/zulip-mobile#5511
sirpengi
added a commit
to sirpengi/zulip-flutter
that referenced
this issue
Oct 25, 2023
Adds a new _UnreadMarker that renders as a 4px solid border on the left edge of messages. Design based on mockups at: zulip/zulip-mobile#5511 Fixes: zulip#79
sirpengi
added a commit
to sirpengi/zulip-flutter
that referenced
this issue
Nov 23, 2023
Design specifies 16px horizontal padding in recipient headers, see zulip/zulip-mobile#5511 . Also adjusted message timestamps so they line up with the new headers.
sirpengi
added a commit
to sirpengi/zulip-flutter
that referenced
this issue
Nov 24, 2023
Design specifies 16px horizontal padding in recipient headers, see zulip/zulip-mobile#5511 . Also adjusted message timestamps so they line up with the new headers.
sirpengi
added a commit
to sirpengi/zulip-flutter
that referenced
this issue
Nov 24, 2023
Design specifies 16px horizontal padding in recipient headers, see zulip/zulip-mobile#5511 . Also adjusted message timestamps so they line up with the new headers.
sirpengi
added a commit
to sirpengi/zulip-flutter
that referenced
this issue
Nov 24, 2023
Design specifies 16px horizontal padding in recipient headers, see zulip/zulip-mobile#5511 . Also adjusted message timestamps so they line up with the new headers.
sirpengi
added a commit
to sirpengi/zulip-flutter
that referenced
this issue
Nov 28, 2023
Design specifies 16px horizontal padding in recipient headers, see zulip/zulip-mobile#5511 . Also adjusted message timestamps so they line up with the new headers.
sirpengi
added a commit
to sirpengi/zulip-flutter
that referenced
this issue
Nov 29, 2023
Design specifies 16px horizontal padding in recipient headers, see zulip/zulip-mobile#5511 . Also adjusted message timestamps so they line up with the new headers.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is about new message content layout, not colors, not any other functionality.
I don't know how exactly mobile message look detached from the web or if it is the same css but for different media query.
If web app would have the same layout of message on mobile that would be great.
All sizes are in 100% scale (no high definition), so my px would be
points
in iOS anddp
in android I guess.![image](https://user-images.githubusercontent.com/1903309/193034910-618b8071-6406-4cb2-b388-a42a3e2bbc82.png)
[Figma ref](https://www.figma.com/file/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=538%3A20300) (if want to inspect details please make a copy so you have edit rights to your copy)I'm very sorry but mockup containers structure isn't clean. So I try to clarify things here and in chat if you have any confusion.
The whole container of messages utilizes 100% of the width on mobile. There is no any gap between 2 messages.
![image](https://user-images.githubusercontent.com/1903309/193036115-e548eccb-d58a-453e-aaad-21485c06d472.png)
Within the message there are such paddings for text
![image](https://user-images.githubusercontent.com/1903309/193036383-16a38061-1ebf-4da7-90ae-bee0073fefd1.png)
Notice the vertical space of 2px between the author and the message.
In case the message is without an author:
![image](https://user-images.githubusercontent.com/1903309/193036938-10f3f521-4166-46c5-a1f7-393d22133502.png)
Left and right margin space will be utilized for different 16px size icons (moved, edited, bookmarked):
![image](https://user-images.githubusercontent.com/1903309/193037303-d7b30eda-1970-47a4-845c-f45c6f808d4d.png)
![image](https://user-images.githubusercontent.com/1903309/193037429-aeb6af5d-7d93-43db-bcc9-809ddbab5fd7.png)
The font is the same as in web app:
![image](https://user-images.githubusercontent.com/1903309/193037701-0b46a21c-e000-4659-8493-103d4bf6a8df.png)
Let me know if it is not possible to use it. I was hoping we could embed Source Sans 3 for the whole mobile app.
Author
Author container can be of a fixed width with ellipsis of a long name:
![image](https://user-images.githubusercontent.com/1903309/193039028-c4f2cb0f-14af-4f37-9396-83ad8e29d6e6.png)
![image](https://user-images.githubusercontent.com/1903309/193039222-e9a866f9-1af7-42b1-b58d-497588f1f6d4.png)
In my mock I gave a bit of space around the userpic:
User pic is 32x32 with 3px corner radius
For the time display I'm using small caps:
![image](https://user-images.githubusercontent.com/1903309/193039737-44ce1561-3fb7-44cb-85d9-ebff568f23bc.png)
You can make it 50% transparent black color.
Topic bars
Topic bar is 40px height
![image](https://user-images.githubusercontent.com/1903309/193040586-47f1bad8-dd57-4fde-ab5f-90c34c88d8a4.png)
A date is a bit tricky. It has
but the correct way would be to align it according to the text baseline:
. This might require to manipulate the top margin/padding
font-variant: small-caps;
while the font-size is 16px. Since the background almost never white the color is 40% opacity black in the light theme.I made it vertically aligned
Topic/stream/ recipient bar color
The algorithm of colorizing the recipient bar is described here https://codepen.io/terpimost/pen/WNzdrJN?editors=0010
![image](https://user-images.githubusercontent.com/1903309/193042853-5bbedc72-32bc-47c6-9c80-e7e6af3654d8.png)
The core idea is in these two functions
To see default zulip colors scroll example all the way down
The text was updated successfully, but these errors were encountered: