Nolan Lawson
a318746961
chore: update dev dependencies ( #2200 )
2022-11-18 09:32:31 -08:00
Nolan Lawson
16e66346d7
fix!: remove esm package, use native Node ES modules ( #2064 )
...
BREAKING CHANGE: Node v12.20+, v14.14+, or v16.0+ is required
* fix!: remove esm package, use native Node ES modules
* fix: fix some CJS imports
2021-07-04 20:19:04 -07:00
Nolan Lawson
0022286b46
fix: first stab at i18n, extract English strings, add French ( #1904 )
...
* first attempt
* progress
* working
* working
* test timeago
* rm
* get timeago working
* reduce size
* fix whitespace
* more intl stuff
* more effort
* more work
* more progress
* more work
* more intl
* set lang=LOCALE
* flatten
* more work
* add ltr/rtl
* more work
* add comments
* yet more work
* still more work
* more work
* fix tests
* more test and string fixes
* fix test
* fix test
* fix test
* fix some more strings, add test
* fix snackbar
* fix }
* fix typo
* fix english
* measure perf
* start on french
* more work on french
* more french
* more french
* finish french
* fix some missing translations
* update readme
* fix test
2020-11-29 14:13:27 -08:00
Nolan Lawson
4221ce1c72
fix: media nav buttons should be a list ( #1648 )
...
More work on #1633 , improves accessibility of the media nav buttons by cleaning up the list and labels a bit.
2019-11-23 11:25:42 -08:00
Nolan Lawson
edc014cf8c
fix: more consistent toggle button aria-label/title ( #1626 )
...
* fix: more consistent toggle button aria-label/title
fixes #1624
* fixup
* fix test
2019-11-09 17:25:26 -05:00
Nolan Lawson
7c04b86405
fix: use smooth scroll polyfill in Chrome for scroll-to-top ( #1601 )
...
* fix: use smooth scroll polyfill in Chrome for scroll-to-top
* rename thunk to __thunk__ for safety
2019-10-24 19:03:10 -07:00
Nolan Lawson
3d58c86963
feat: left/right keys can change columns or focus ( #1516 )
...
* feat: left/right keys can change columns or focus
* fixup
* fixup, add tests
2019-09-22 23:53:29 -07:00
Nolan Lawson
dbb746ff34
fix: media modal uses full height on mobile ( #1481 )
...
fixes #1465
2019-09-13 22:11:22 -07:00
Nolan Lawson
00945a3608
chore: update standard to v13 ( #1370 )
2019-08-03 13:49:37 -07:00
Nolan Lawson
8f6681ad7a
fix: clicking outside image closes modal ( #1312 )
...
fixes #862
2019-07-07 14:51:08 -07:00
Nolan Lawson
d31f2ce010
feat: add support for audio attachments ( #1293 )
...
This is a new thing in Mastodon v2.9. I kept the "camera" icon because I like it better than the paperclip, and I think it covers the 99% use case.
2019-06-23 09:41:31 -07:00
Nolan Lawson
b7b9758445
fix: fix some dialog state issues ( #1203 )
...
* fix: fix some dialog state issues
fixes #1202
* fix console logs
2019-05-09 20:34:45 -07:00
sgenoud
79184570b1
fix: Manage the width to take scrollbars into account ( #1138 )
...
* Manage the width to take scrollbars into account
* Additional modal layout styles changes
2019-04-13 11:02:25 -07:00
Nolan Lawson
059b455451
fix: fix and test shortcut keys in modals ( #1115 )
2019-03-23 18:16:06 -07:00
Nolan Lawson
b0aa86ef44
fix: fix undefined error in media dialog scroll ( #1048 )
2019-02-26 22:18:24 -08:00
Nolan Lawson
795999e5ac
perf: use keyed each for media ( #963 )
2019-02-10 13:27:29 -08:00
Nolan Lawson
fdcaa864af
fix: allow right-click to save image ( #962 )
...
fixes #961
2019-02-10 13:03:24 -08:00
Nolan Lawson
56f5a45221
fix: fix aria-hidden on hidden icons ( #957 )
2019-02-09 19:05:59 -08:00
Nolan Lawson
2884955d67
fix: carousel should use ul/li for a11y ( #956 )
2019-02-09 18:06:58 -08:00
Nolan Lawson
135fb24873
fix indicator button size on small screens ( #954 )
2019-02-09 15:25:30 -08:00
Nolan Lawson
e82066dcc2
fix: fix scroll-snap in firefox when scrolling manually ( #953 )
2019-02-09 14:31:49 -08:00
Nolan Lawson
73eb9fba2c
fix: fix carousel and scrollbars for edge browser ( #952 )
2019-02-09 12:01:29 -08:00
Nolan Lawson
157f5db690
fix: fix zoomable videos ( #947 )
...
fixes #946
2019-02-06 21:00:30 -08:00
Nolan Lawson
10b14abcdb
fix: tweak carousel to show button change sooner ( #940 )
2019-02-05 09:54:38 -08:00
Nolan Lawson
e17d3974d5
fix: add label to dummy icon to prevent svelte warning ( #936 )
2019-02-03 14:47:14 -08:00
Nolan Lawson
6d2b3ec072
feat: add pinch-zoom to media dialog ( #933 )
...
* feat: add pinch-zoom to media dialog
* fix zoom buttons
2019-02-03 12:33:15 -08:00
Nolan Lawson
4c430bd1c9
fix: remove dead code from MediaDialog ( #934 )
2019-02-03 11:56:27 -08:00
Ivan Kupalov
437236bf3c
feat: Add shortcuts to the media dialog ( #930 )
...
* Add shortcuts to the media dialog
* fix: unify logic for next/prev buttons and keyboard shortcuts
* fix: add info about left/right shortcuts
2019-02-03 11:56:07 -08:00
Nolan Lawson
84e9bfc8e5
fix: fix rounding of scroll math on Safari ( #932 )
2019-02-03 11:10:58 -08:00
Nolan Lawson
9231e66612
fix: fix pressed color on media dialog buttons ( #931 )
2019-02-03 11:10:52 -08:00
Nolan Lawson
9d594f0bac
feat: add carousel for media modal ( #928 )
2019-02-02 23:03:40 -08:00