Emojification now all done with react via a few new components
Three locations were changed: 1. a group update, which lists a set of contacts 2. the contact name in the left pane 3. the conversation title Three new components were added to window.Signal.Components to support these scenarios, respectively: 1. Emojify 2. ContactName 3. ConversationTitle Note that there are a number of other places in the app that should be emojified, but never have been before. Essentially any place that a contact name might be shown. A non-exhaustive list: - Show group members - Show safety number - Verified change notification - Disappearing timer change notification - Contact verification notification - Quote contact name
This commit is contained in:
@@ -96,17 +96,6 @@
|
||||
<script type='text/x-tmpl-mustache' id='hint'>
|
||||
<p> {{ content }}</p>
|
||||
</script>
|
||||
<script type='text/x-tmpl-mustache' id='conversation-title'>
|
||||
{{ #name }}
|
||||
<span class='conversation-name' dir='auto'>{{ name }}</span>
|
||||
{{ /name }}
|
||||
{{ #number }}
|
||||
<span class='conversation-number'>{{ number }}</span>
|
||||
{{ /number }}
|
||||
{{ #isVerified }}
|
||||
<span class='verified'><span class='verified-icon'></span> {{ verified }}</span>
|
||||
{{ /isVerified }}
|
||||
</script>
|
||||
<script type='text/x-tmpl-mustache' id='conversation'>
|
||||
<div class='conversation-header {{ avatar.color }}'>
|
||||
<div class='header-buttons left'>
|
||||
|
Reference in New Issue
Block a user