Commit Graph

186 Commits (b114f6ac75cc70c044ade52290ed6b69cad2e5b9)

Author SHA1 Message Date
Scott Nonnenberg ca61c9cb85 Warnings for dangerous files 7 years ago
Scott Nonnenberg 8f3e3b7aaf Update to new design for avatars: individual/group icons/colors
And two initials.
7 years ago
Scott Nonnenberg 10c53bddb0 Move to new colors, switch incoming/outgoing colors 7 years ago
sachaaaaa 22a86b5351 store key bundle status in conversation model 7 years ago
Scott Nonnenberg 9c399624cc Support for blocking groups on mobile, via group/blocked syncs 7 years ago
Scott Nonnenberg 8290146721 Show generic attachment for non-loading/too-large images/videos 7 years ago
Scott Nonnenberg 006700f9a2 Properly style countdown icon in iOS light/dark themes 7 years ago
Scott Nonnenberg 37f3054976 Both UI timer and database timer will remove expired message 7 years ago
Scott Nonnenberg b3d56276a8 Conversations now better take advantage of wide screens 7 years ago
Scott Nonnenberg fedfbed304 Copy quoted message contents into quote on receipt
Also:
  - visually distinguish any reference we couldn't verify on receipt
  - show toast on quote click if we can't scroll to message
  - toast visuals redesigned to match rest of app
