Repository navigation
One colour per person, a clearer reply bar, and replies in groups - #167
Merged
Merged
Conversation
… shape changes. The bar above the composer while replying is a coloured tab from the screen's edge, the name in the same colour, one line of the message and a cancel button. Groups gain replies. Invite tickets are only slightly rounded, like the theme boxes; the tick boxes for a new group are circles; the message box is a pill.
You choose one colour. Your messages use it, and other people's phones show your messages in its soft version; theirs show in the colour they chose. In a 1:1 chat the colour travels inside each text message, encrypted, at no extra cost. Settings has one choice, with a preview of what you see and what they see. The second colour choice is gone. Also previews of the reply bar, the invite tickets and the new-group tick boxes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Until now each person picked two colours on their own phone: one for their messages and one for everyone else's, and nobody else saw either. Group chats introduced a simpler idea, one colour per person that everyone sees. The owner decided to use that rule everywhere, and asked for a clearer reply bar and a few shape changes.
What changed
The message box is also a little more pill-shaped (visible in the reply previews). All previews are in
docs/reviews/one-colour-and-reply/.How one colour works
"color": "plum", the name of the sender's colour, inside the encrypted payload.How it was checked
scripts/check.shpasses: 1,498 tests and 19 timing tests.test/model/chat/own_color_test.dart: two accounts and a linked device over the real encryption; the colour reaches the other person, not the sender's own second device; nothing the server stores contains it; malformed colours are dropped.test/view/chat/reply_panel_test.dart,peer_color_test.dart: the reply bar and other people's bubbles use the right colour.test/view/settings/color_preview_test.dartand the updated settings tests: one choice, the wording, "They see" and "You see".AI assistance
Claude Code wrote this change, directed by the owner, who chose the behaviour and the wording in Settings.
Privacy and safety
🤖 Generated with Claude Code