Scott Nonnenberg
0512d08d61
Disable emoji and sticker pickers if conversation has open panels
2019-11-15 14:34:24 -08:00
Scott Nonnenberg
01bf53776b
CompositionInput: Prevent ctrl+shift+m from adding a newline
2019-11-15 14:34:24 -08:00
Scott Nonnenberg
5750412fda
Hover/focus styles for embedded contacts, default action
2019-11-15 14:34:24 -08:00
Scott Nonnenberg
79b9408f1f
Message: Only focus if focus is not inside container already
2019-11-15 14:34:24 -08:00
Scott Nonnenberg
6b60ca6bd7
Handle Ctrl+/ in the application instead of via Electron
...
To prevent 'select all' on Linux.
2019-11-15 14:34:24 -08:00
Scott Nonnenberg
3c6e23cc5e
Shortcuts: Check for both capital and lowercase characters
2019-11-14 12:37:28 -08:00
Scott Nonnenberg
20a892247f
Keyboard shortcuts and accessibility
2019-11-13 16:53:42 -08:00
Scott Nonnenberg
8590a047c7
Change domain for sharing sticker packs
2019-11-13 19:12:36 -05:00
Ken Powers
430b6377b0
Trim text coming out of CompositionInput
2019-11-13 15:35:44 -08:00
Ken Powers
7064691696
Revert custom caret navigation logic
2019-11-12 15:44:41 -08:00
Scott Nonnenberg
08dbff803a
Update timer and group/profile icons
2019-11-11 13:03:15 -05:00
Ken Powers
bbb3b0467f
Ensure second line of message body is never visible in LeftPane
2019-11-06 15:32:40 -08:00
Ken Powers
0fc384cfa3
Fine-tune editing logic within message composition box
2019-11-06 15:29:19 -08:00
Ken Powers
8659f1dd23
Fix a number of emoji bugs in message composer
2019-10-31 12:32:10 -07:00
Ken Powers
94dde6f799
Trim text coming out of CompositionInput
2019-10-21 14:57:05 -07:00
Scott Nonnenberg
dd1f9b055f
New AvatarPopup component
2019-10-17 14:22:07 -04:00
Scott Nonnenberg
2e2c5ebf9a
When showing draft in left pane, don't show last message status
2019-10-10 14:56:14 -07:00
Scott Nonnenberg
c81c25bb85
Update colors, icons, and fonts
2019-10-10 14:56:14 -07:00
Scott Nonnenberg
5c00b89600
Support for receiving View Once Video
2019-10-10 14:56:14 -07:00
Scott Nonnenberg
8ccb89310b
New Idle timer; messages not marked read if user is idle
2019-09-24 13:43:08 -07:00
Scott Nonnenberg
43ac8ce37e
Lightbox: Ensure that click of video pauses it
2019-09-24 13:43:08 -07:00
Scott Nonnenberg
3215be7849
Add aria-live to network status area, left pane, and timeline
2019-09-18 16:08:46 -07:00
Scott Nonnenberg
18d6582466
SearchResults: Add row and header roles
2019-09-18 16:08:46 -07:00
Scott Nonnenberg
1984ffc94c
Timeline: Add role='row' to each element item rendered
2019-09-18 16:08:46 -07:00
Scott Nonnenberg
0e25b405e1
Timeline: Increase 'at bottom' threshold so we stick to bottom
2019-09-18 16:08:46 -07:00
Scott Nonnenberg
095cd884a2
Prevent >64k text in composition box; truncate too-large drafts
2019-09-16 15:47:52 -07:00
Scott Nonnenberg
e39c6e5321
Don't search conversations if searching within conversation
2019-09-05 08:59:21 -07:00
Ken Powers
e567e25318
Move expand composition area button into a notch
2019-09-04 12:02:28 -07:00
Ken Powers
1d3fe4bbf3
Split search actions between discussions and messages
2019-09-04 10:46:28 -04:00
Scott Nonnenberg
8fe73fa884
Timeline: Only call setIsNearBottom if value has changed
2019-09-03 16:06:17 -04:00
Scott Nonnenberg
979841f36c
Optimize scrolling: resize only changed row index and higher
2019-08-23 15:56:49 -04:00
Ken Powers
0beb1416d1
Only pop emoji autocomplete for strict set of characters
2019-08-22 14:34:03 -07:00
Scott Nonnenberg
b19659f5ac
Address beta feedback
...
* Use signal blue for search box focus outline
* Reduce debounce for draft saves
* Be less aggressive in our scrolling corrections
* Lightbox: Ensure that a tall image is still fully visible
* Fix spell checking after Electron API breaking changes
* Fix link preview image generation
* Message highlight: Move to border in signal blue
2019-08-22 17:11:36 -04:00
Ken Powers
eec0fce62a
Fix composition area link previews with multiline text
2019-08-22 13:42:03 -07:00
Scott Nonnenberg
90c2a97aa7
Address alpha feedback
2019-08-21 14:55:18 -07:00
Ken Powers
ea7d7217b5
Keyboard shortcut to toggle large composition mode
2019-08-21 14:55:12 -07:00
Scott Nonnenberg
0b0214cbf9
Some fixes for windowed render
2019-08-21 14:55:12 -07:00
Scott Nonnenberg
c39d5a811a
Full-text search within conversation
2019-08-21 14:52:30 -07:00
Scott Nonnenberg
6292019d30
Virtualize search results - only render what's visible
2019-08-21 14:52:30 -07:00
Scott Nonnenberg
9d4f2afa5a
Persist drafts
2019-08-21 14:52:30 -07:00
Scott Nonnenberg
5ebd8bc690
Virtualize Messages List - only render what's visible
2019-08-21 14:52:30 -07:00
Ken Powers
79bba52cfb
Large Message Composition
2019-08-21 14:52:30 -07:00
Ken Powers
4d659f69cb
Fix emoji autocompletion absorbing non-spaced emojis
2019-08-21 14:52:30 -07:00
Ken Powers
3946b5aec6
Fix ctrl-m shortcut for Windows and shift-del shortcut for Linux
2019-08-14 10:32:38 -07:00
Ken Powers
1c5450122f
Composition Input: use state ref
...
* Use editorStateRef for submitting messages
This fixes sending messages with IME input
* Use editorStateRef for emoji input
* Use editorStateRef for external state listeners
* Rename editorState to editorRenderState
2019-08-08 14:09:08 -07:00
Scott Nonnenberg
6b6da04a65
Fix clicks on sticker picker buttons to page left/right
2019-08-05 16:23:47 -07:00
Scott Nonnenberg
7f958b0ff0
Lint fixes
2019-08-05 16:23:47 -07:00
Ken Powers
6c0365a770
One emoji image set for picker, composition, message bubble
2019-07-25 09:28:44 -07:00
Ken Powers
464361b2eb
Animate in-conversation panels on show/hide
2019-07-25 09:24:03 -07:00
Ken Powers
c952d628c1
Emoji Typeahead Enhancements (Feedback)
...
* Wrap around completion menu with arrow keys
* Replace emoji text when typing final colon
2019-07-23 16:19:57 -07:00
Ken Powers
7b645011c2
New composition area with emoji typeahead
2019-07-17 11:29:51 -07:00
Scott Nonnenberg
e62a1a7812
Receive support for View Once photos
2019-07-17 11:29:51 -07:00
Buck Doyle
f2dd10cd1a
Update search for colon-syntax emoji to ignore case ( #3443 )
...
* Add tests for existing replaceColons functionality
* Update to lowercase before matching short names
* Update lib_test.ts
2019-07-08 16:38:25 -04:00
Scott Nonnenberg
1464167e6b
Lint fixes
2019-06-27 15:45:28 -07:00
Ken Powers
35b12d9b72
Preload emoji images in queue
2019-06-27 15:33:15 -07:00
Ken Powers
45f2bef8fe
Tokenize fuzzy search for emoji
2019-06-27 15:21:08 -07:00
Scott Nonnenberg
102b93241c
Only preload emoji after the window is fully loaded
2019-06-20 17:48:54 -07:00
Ken Powers
dcf6a5f59c
Use individual images in emoji picker rather than a spritesheet
2019-06-17 11:46:42 -07:00
Scott Nonnenberg
9fd867fdd1
Support new 'requiredProtocolVersion' in DataMessage
...
* Add new requiredProtocolVersion field to DataMessage
* Message.requiredProtocolVersion, warning if version mot supported
* Update strings; limit width; new left pane preview text
2019-06-10 17:40:02 -04:00
Ken Powers
f4cb1194c6
Tune emoji search
2019-06-06 11:43:03 -07:00
Ken Powers
d23efc6717
Send message when pressing enter in the emoji picker
2019-05-31 14:58:53 -07:00
Ken Powers
e688450f23
Don't convert emoji text unless the shortname is valid
2019-05-30 16:37:28 -07:00
Ken Powers
a934759e66
Maintain last-known cursor position for inserting emojis
2019-05-30 16:37:28 -07:00
Scott Nonnenberg
344885d8b1
Focus message box on emoji panel close, don't dismiss on shift
2019-05-30 12:43:18 -07:00
Ken Powers
feb4da874b
Enable keyboard navigation in EmojiPicker.
2019-05-30 12:43:18 -07:00
Ken Powers
67660e1e39
Use isShortName function
2019-05-30 12:43:18 -07:00
Scott Nonnenberg
99faac3549
Fix translation from :skin-tone-X: where X is greater than 1
2019-05-30 12:43:18 -07:00
Scott Nonnenberg
86a38d2f2b
Exclude invalid recent emoji, simplify items redux structure
2019-05-30 12:43:18 -07:00
Scott Nonnenberg
46b4cf56a3
Close sticker picker on Escape keyup
2019-05-30 12:43:18 -07:00
Scott Nonnenberg
020d78e62b
Remove borders from link preview small thumbnails
2019-05-30 12:43:18 -07:00
Scott Nonnenberg
8677e8376a
Hide blessed packs section if we don't have any blessed packs
2019-05-30 12:43:18 -07:00
Scott Nonnenberg
1730ca1a02
Clear sticker introduction tooltip on button click
2019-05-30 12:43:18 -07:00
Ken Powers
be5d0837f8
Support additional sticker states
...
Co-authored-by: scott@signal.org
Co-authored-by: ken@signal.org
2019-05-29 11:01:32 -07:00
Ken Powers
0e9d549cf3
Fuzzy-Searchable Emoji Picker
2019-05-24 17:03:13 -07:00
Ken Powers
29de50c12a
Stickers
...
Co-authored-by: scott@signal.org
Co-authored-by: ken@signal.org
2019-05-16 16:10:37 -07:00
Scott Nonnenberg
c41bc53614
Refactor messages model; New timeline react components
2019-05-16 15:23:21 -07:00
Scott Nonnenberg
d342b23cbc
Refactor: Prepare Message function props for conversation scope
2019-05-07 09:41:09 -07:00
sha-265
3e16ea7b32
Add RTL support for author name in quote ( #2594 )
2019-04-08 10:22:52 -07:00
Scott Nonnenberg
c1b680eeb4
Skip URLs that include the @ symbol when generating links
...
Thanks to mcsim for the bug report.
2019-03-20 13:53:54 -07:00
Scott Nonnenberg
230c6dc284
Fix vertical sizing of left pane when switching inbox<->archive
2019-03-14 17:30:46 -07:00
Scott Nonnenberg
8c4d90df07
Send long text as an attachment instead of inline
...
Remove Android length warning
Handle incoming long message attachments
Show long download pending status in message bubble
Fix the width of the smallest spinner
Remove Android length warning from HTML templates
2019-03-14 17:30:46 -07:00
Scott Nonnenberg
6ffbc0ac06
Archive Conversation
2019-03-12 17:44:14 -07:00
Scott Nonnenberg
d72f89d776
Render only visible conversations in left pane
2019-03-12 17:44:14 -07:00
Scott Nonnenberg
b3ac1373fa
Move left pane entirely to React
2019-03-12 17:44:14 -07:00
Scott Nonnenberg
bf904ddd12
On attachment save include date, include album index
2019-03-12 17:44:14 -07:00
Scott Nonnenberg
ae2db9f09a
Improve handling for URLs composed of mixed character sets
2019-03-12 17:44:14 -07:00
Scott Nonnenberg
9c540ab977
Add cache support to Signal Protocol Store
2019-02-13 16:04:58 -08:00
Scott Nonnenberg
1d2c3ae23c
Download attachments in separate queue from message processing
2019-02-12 16:34:21 -08:00
Scott Nonnenberg
a43a78731a
Note to Self
2019-02-12 16:08:51 -08:00
Scott Nonnenberg
813924685e
Link Previews
2019-01-29 13:53:14 -08:00
Scott Nonnenberg
51f1ef5725
Don't linkify quoted message contents
2019-01-29 13:53:14 -08:00
Scott Nonnenberg
0de54e125c
Improve caption editor usability, new 'add attachment' affordance
2019-01-15 10:51:49 -08:00
Scott Nonnenberg
cba47668cd
Increase contrast of typing indicator in iOS theme
2019-01-14 17:40:31 -08:00
Scott Nonnenberg
aab2a57b48
Some style and interaction fine-tuning
2019-01-14 17:40:31 -08:00
Scott Nonnenberg
a900792a06
Use thumbnails for smaller cells in image grids
2019-01-14 17:36:25 -08:00
Scott Nonnenberg
ba711d8985
Show just first image if we receive mixed multi-attachment msg
2019-01-14 17:36:25 -08:00
Scott Nonnenberg
52d3138958
Caption editor: add keyboard interaction, disable for single img
2019-01-14 17:36:25 -08:00
Scott Nonnenberg
6eb8f5680c
Preserve links with embedded emoji
2019-01-04 12:25:48 -08:00
Scott Nonnenberg
985b1d6aa6
New staged attachments UI, multiple image attachments per message
2019-01-04 12:21:26 -08:00
Scott Nonnenberg
f5954db711
Ensure that multi-video lightbox scrolling changes video
2018-11-28 12:34:29 -08:00
Scott Nonnenberg
79a861a870
Typing Indicators
2018-11-26 15:26:04 -08:00
Scott Nonnenberg
99252702e1
Support receiving multiple images in one messages
2018-11-26 15:26:04 -08:00
Scott Nonnenberg
a7d78c0e9b
Sealed Sender support
...
https://signal.org/blog/sealed-sender/
2018-10-29 14:49:18 -07:00
Scott Nonnenberg
7789beec64
Calculate warning properly for all methods of attachment download
2018-10-23 14:11:30 -07:00
Scott Nonnenberg
2b5f6d8b5e
Ensure that blue group avatars are preserved in dark theme
2018-10-18 15:41:05 -07:00
Scott Nonnenberg
fbaef50c4a
Android theme: Incoming quotes take color from containing message
2018-10-18 11:57:10 -07:00
Scott Nonnenberg
f21f83a163
Conversations have blue avatar backgrounds if no image provided
2018-10-18 11:39:23 -07:00
Scott Nonnenberg
bc0ec92ad2
Tests and increase consistency for isFileDangerous calls
2018-10-15 11:57:00 -07:00
Scott Nonnenberg
0850dc368a
Lint fixes
2018-10-11 12:24:58 -07:00
Scott Nonnenberg
7d9711ba65
Restore iOS-specific theme; colors on left in android theme
2018-10-11 11:42:18 -07:00
Scott Nonnenberg
ca61c9cb85
Warnings for dangerous files
2018-10-09 13:48:32 -07:00
Scott Nonnenberg
a8e12d0771
Add user's avatar to the top left of the screen
2018-10-01 18:18:37 -07:00
Scott Nonnenberg
8f3e3b7aaf
Update to new design for avatars: individual/group icons/colors
...
And two initials.
2018-10-01 18:18:37 -07:00
Scott Nonnenberg
cf16ced91c
Unread badge is now attached to avatar in left pane
2018-10-01 18:18:37 -07:00
Scott Nonnenberg
10c53bddb0
Move to new colors, switch incoming/outgoing colors
2018-10-01 18:18:37 -07:00
Scott Nonnenberg
9c399624cc
Support for blocking groups on mobile, via group/blocked syncs
2018-09-14 16:25:43 -07:00
Scott Nonnenberg
8290146721
Show generic attachment for non-loading/too-large images/videos
2018-09-05 17:48:43 -07:00
Scott Nonnenberg
006700f9a2
Properly style countdown icon in iOS light/dark themes
2018-08-16 16:55:55 -07:00
Scott Nonnenberg
37f3054976
Both UI timer and database timer will remove expired message
2018-08-15 17:45:24 -07:00
Scott Nonnenberg
b3d56276a8
Conversations now better take advantage of wide screens
2018-08-15 17:00:32 -07:00
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
2018-08-15 14:58:55 -07:00
Scott Nonnenberg
a247ffe5cf
When iOS device has been linked, use iOS color scheme
2018-08-15 11:22:45 -07:00
Scott Nonnenberg
727925a266
Clean up old messages, better handle errors from sending
2018-08-07 18:29:33 -07:00
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
2018-08-02 17:19:56 -07:00
Scott Nonnenberg
3b7ee3e2ce
A couple copy changes: Show -> View, New Number -> Safety Number
2018-08-01 11:59:49 -07:00
Scott Nonnenberg
19ff050b3a
Show 'Off' text when disappearing messages are turned off
2018-08-01 09:24:05 -07:00
Scott Nonnenberg
3105b77475
Migrate to SQLCipher for messages/cache
...
Quite a few other fixes, including:
- Sending to contact with no avatar yet (not synced from mobile)
- Left pane doesn't update quickly or at all on new message
- Left pane doesn't show sent or error status
Also:
- Contributing.md: Ensure set of linux dev dependencies is complete
2018-07-31 17:08:45 -07:00
Scott Nonnenberg
8b92e6112c
Add dir='auto' to Message and Quote body for RTL languages
2018-07-27 10:55:10 -07:00
Scott Nonnenberg
f38647dfa5
ContactListItem: Add spacing above and below (for 'show members')
2018-07-27 10:55:10 -07:00
Scott Nonnenberg
e80857562a
Disappearing messages: show 'disabled' instead of 'set to off'
2018-07-27 09:15:57 -07:00
Scott Nonnenberg
7dd931fb7e
ConversationHeader: centered title, ConvoListItem: unbold name
2018-07-27 09:15:57 -07:00
Scott Nonnenberg
5933a34a18
Use window.log in browser context, turn on console eslint rule
2018-07-21 14:52:43 -07:00
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
2018-07-20 16:37:57 -07:00
Scott Nonnenberg
2384988b0a
ConversationHeader: Ensure that profile has tilde before it
2018-07-18 19:41:16 -07:00
Scott Nonnenberg
fa18e2ba77
LightBox: tslint exception for play() call which returns promise
2018-07-18 19:40:07 -07:00
Scott Nonnenberg
4fa6a785f4
Remove unused code
2018-07-18 19:40:07 -07:00
Scott Nonnenberg
e90355dab5
Lightbox: Play video on open, play/pause on click of video itself
2018-07-18 19:40:07 -07:00
Scott Nonnenberg
66bd6c826d
Fix MediaGallery handling of videos - show thumbnail and overlay
2018-07-18 19:40:07 -07:00
Scott Nonnenberg
95976b10e7
Timestamp: Eliminate 'Invalid date' from potential output
2018-07-18 08:14:34 -07:00
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.
2018-07-17 20:25:55 -07:00
Scott Nonnenberg
7e2d7b5e60
Media Gallery: Support for dark theme
2018-07-17 17:15:34 -07:00
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
2018-07-17 15:58:07 -07:00
Scott Nonnenberg
43a44793c5
Remove jshint - move everything over to eslint
...
Also removed all hints of previous linters
2018-07-17 15:54:32 -07:00
Scott Nonnenberg
dc11db92f9
New React component: Message
...
Also: Use react to render contects on the 'show group members' screen
2018-07-17 15:53:33 -07:00
Scott Nonnenberg
445839770b
Fix width of message detail screen ( #2478 )
2018-06-21 12:02:50 -07:00
Scott Nonnenberg
9dedda84e2
Add style guide examples for ContactName and ConversationTitle
2018-05-23 16:26:47 -07:00
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
2018-05-23 16:26:47 -07:00
Scott Nonnenberg
23586be6b0
Add emojification to contact names shown in quotes
2018-05-23 16:26:47 -07:00
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
2018-05-23 16:26:47 -07:00
Scott Nonnenberg
d9e5338dff
Refactor link/emoji/newline components for composability
2018-05-23 16:26:47 -07:00
Scott Nonnenberg
a5416e42c4
Refactor all emoji utility methods into window.Signal.Emoji
2018-05-23 16:26:47 -07:00
Scott Nonnenberg
a328a70ba2
Update React-based emoji handling to fix skin tone modifiers ( #2399 )
2018-05-23 12:17:25 -07:00
Scott Nonnenberg
4e5c8965ff
Move to react for newlines, emoji, and links in message body
2018-05-14 16:09:37 -07:00
Scott Nonnenberg
8f934251ae
Fix a few types: relax contact, Email->Phone
2018-05-10 11:54:58 -07:00
Scott Nonnenberg
8cb1f1f532
Fall back on givenName/familyName if no displayName/organization
2018-05-10 11:54:58 -07:00
Scott Nonnenberg
eafa038ba4
Use backup labels if custom contact type labels are missing
2018-05-10 11:54:58 -07:00
Daniel Gasienica
d349dd903d
Add AttachmentSection
to style guide
2018-05-08 16:52:01 -04:00
Daniel Gasienica
121bb0ecef
Style guide: Fix empty state
2018-05-08 16:52:01 -04:00
Daniel Gasienica
f19e6ea93d
Wrap JSX siblings in container
2018-05-08 16:52:01 -04:00
Daniel Gasienica
a8cd0b782e
Rename DocumentListItem::isLast
to shouldShowSeparator
2018-05-08 16:52:01 -04:00
Daniel Gasienica
05f67dc04a
Hide separator for last document list entry
2018-05-08 16:41:07 -04:00
Daniel Gasienica
fd883b2896
Fix LightboxGallery
style guide entry
2018-05-08 16:41:07 -04:00
Daniel Gasienica
bfe7eb7d5e
Consolidate styles
2018-05-08 16:41:07 -04:00
Daniel Gasienica
90329a2764
Display icon for unsupported file formats
...
Still allows users to download media.
2018-05-08 16:41:07 -04:00
Scott Nonnenberg
1918a88722
Drop ifTruthy suffix
2018-05-08 09:54:28 -07:00
Scott Nonnenberg
1fd487be3f
Refactor to remove duplicated code, lint/prettier fixes
2018-05-07 19:30:50 -07:00
Scott Nonnenberg
f628df1035
Eliminate arrows in the standalone Lightbox component examples
2018-05-07 19:30:50 -07:00
Scott Nonnenberg
8beeef4d10
Show contact name when you reply to message with a contact
2018-05-07 19:30:50 -07:00
Scott Nonnenberg
30cb673405
Fix style guide for LightboxGallery component
2018-05-07 19:11:37 -07:00
Scott Nonnenberg
37821e5a1b
Wire up all contact behaviors, refactor Contact type/selector
2018-05-07 19:11:35 -07:00
Scott Nonnenberg
41be7f126b
Visuals for embedded contacts as well as contact detail screen
2018-05-07 19:09:55 -07:00
Daniel Gasienica
38f3ad6518
Use SignalService
vs textsecure
for protobuf
2018-05-07 21:53:39 -04:00
Daniel Gasienica
5789b3eb75
Add Attachment.isVoiceMessage
2018-05-07 21:53:39 -04:00
Scott Nonnenberg
322d307655
Turn on prettier support for markdown files, update all files
2018-05-01 16:06:57 -07:00
Daniel Gasienica
87d374ea78
Remove @prettier
pragmas
2018-04-30 16:53:34 -04:00
Daniel Gasienica
1dd87ad197
Format all source code using Prettier
2018-04-30 16:53:34 -04:00
Scott Nonnenberg
82e2fe93a5
Show 'You' in Android theme quotes instead of contact name ( #2312 )
...
Show 'You' in Android theme quotes instead of contact name
2018-04-30 13:49:19 -07:00
Scott Nonnenberg
c5935eef5d
Show 'You' in Android theme quotes instead of contact name
2018-04-30 12:33:16 -07:00
Daniel Gasienica
fccbf70d57
Pre-process media for LightboxGallery
2018-04-30 11:59:26 -04:00
Daniel Gasienica
c6599d2e14
Add another permutation of EmptyState
2018-04-30 11:01:00 -04:00
Daniel Gasienica
9ca6fd6498
Center lightbox navigation controls
2018-04-27 16:31:43 -04:00
Daniel Gasienica
fa45656e8e
Wire up media gallery empty state
2018-04-27 16:31:43 -04:00
Daniel Gasienica
4d01264c09
Fix layout of media gallery
2018-04-27 16:31:43 -04:00
Daniel Gasienica
78f15b654d
Add EmptyState
component
2018-04-27 16:31:43 -04:00
Daniel Gasienica
ea49f7a3b6
Implement keyboard navigation for Lightbox
2018-04-27 16:31:43 -04:00
Daniel Gasienica
e1b620602d
Display attachments from disk
2018-04-27 16:31:43 -04:00
Daniel Gasienica
407c77395b
Add explicit boolean
2018-04-27 16:31:43 -04:00
Daniel Gasienica
4c0c55082f
Move navigation controls to the bottom
2018-04-27 16:31:43 -04:00
Daniel Gasienica
fb8d4e2421
Implement basic lightbox with gallery support
2018-04-27 16:31:42 -04:00
Daniel Gasienica
43e19f3b06
Prevent default event on icon button clicks
2018-04-27 16:31:42 -04:00
Daniel Gasienica
b3d0438537
Show hand cursor on media grid items
2018-04-27 16:31:42 -04:00
Daniel Gasienica
45d6c7a5a8
Implement video support in lightbox
2018-04-27 16:31:42 -04:00
Daniel Gasienica
b74b761255
Implement click to save for document list
2018-04-27 16:31:42 -04:00
Daniel Gasienica
b27fdd1559
Use pointer
cursor for DocumentListItem
2018-04-27 16:31:42 -04:00
Daniel Gasienica
f8119be97b
Include videos in media gallery
2018-04-27 16:31:42 -04:00
Daniel Gasienica
37d73accde
Show ‘Documents’ tab
2018-04-27 16:31:42 -04:00
Daniel Gasienica
b65370c8d7
Prefer GoogleChrome.is*
over MIME.is*
2018-04-25 15:25:12 -04:00
Daniel Gasienica
64c3d604aa
Fix type errors
2018-04-25 15:24:52 -04:00
Daniel Gasienica
cd6912f0dd
🎨 Autoformat code
2018-04-25 15:24:52 -04:00
Daniel Gasienica
823a58f98a
Prevent NPE
2018-04-25 15:24:52 -04:00
Daniel Gasienica
96be0df8c7
Show lightbox controls based on presence of handlers
2018-04-25 15:24:52 -04:00
Daniel Gasienica
59650035ec
Use 🇺🇸 spelling
2018-04-25 15:24:52 -04:00
Daniel Gasienica
feff820cd4
Prefer custom styles over strong
2018-04-25 15:24:52 -04:00
Daniel Gasienica
fca8de16c8
Add required Message.id: string
2018-04-25 15:24:52 -04:00
Daniel Gasienica
dd7e51e697
🎨 Fix formatting
2018-04-25 15:24:52 -04:00
Daniel Gasienica
6330a8d9f3
Simplify expression
2018-04-25 15:24:52 -04:00
Daniel Gasienica
f99e6306c3
Simplify withSection
2018-04-25 15:24:52 -04:00
Daniel Gasienica
d98d08a7e0
Remove obsolete TODO
2018-04-25 15:24:52 -04:00
Daniel Gasienica
e97b078088
Use componentWillUnmount
2018-04-25 15:24:52 -04:00
Daniel Gasienica
2e121310e4
🎨 Fix lint error
2018-04-25 15:24:52 -04:00
Daniel Gasienica
4d04638358
Document changes for MVP
2018-04-25 15:24:52 -04:00
Daniel Gasienica
c3e04ecf87
Remove use of LoadingIndicator
2018-04-25 15:24:52 -04:00
Daniel Gasienica
6d5d0df1c0
🎨 Fix TSLint errors
2018-04-25 15:24:52 -04:00
Daniel Gasienica
f240269d7b
MVP: Only show images in media gallery
2018-04-25 15:24:51 -04:00
Daniel Gasienica
b4e3749c88
MVP: Only show media tab
...
Until we support showing documents.
2018-04-25 15:24:51 -04:00
Daniel Gasienica
60ed82b728
Show all lightbox controls in style guide
2018-04-25 15:24:51 -04:00
Daniel Gasienica
a7ed21a811
Add shouldShowSaveAsButton
option
2018-04-25 15:24:51 -04:00
Daniel Gasienica
0d676a65b8
Open media gallery item in lightbox
2018-04-25 15:24:51 -04:00
Daniel Gasienica
a9f7f18721
Add ItemClickEvent
2018-04-25 15:24:51 -04:00
Daniel Gasienica
d634a414c3
Make visibility of previous/next buttons opt-in
2018-04-25 15:24:51 -04:00
Daniel Gasienica
142236640e
Click lightbox to close
2018-04-25 15:24:51 -04:00
Daniel Gasienica
ce825fbd66
Rename save
to onSave
2018-04-25 15:24:51 -04:00
Daniel Gasienica
1b9e581e90
Show lightbox image as large as possible
2018-04-25 15:24:51 -04:00
Daniel Gasienica
2cb0b0aeb1
Add arrow controls
2018-04-25 15:24:51 -04:00
Daniel Gasienica
246e0ca87b
Add note about inline styles
2018-04-25 15:24:51 -04:00
Daniel Gasienica
d797ede791
Close lightbox on escape key press
2018-04-25 15:24:51 -04:00
Daniel Gasienica
86da80fd23
Wire up attachment saving
2018-04-25 15:24:51 -04:00
Daniel Gasienica
2474b42198
Port lightbox icon buttons
2018-04-25 15:24:51 -04:00
Daniel Gasienica
4a5a2cb5c1
Replace Backbone with React lightbox
2018-04-25 15:24:51 -04:00
Daniel Gasienica
cb94d09ef9
Rename media gallery items
2018-04-25 15:24:51 -04:00
Daniel Gasienica
5d0469adef
Skip loading videos into memory for performance
2018-04-25 15:24:51 -04:00
Daniel Gasienica
0a4be2e0f4
Remove unused i18n
2018-04-25 15:24:51 -04:00
Daniel Gasienica
4ce0472b9f
Extract Message.loadWithObjectURL
2018-04-25 15:24:51 -04:00
Daniel Gasienica
45d89d1e44
Create UserMessage
type
...
Describes user visible messages that can have attachments.
2018-04-25 15:24:51 -04:00
Daniel Gasienica
648a7ab1bb
Autoformat using Prettier
2018-04-25 15:24:51 -04:00
Daniel Gasienica
c46e1a1519
Move top-level functions to Signal.Util
2018-04-25 15:24:51 -04:00
Daniel Gasienica
a609c31a57
Style attachment section headers
2018-04-25 15:24:51 -04:00
Daniel Gasienica
b0fefdbb98
Implementing grouping messages by date
2018-04-25 15:24:51 -04:00
Daniel Gasienica
424965f876
🎨 Autoformat code
2018-04-25 15:24:51 -04:00
Daniel Gasienica
f367a9b059
Move private
method below public
ones
2018-04-25 15:24:51 -04:00
Daniel Gasienica
3d70e46aea
Calculate dates in UTC
2018-04-25 15:24:51 -04:00
Daniel Gasienica
d7b21ef5dc
Render attachments grouped by date
2018-04-25 15:24:51 -04:00
Daniel Gasienica
e34347f290
Add groupMessagesByDate
2018-04-25 15:24:51 -04:00
Daniel Gasienica
9053b6acfc
Remove unused style
2018-04-25 15:24:51 -04:00
Daniel Gasienica
66516fd36a
Use short format for dates
2018-04-25 15:24:51 -04:00
Daniel Gasienica
fc1c3aabf5
Add scaffolding for media gallery
2018-04-25 15:24:51 -04:00
Daniel Gasienica
32a3ef518b
Render media gallery placeholder panel
2018-04-25 15:24:50 -04:00
Daniel Gasienica
df2e6e7864
Port MIME
module to TypeScript
2018-04-25 15:24:50 -04:00
Scott Nonnenberg
ef1d568a80
Restore rendering of group update and end session messages
...
The previous work to refactor bubbles broke rendering for these message
types. :0/
2018-04-23 19:16:00 -07:00
Scott Nonnenberg
fdc13d0af3
Fix some tslint errors
...
I really need to get it running in my editor!
2018-04-20 16:19:53 -07:00
Scott Nonnenberg
bd88407b78
iOS theme: Permanant background to attachment part of bubble
...
(this is to handle a quote making bubble wider, but a narrow image)
2018-04-20 16:02:33 -07:00
Scott Nonnenberg
21713cbce7
Update quotes to render emoji just like normal messages
2018-04-20 15:24:05 -07:00
Scott Nonnenberg
37cac717cb
Use fit: cover for non-square thumbnails, better movie icon
...
Also: Match Android's X button in the quote composition area
2018-04-20 15:23:55 -07:00
Scott Nonnenberg
12257e1560
MessageView: Show menu w/ 'reply to message' on triple-dot click
2018-04-20 15:23:55 -07:00
Scott Nonnenberg
f4d9ab8ba0
Put quote preview in text box for Android, above it in iOS
2018-04-20 15:23:54 -07:00
Scott Nonnenberg
c71dcf0139
Show current quoted message above composition field
...
Note that substantial changes will be required for the updated Android
mockups, putting the quotation into the text box next to the attachment
preview.
2018-04-20 15:23:51 -07:00
Scott Nonnenberg
d29162f3b6
CSS Refactor: Pull quote CSS out from parent classes
...
This is to prepare for it to be shown in the message composition area.
2018-04-20 15:23:50 -07:00
Scott Nonnenberg
26e4e97592
Tighten up CSS
...
- Remove extra padding at top of Android bubbles, via sibling selector
- Don't include .attachments, .quote-wrapper, .content in bubble unless
we actually need them. This allows for sibling selectors.
- This is a different technique for adding the ReactWrapperView for
quotes - it is now appended to the DOM instead of attaching to
something already in the DOM. This allows us to use .remove(), so it's
a bit cleaner.
- Users of ReactWrapperView can now specify tagName and className
2018-04-20 15:23:47 -07:00
Scott Nonnenberg
a563dc8b37
Style Guide: Additional message examples, a few fixes to enable
2018-04-20 15:23:47 -07:00
Scott Nonnenberg
5af5bbdb0f
Add style guide examples for portrait/landscape images
2018-04-20 15:23:46 -07:00
Scott Nonnenberg
e3d15d80f6
Quote.md: Fix image example, add examples for attachment + reply
2018-04-16 13:02:51 -07:00
Scott Nonnenberg
7bd747a796
ConversationContext: conversationType => type
...
And a group conversation example to messages.md
2018-04-13 18:10:52 -07:00
Scott Nonnenberg
3bbbf65a6b
Fix iOS: tail, blue partial border, extra attachment space
...
Turns out that display: inline on the img tag resulted in a mysterious
3px of space added below it.
2018-04-13 18:10:52 -07:00
Scott Nonnenberg
c283ba1a12
Remove pointer cursor when clicking on quote won't do anything
2018-04-13 18:10:51 -07:00
Scott Nonnenberg
d91f40177e
Quote.tsx: Fix tslint errors
...
I really need to get tslint editor integration in place.
2018-04-13 18:10:50 -07:00
Scott Nonnenberg
a0b1dea693
Introduce a bit of color to the message/attachment style guide
2018-04-13 18:10:50 -07:00
Scott Nonnenberg
b458c7d449
android-dark: Constrain light play icon to with peer image
2018-04-13 18:10:49 -07:00
Scott Nonnenberg
bdaebc24ae
A few tweaks for the android-dark theme
2018-04-13 18:10:49 -07:00
Scott Nonnenberg
087dd0f758
Support for iOS theme
2018-04-13 18:10:49 -07:00
Scott Nonnenberg
644bc9e6fb
Fix problem of squished quote icons and images
2018-04-13 18:10:49 -07:00
Scott Nonnenberg
0f8dd7e2db
Fix a number of lint failures
2018-04-13 18:10:48 -07:00
Scott Nonnenberg
1cc0633786
Full support for quotations in Android theme
2018-04-13 18:10:48 -07:00
Scott Nonnenberg
21bf02c94d
Fixed examples in Quote.md, rough Android visuals
2018-04-13 18:05:44 -07:00
Scott Nonnenberg
6653123671
Move quote-related examples from Message.md to Quote.md
2018-04-13 18:05:44 -07:00
Scott Nonnenberg
b4ce79cac0
Reply -> Quote
2018-04-13 18:05:43 -07:00
Scott Nonnenberg
09c3fbc5e2
Style guide: All permutations of text reply to diff. quote types
2018-04-13 18:05:43 -07:00
Scott Nonnenberg
ae043bf239
In iOS theme, join attachment bubble with caption bubble
2018-04-13 18:05:42 -07:00
Scott Nonnenberg
3a76c3c86e
Styleguide: Incoming/outgoing attachments of all types
2018-04-13 18:05:42 -07:00
Daniel Gasienica
bcd3e26377
Fix TS warning about appendChild
2018-04-11 19:25:30 -04:00
Scott Nonnenberg
23537546fe
Big refactor: ts/ directory for all typescript, including react
...
Split out test-specific and general utility react components too.
And moved our test/legacy* files for the Style Guide into a styleguide/
subdirectory of test/.
I think we'll be able to live in this directory structure for a while.
2018-04-05 15:30:40 -07:00