Commit Graph

59 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 fbd51c2974
add buttons to display list of inputs + toast on empty 2021-10-14 14:12:08 +11:00
Audric Ackermann b85425ff83
make a draggable or in conversation call container 2021-10-05 16:44:42 +11:00
Audric Ackermann b05afc7c3f
make click outside of lightbox close the lightbox 2021-10-05 16:37:39 +11:00
Audric Ackermann 2e0cf0bca9
Fix video play lightbox autostart (#1920)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen

* Fix video autoplay start when not initialized

Relates #1904
2021-09-16 14:49:19 +10:00
audric 08cdd035ae disable transition for background of leftpane (for app initial load) 2021-09-01 15:25:34 +10:00
audric 350f00283b move tsx and theme to css variables part1 2021-08-31 13:58:34 +10:00
audric a30876fd65 removed the enum from SessionIconType. Just rely on the type itself 2021-08-30 17:57:31 +10:00
audric 8ebcb2d1e1 replace SessionIcon size enum with type 2021-08-30 14:02:15 +10:00
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
audric b83067d0ee onclick on video pause the video
Relates #1843
2021-08-11 14:10:09 +10:00
audric ce847db036 lint 2021-08-04 16:09:03 +10:00
audric 1fb3f74f6e disable drag on images 2021-08-04 15:39:14 +10:00
audric bea704ecf0 bump react to 17 2021-08-04 10:52:24 +10:00
Audric Ackermann 511adcf388
refactored right panel to hook 2021-07-14 13:56:13 +10:00
Audric Ackermann 5289d4c2aa
add joinable rooms on opengroupv2 joining screen 2021-04-29 10:43:14 +10:00
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann 050739b0ab
cleanup old blobs from time to time 2021-04-13 14:16:50 +10:00
Audric Ackermann ed30be5334
fix attachments loading for avatar and exporting files 2021-03-26 16:31:27 +11:00
Audric Ackermann def03c8baa
working encrypt/decrypt of attachments 2021-03-26 13:07:42 +11:00
Audric Ackermann 43ec14e741 Fix the password length limit when not setting a new password
Relates #1446
2021-01-27 11:00:32 +11:00
Audric Ackermann e38be266c2 major rework of session icon => make them styled with styled-component 2020-12-03 12:09:39 +11:00
Audric Ackermann 2ec337dd31
Add back ability to edit caption before sending attachments 2020-11-24 16:12:28 +11:00
Audric Ackermann fcf13c7467
relink lightbox from signal to our app 2020-10-19 15:23:35 +11:00
Audric Ackermann 6e07ee42f5
cleanup network status view and some UI constants 2020-10-13 13:57:43 +11:00
Audric Ackermann bbd16dbb54
fix size of dialog lightbox with big pictures 2020-07-28 15:12:34 +10:00
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 2019-03-12 17:44:14 -07:00
Scott Nonnenberg f5954db711 Ensure that multi-video lightbox scrolling changes video 2018-11-28 12:34:29 -08:00
Scott Nonnenberg 99252702e1 Support receiving multiple images in one messages 2018-11-26 15:26:04 -08:00
Scott Nonnenberg fa18e2ba77 LightBox: tslint exception for play() call which returns promise 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 7e2d7b5e60 Media Gallery: Support for dark theme 2018-07-17 17:15:34 -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 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
Daniel Gasienica 87d374ea78 Remove `@prettier` pragmas 2018-04-30 16:53:34 -04:00
Daniel Gasienica 9ca6fd6498 Center lightbox navigation controls 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 43e19f3b06 Prevent default event on icon button clicks 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 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 e97b078088 Use `componentWillUnmount` 2018-04-25 15:24:52 -04:00
Daniel Gasienica 6d5d0df1c0 🎨 Fix TSLint errors 2018-04-25 15:24:52 -04:00
Daniel Gasienica a7ed21a811 Add `shouldShowSaveAsButton` option 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