Skip to content
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

Show 'You' in Android theme quotes instead of contact name #2312

Merged
merged 1 commit into from
Apr 30, 2018

Conversation

scottnonnenberg-signal
Copy link
Contributor

Instead of pulling information from the user's contacts (which doesn't always have their own contact set), we now show 'You' for quotes referencing the current user in the android theme. This mirrors 'Replying to Yourself' or 'Replying to You' shown in the iOS theme already.

Before:
screen shot 2018-04-30 at 12 40 29 pm

After:
screen shot 2018-04-30 at 12 39 26 pm

Copy link
Contributor

@gasi-signal gasi-signal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚢



const authorProfileElement = authorProfileName
? <span className="profile-name">~{authorProfileName}</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OT: What’s the history of the tile prefix for profile names? I understand if offers some visual distinction but it always seemed a bit low-fi to me 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's to visually distinguish it from the names we pull from your contacts. The idea was to ensure that nobody could be faked out by an attacker who set their profile to be the same name as someone already in their target's contacts.

@scottnonnenberg-signal scottnonnenberg-signal merged commit 82e2fe9 into development Apr 30, 2018
@scottnonnenberg-signal scottnonnenberg-signal deleted the you-in-quote branch April 30, 2018 20:50
scottnonnenberg-signal added a commit that referenced this pull request May 1, 2018
Media Gallery showing all attachments in a given conversation (#2291, previous: #2236)

Quotes:
  - Show 'You' in Android theme instead of your own contact name (#2312)
  - Show thumbnails for quotes of messages with video attachments (#2293)

Video attachments: show first frame preview in composition area (#2293)

Increase speed of migration to move attachments to disk from database (#2314)

Dev:
  - Add comments clarifying our mechanisms for stripping EXIF info (#2313)
  - Move to prettierjs to format our code (#2303)
  - Fix break in styleguide; make filesize/Signal.Util.GoogleChrome available (#2302)
  - Remove duplicate entry from .gitignore (#2271)
scottnonnenberg-signal added a commit that referenced this pull request May 10, 2018
Media Gallery showing all attachments in a given conversation (#2291, previously #2236)

Note: Until all attachments have been migrated to disk (as part of a background process), only a partial set of a conversation's media will show up, skewed towards the most recent messages

Quotes:
  - Show 'You' in Android theme instead of your own contact name (#2312)
  - Show thumbnails for quotes of messages with video attachments (#2293)

Video attachments: show first frame preview in composition area (#2293)

Notification improvements
  - Remove all on remote read, on focus, on exit
  - Show multi-message notifications like '5 new messages'

Increase speed of migration to move attachments to disk from database (#2314)

Dev:
  - Add comments clarifying our mechanisms for stripping EXIF info (#2313)
  - Move to prettierjs to format our code (#2303)
  - Fix break in styleguide; make filesize/Signal.Util.GoogleChrome available (#2302)
  - Remove duplicate entry from .gitignore (#2271)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants