Evan Hahn
8a72607fa7
Prefer type
to interface
and add an ESLint rule
2021-01-25 18:29:00 -08:00
Evan Hahn
abc21c8f45
Fix call header title for direct calls
2020-11-23 16:37:39 -05:00
Vin Howe
e398520db0
Fix MIME check for JPEG in lightbox copy handler ( #4643 )
...
* Fix MIME check for JPEG in lightbox copy handler
* Handle both image/jpeg and non-standard image/jpg
2020-11-23 14:44:19 -05:00
Evan Hahn
8bfaf598af
Add license headers across the project
2020-11-04 13:03:13 -06:00
Scott Nonnenberg
18c71b291c
Fix left pane draft display and GV2 typing indicators
2020-11-03 16:16:20 -08:00
Scott Nonnenberg
ab89c6c704
Lightbox.tsx: Fix formatting
2020-11-02 17:12:27 -08:00
Vin Howe
526ab4fe29
Add menu option for copying supported images in lightbox ( #4614 )
2020-11-02 16:47:46 -08:00
Scott Nonnenberg
4e223def29
Improved support for images with extreme ratios
2020-09-23 12:07:27 -04:00
Scott Nonnenberg
9f9ce91a9c
Allow for very tall portrait images in lightbox
2020-09-21 15:42:51 -04:00
Scott Nonnenberg
ec8ac1db58
Outgoing: Ensure that sends still succeed without CDS
2020-09-21 15:42:51 -04:00
Chris Svenningsen
b13dbcfa77
Migrate components to eslint
2020-09-21 15:42:50 -04:00
Chris Svenningsen
4b0c206128
Migrate Lightbox to Storybook
2020-08-28 15:42:24 -04:00
Ken Powers
8d4125f0a8
Lint fixes
2020-02-07 12:07:43 -08:00
Scott Nonnenberg
3938eb9801
A set of fixes and upgrades
...
* writeToDownloads: Add missing await
* Remove window.isFocused() - not used anywhere!
* Update typescript, p-queue, make necessary changes to fix build
* Slow down sender certificate retries with no existing cert
* Slow down signed prekey refreshes when unlinked - 5s -> 5m
* Update protobufjs to 4.1.2
2020-02-07 14:37:04 -05:00
Scott Nonnenberg
20a892247f
Keyboard shortcuts and accessibility
2019-11-13 16:53:42 -08: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
43ac8ce37e
Lightbox: Ensure that click of video pauses it
2019-09-24 13:43:08 -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
Scott Nonnenberg
e62a1a7812
Receive support for View Once photos
2019-07-17 11:29:51 -07: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
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