Scott Nonnenberg
43a44793c5
Remove jshint - move everything over to eslint
...
Also removed all hints of previous linters
7 years ago
Scott Nonnenberg
dc11db92f9
New React component: Message
...
Also: Use react to render contects on the 'show group members' screen
7 years ago
Scott Nonnenberg
445839770b
Fix width of message detail screen ( #2478 )
7 years ago
Scott Nonnenberg
9dedda84e2
Add style guide examples for ContactName and ConversationTitle
7 years ago
Scott Nonnenberg
2988da0981
Turn on all of Microsoft's recommend lint rules
...
Biggest changes forced by this: alt tags for all images, resulting in
new strings added to messages.json, and a new i18n paramter/prop added
in a plot of places.
Another change of note is that there are two new tslint.json files under
ts/test and ts/styleguide to relax our rules a bit there. This required
a change to our package.json script, as manually specifying the config
file there made it ignore our tslint.json files in subdirectories
7 years ago
Scott Nonnenberg
23586be6b0
Add emojification to contact names shown in quotes
7 years ago
Scott Nonnenberg
548c8e69cf
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
7 years ago
Scott Nonnenberg
d9e5338dff
Refactor link/emoji/newline components for composability
7 years ago
Scott Nonnenberg
a5416e42c4
Refactor all emoji utility methods into window.Signal.Emoji
7 years ago
Scott Nonnenberg
a328a70ba2
Update React-based emoji handling to fix skin tone modifiers ( #2399 )
7 years ago
Scott Nonnenberg
4e5c8965ff
Move to react for newlines, emoji, and links in message body
7 years ago
Scott Nonnenberg
8f934251ae
Fix a few types: relax contact, Email->Phone
7 years ago
Scott Nonnenberg
8cb1f1f532
Fall back on givenName/familyName if no displayName/organization
7 years ago
Scott Nonnenberg
eafa038ba4
Use backup labels if custom contact type labels are missing
7 years ago
Daniel Gasienica
d349dd903d
Add `AttachmentSection` to style guide
7 years ago
Daniel Gasienica
121bb0ecef
Style guide: Fix empty state
7 years ago
Daniel Gasienica
f19e6ea93d
Wrap JSX siblings in container
7 years ago
Daniel Gasienica
a8cd0b782e
Rename `DocumentListItem::isLast` to `shouldShowSeparator`
7 years ago
Daniel Gasienica
05f67dc04a
Hide separator for last document list entry
7 years ago
Scott Nonnenberg
1918a88722
Drop ifTruthy suffix
7 years ago
Scott Nonnenberg
1fd487be3f
Refactor to remove duplicated code, lint/prettier fixes
7 years ago
Scott Nonnenberg
8beeef4d10
Show contact name when you reply to message with a contact
7 years ago
Scott Nonnenberg
37821e5a1b
Wire up all contact behaviors, refactor Contact type/selector
7 years ago
Scott Nonnenberg
41be7f126b
Visuals for embedded contacts as well as contact detail screen
7 years ago
Daniel Gasienica
38f3ad6518
Use `SignalService` vs `textsecure` for protobuf
7 years ago
Daniel Gasienica
5789b3eb75
Add `Attachment.isVoiceMessage`
7 years ago
Scott Nonnenberg
322d307655
Turn on prettier support for markdown files, update all files
7 years ago
Daniel Gasienica
87d374ea78
Remove `@prettier` pragmas
7 years ago
Daniel Gasienica
1dd87ad197
Format all source code using Prettier
7 years ago
Scott Nonnenberg
82e2fe93a5
Show 'You' in Android theme quotes instead of contact name ( #2312 )
...
Show 'You' in Android theme quotes instead of contact name
7 years ago
Scott Nonnenberg
c5935eef5d
Show 'You' in Android theme quotes instead of contact name
7 years ago
Daniel Gasienica
c6599d2e14
Add another permutation of `EmptyState`
7 years ago
Daniel Gasienica
fa45656e8e
Wire up media gallery empty state
7 years ago
Daniel Gasienica
4d01264c09
Fix layout of media gallery
7 years ago
Daniel Gasienica
78f15b654d
Add `EmptyState` component
7 years ago
Daniel Gasienica
b3d0438537
Show hand cursor on media grid items
7 years ago
Daniel Gasienica
45d6c7a5a8
Implement video support in lightbox
7 years ago
Daniel Gasienica
b74b761255
Implement click to save for document list
7 years ago
Daniel Gasienica
b27fdd1559
Use `pointer` cursor for `DocumentListItem`
7 years ago
Daniel Gasienica
f8119be97b
Include videos in media gallery
7 years ago
Daniel Gasienica
37d73accde
Show ‘Documents’ tab
7 years ago
Daniel Gasienica
b65370c8d7
Prefer `GoogleChrome.is*` over `MIME.is*`
7 years ago
Daniel Gasienica
64c3d604aa
Fix type errors
7 years ago
Daniel Gasienica
cd6912f0dd
🎨 Autoformat code
7 years ago
Daniel Gasienica
59650035ec
Use 🇺🇸 spelling
7 years ago
Daniel Gasienica
feff820cd4
Prefer custom styles over `strong`
7 years ago
Daniel Gasienica
fca8de16c8
Add required `Message.id: string`
7 years ago
Daniel Gasienica
dd7e51e697
🎨 Fix formatting
7 years ago
Daniel Gasienica
6330a8d9f3
Simplify expression
7 years ago
Daniel Gasienica
f99e6306c3
Simplify `withSection`
7 years ago