7 years ago
Scott Nonnenberg a247ffe5cf When iOS device has been linked, use iOS color scheme 7 years ago
Scott Nonnenberg 727925a266 Clean up old messages, better handle errors from sending 7 years ago
Scott Nonnenberg b0b1e9b8e3 Message: video/image attachment borders inline, on top of image
Otherwise, its transparency will result in a distracting line between it
and its attached message bubble
7 years ago
Scott Nonnenberg 3b7ee3e2ce A couple copy changes: Show -> View, New Number -> Safety Number 7 years ago
Scott Nonnenberg 19ff050b3a Show 'Off' text when disappearing messages are turned off 7 years ago
Scott Nonnenberg 8b92e6112c Add dir='auto' to Message and Quote body for RTL languages 7 years ago
Scott Nonnenberg e80857562a Disappearing messages: show 'disabled' instead of 'set to off' 7 years ago
Scott Nonnenberg 7dd931fb7e ConversationHeader: centered title, ConvoListItem: unbold name 7 years ago
Scott Nonnenberg 5933a34a18 Use window.log in browser context, turn on console eslint rule 7 years ago
Scott Nonnenberg 643739f65d
Responding to feedback on the updated visuals (#2549)
* Conversation List Item: timestamp bold only when convo has unread

* Preserve the positioning of overlays on re-entry into convo

* ConversationListItem: Handle missing and broken thumbnails

* Shorten timestamp in left pane for better Android consistency

* Update convo last updated if last was expire timer change

But not if it was from a sync instead of from you or from a contact.

* Make links in quotes the same color as the text

* MediaGridItem: Update placeholder icon colors for dark theme

* Ensure turning off timer shows 'Timer set to off' in left pane

* ConversationListItem: Show unread count in blue circle

* Add one pixel margin to blue indicator for text alignment

* Ensure replies to voice message can bet sent successfully
7 years ago
Scott Nonnenberg 2384988b0a ConversationHeader: Ensure that profile has tilde before it 7 years ago
Scott Nonnenberg 4fa6a785f4 Remove unused code 7 years ago
Scott Nonnenberg 66bd6c826d Fix MediaGallery handling of videos - show thumbnail and overlay 7 years ago
Scott Nonnenberg 95976b10e7 Timestamp: Eliminate 'Invalid date' from potential output 7 years ago
Scott Nonnenberg 675e34fc8d New React component: ConversationListItem, installed in left pane
When collecting a conversation's last message, we grab that message's
status as well (if outgoing) and show it.
7 years ago
Scott Nonnenberg 7e2d7b5e60 Media Gallery: Support for dark theme 7 years ago
Scott Nonnenberg 3c69886320 Finish new Message component, integrate into application
Also:
- New schema version 8 with video/image thumbnails, screenshots, sizes
- Upgrade messages not at current schema version when loading messages
  to show in conversation
- New MessageDetail react component
- New ConversationHeader react component
7 years ago
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 8 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
8 years ago
Scott Nonnenberg 23586be6b0 Add emojification to contact names shown in quotes 8 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
8 years ago
Scott Nonnenberg d9e5338dff Refactor link/emoji/newline components for composability 8 years ago
Scott Nonnenberg a5416e42c4 Refactor all emoji utility methods into window.Signal.Emoji 8 years ago
Scott Nonnenberg a328a70ba2
Update React-based emoji handling to fix skin tone modifiers (#2399) 8 years ago
Scott Nonnenberg 4e5c8965ff Move to react for newlines, emoji, and links in message body 8 years ago
Scott Nonnenberg 8f934251ae Fix a few types: relax contact, Email->Phone 8 years ago
Scott Nonnenberg 8cb1f1f532 Fall back on givenName/familyName if no displayName/organization 8 years ago
Scott Nonnenberg eafa038ba4 Use backup labels if custom contact type labels are missing 8 years ago
Daniel Gasienica d349dd903d Add `AttachmentSection` to style guide 8 years ago
Daniel Gasienica 121bb0ecef Style guide: Fix empty state 8 years ago
Daniel Gasienica f19e6ea93d Wrap JSX siblings in container 8 years ago
Daniel Gasienica a8cd0b782e Rename `DocumentListItem::isLast` to `shouldShowSeparator` 8 years ago
Daniel Gasienica 05f67dc04a Hide separator for last document list entry 8 years ago
Scott Nonnenberg 1918a88722 Drop ifTruthy suffix 8 years ago
Scott Nonnenberg 1fd487be3f Refactor to remove duplicated code, lint/prettier fixes 8 years ago
Scott Nonnenberg 8beeef4d10 Show contact name when you reply to message with a contact 8 years ago
Scott Nonnenberg 37821e5a1b Wire up all contact behaviors, refactor Contact type/selector 8 years ago
Scott Nonnenberg 41be7f126b Visuals for embedded contacts as well as contact detail screen 8 years ago
Daniel Gasienica 38f3ad6518 Use `SignalService` vs `textsecure` for protobuf 8 years ago
Daniel Gasienica 5789b3eb75 Add `Attachment.isVoiceMessage` 8 years ago
Scott Nonnenberg 322d307655 Turn on prettier support for markdown files, update all files 8 years ago
Daniel Gasienica 87d374ea78 Remove `@prettier` pragmas 8 years ago
Daniel Gasienica 1dd87ad197 Format all source code using Prettier 8 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
8 years ago
Scott Nonnenberg c5935eef5d Show 'You' in Android theme quotes instead of contact name 8 years ago
Daniel Gasienica c6599d2e14 Add another permutation of `EmptyState` 8 years ago
Daniel Gasienica fa45656e8e Wire up media gallery empty state 8 years ago
Daniel Gasienica 4d01264c09 Fix layout of media gallery 8 years ago
Daniel Gasienica 78f15b654d Add `EmptyState` component 8 years ago
Daniel Gasienica b3d0438537 Show hand cursor on media grid items 8 years ago
Daniel Gasienica 45d6c7a5a8 Implement video support in lightbox 8 years ago
Daniel Gasienica b74b761255 Implement click to save for document list 8 years ago
Daniel Gasienica b27fdd1559 Use `pointer` cursor for `DocumentListItem` 8 years ago
Daniel Gasienica f8119be97b Include videos in media gallery 8 years ago
Daniel Gasienica 37d73accde Show ‘Documents’ tab 8 years ago
Daniel Gasienica b65370c8d7 Prefer `GoogleChrome.is*` over `MIME.is*` 8 years ago
Daniel Gasienica 64c3d604aa Fix type errors 8 years ago
Daniel Gasienica cd6912f0dd 🎨 Autoformat code 8 years ago
Daniel Gasienica 59650035ec Use 🇺🇸 spelling 8 years ago
Daniel Gasienica feff820cd4 Prefer custom styles over `strong` 8 years ago
Daniel Gasienica fca8de16c8 Add required `Message.id: string` 8 years ago
Daniel Gasienica dd7e51e697 🎨 Fix formatting 8 years ago
Daniel Gasienica 6330a8d9f3 Simplify expression 8 years ago
Daniel Gasienica f99e6306c3 Simplify `withSection` 8 years ago
Daniel Gasienica d98d08a7e0 Remove obsolete TODO 8 years ago
Daniel Gasienica 2e121310e4 🎨 Fix lint error 8 years ago
Daniel Gasienica 4d04638358 Document changes for MVP 8 years ago
Daniel Gasienica c3e04ecf87 Remove use of `LoadingIndicator` 8 years ago
Daniel Gasienica 6d5d0df1c0 🎨 Fix TSLint errors 8 years ago
Daniel Gasienica f240269d7b MVP: Only show images in media gallery 8 years ago
Daniel Gasienica b4e3749c88 MVP: Only show media tab
Until we support showing documents.
8 years ago
Daniel Gasienica 0d676a65b8 Open media gallery item in lightbox 8 years ago
Daniel Gasienica a9f7f18721 Add `ItemClickEvent` 8 years ago
Daniel Gasienica cb94d09ef9 Rename media gallery items 8 years ago
Daniel Gasienica 5d0469adef Skip loading videos into memory for performance 8 years ago
Daniel Gasienica 0a4be2e0f4 Remove unused `i18n` 8 years ago
Daniel Gasienica 4ce0472b9f Extract `Message.loadWithObjectURL` 8 years ago
Daniel Gasienica 45d89d1e44 Create `UserMessage` type
Describes user visible messages that can have attachments.
8 years ago
Daniel Gasienica 648a7ab1bb Autoformat using Prettier 8 years ago
Daniel Gasienica c46e1a1519 Move top-level functions to `Signal.Util` 8 years ago
Daniel Gasienica a609c31a57 Style attachment section headers 8 years ago
Daniel Gasienica b0fefdbb98 Implementing grouping messages by date 8 years ago
Daniel Gasienica 424965f876 🎨 Autoformat code 8 years ago
Daniel Gasienica f367a9b059 Move `private` method below `public` ones 8 years ago
Daniel Gasienica 3d70e46aea Calculate dates in UTC 8 years ago
Daniel Gasienica d7b21ef5dc Render attachments grouped by date 8 years ago
Daniel Gasienica e34347f290 Add `groupMessagesByDate` 8 years ago