Commit Graph

78 Commits

Author SHA1 Message Date
Audric Ackermann cf44896a03
Minor call tweaks (#2051)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
2021-11-29 17:40:46 +11:00
Audric Ackermann 4ce1b7813a
add data-testid for leftpane sections and edit profile dialog 2021-11-18 11:36:14 +11:00
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
audric 1fb3f74f6e disable drag on images 2021-08-04 15:39:14 +10:00
Audric Ackermann 9a380b716b
put saveAttachemntToDisk outside of component 2021-07-14 15:57:03 +10:00
Audric Ackermann 5c8bb358c6
mmeoise callbacks for right panel attachments 2021-07-14 14:39:19 +10:00
Audric Ackermann 511adcf388
refactored right panel to hook 2021-07-14 13:56:13 +10:00
Audric Ackermann c8aa73626e
do not load right panel data unless it is visibl 2021-07-06 14:02:47 +10:00
Audric Ackermann dd9341a196
remove i18n from props everywhere where possible 2021-06-16 15:37:02 +10:00
Audric Ackermann 810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats 2021-06-01 10:08:16 +10:00
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann def03c8baa
working encrypt/decrypt of attachments 2021-03-26 13:07:42 +11:00
Audric Ackermann 3e56eb6133
add beta german translation copy pasted from android 2020-08-05 16:58:36 +10:00
Vincent cf46548761 Simplification of keyup 2020-01-30 13:24:20 +11:00
Vincent f55e20d8ac Cleanup media view formatting 2020-01-30 12:03:43 +11:00
Audric Ackermann 213db6c1ed fix lint 2020-01-16 11:27:29 +11:00
Audric Ackermann ddaf62a499 add group settings page with media downladable and docs only 2020-01-16 11:27:29 +11:00
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 2019-03-12 17:44:14 -07:00
Scott Nonnenberg 99252702e1 Support receiving multiple images in one messages 2018-11-26 15:26:04 -08:00
Scott Nonnenberg 8290146721 Show generic attachment for non-loading/too-large images/videos 2018-09-05 17:48:43 -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 4fa6a785f4 Remove unused code 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 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 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
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 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 c6599d2e14 Add another permutation of `EmptyState` 2018-04-30 11:01:00 -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 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 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