Commit graph

99 commits

Author SHA1 Message Date
Nolan Lawson
78014a7f33
fix: remove remount (#1688)
* fix: remove remount

* fixup
2019-12-23 18:10:03 -08:00
Nolan Lawson
22fd567eb1
fix: update emoji-mart, add dark mode and custom categories (#1686) 2019-12-23 11:53:44 -08:00
Nolan Lawson
fec0c282c9
fix: make autosuggest list appear over modal dialog (#1649)
fixes #1645
2019-11-23 13:21:21 -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
b8d9c29bac
perf: move async modules to individual files (#1611) 2019-10-29 18:58:49 -07: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
01b0c43f0d
fix: remove type="*" from videos (#1593) 2019-10-17 18:27:30 -07:00
Nolan Lawson
d663dd7fe8
fix: fix wasted space in options dialog (#1585)
fixes #1487
2019-10-15 19:35:00 -07:00
Nolan Lawson
67b71231d3
fix: use short usernames in options dialog (#1576) 2019-10-15 07:56:39 -07:00
Nolan Lawson
8fbf38e974
fix: fix video on iOS Safari (#1537)
* fix: fix video on iOS Safari

* add another missing type
2019-09-24 22:32:27 -07:00
Nolan Lawson
1bbe2a5612
fix: improve focus styles (#1526)
* fix: improve focus styles

* fixup
2019-09-24 00:50:35 -07:00
Nolan Lawson
91c491fd8d
fix: more CSS tweaks for very small screens (#1527) 2019-09-24 00:29:42 -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
41270f9210
fix: more fixes for tiny screen sizes (#1509) 2019-09-21 18:16:55 -07:00
Nolan Lawson
38b16c91d1
fix: improve style on very small mobile screens (#1505) 2019-09-21 13:45:48 -07:00
Nolan Lawson
6358af5d04
feat: add legacy build (#1502)
* feat: add legacy build

* service worker should also be in ES5

* fixup
2019-09-20 23:17:52 -07:00
Nolan Lawson
8035cb2580
fix: fix focal point on animated GIFs (#1484)
fixes #1483 for animated mp4s
2019-09-14 22:26:34 -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
26a036259e
chore: update standard (#1466) 2019-09-07 20:27:47 -07:00
Nolan Lawson
a0ad82d850
fix: Revert "fix: h2 in media edit dialog should be h1 (#1453)" (#1455)
This reverts commit 450785ea81.
2019-08-29 20:16:15 -07:00
Nolan Lawson
450785ea81
fix: h2 in media edit dialog should be h1 (#1453)
The dialog is in its own document, so the heading level should start
back at h1.
2019-08-29 20:13:20 -07:00
Nolan Lawson
7d4cb1914a
fix: make the OCR progress bar accessible (#1445)
* fix: make the OCR progress bar accessible

* fixup
2019-08-28 08:13:24 -07:00
Nolan Lawson
c8738f17b0
fix: add progress bar for OCR (#1444) 2019-08-27 23:23:35 -07:00
Nolan Lawson
f6981cff01
fix: improve style of focal/alt editor on mobile (#1439)
fixes #1438
2019-08-27 22:58:17 -07:00
Nolan Lawson
b46f76fbf8
fix: use url over id as media upload cache key (#1437) 2019-08-25 22:24:37 -07:00
Nolan Lawson
e2c137b2ef
fix: prefer local file URLs for OCR (#1436) 2019-08-25 21:48:59 -07:00
Nolan Lawson
cb12e05584
fix: tweak style of focal point coordinate inputs (#1435) 2019-08-25 18:33:50 -07:00
Nolan Lawson
ca9a32d303
feat: add OCR for image descriptions using tesseract.js (#1433)
* feat: add OCR for image descriptions using tesseract.js

* tweak style of alt editor

* remove unnecessary files
2019-08-25 18:33:44 -07:00
Nolan Lawson
bd2a7abe2a
fix: tweak backdrop filter in focal point editor (#1434) 2019-08-25 17:22:04 -07:00
Nolan Lawson
59d26f1a09
feat: add length gauge for media alt text editor (#1431)
* feat: add length gauge for media alt text editor

* fix test
2019-08-24 21:23:43 -07:00
Nolan Lawson
7f9195c2af
feat: combine alt/focal point into single "media edit" dialog (#1430)
* feat: combine alt/focal point into single "media edit" dialog

* resize text automatically
2019-08-24 19:28:12 -07:00
Nolan Lawson
4232da5e33 fix: fix lint 2019-08-19 20:23:58 -07:00
Nolan Lawson
b2d7fad435
perf: only update draggable x/y state at end of drag (#1379)
* perf: only update draggable x/y state at end of drag

This is more intelligent and more performant than using requestIdleCallback willy-nilly. We can just update the store when the user is actually done dragging the button.

* remove console.log

* consistent syntax
2019-08-07 20:38:01 -07:00
Nolan Lawson
a5f68aa45c
fix: make focal point button a bit larger (#1377)
* fix: make focal point button a bit larger

* make it a tad smaller
2019-08-07 09:11:52 -07:00
Nolan Lawson
d58ab52a09
fix: improve focal points draggable style/perf (#1371)
* fix: improve focal points draggable style/perf

* remove unnecessary global

* fix all the things

* fix comment
2019-08-04 13:31:51 -07:00
Nolan Lawson
00945a3608
chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
Nolan Lawson
fa57608056
fix: improve style of report dialog (#1345) 2019-07-19 20:08:26 -07:00
Nolan Lawson
a6235ded8c
fix: fix autosizing of delete/redraft (#1338)
fixes #1334
2019-07-17 21:34:53 -07:00
Nolan Lawson
ade28cca5d
fix: remove useless noop methods (#1325) 2019-07-08 19:26:37 -07:00
Nolan Lawson
68343a7a09
fix: use pure CSS for focus effect (#1323)
* fix: use pure CSS for focus effect

fixes #1322

* apply elsewhere too

* fix comment
2019-07-08 09:42:45 -07:00
Nolan Lawson
8f6681ad7a
fix: clicking outside image closes modal (#1312)
fixes #862
2019-07-07 14:51:08 -07:00
Nolan Lawson
85b75900c1
feat: add ability to set focal points for media (#1303)
* feat: add ability to set focal points for media

fixes #739

* fix tests

* actually fix tests

* really really fix tests

* really really really fix tests pinkie swear
2019-07-07 00:14:19 -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
codl
9149cbe76a fix report dialog not taking comments #1282 (#1283) 2019-06-19 23:00:38 -07:00
Nolan Lawson
9e6bc60abe
fix: improve focus style on dialog list item (#1208)
fixes #1201
2019-05-11 10:01:14 -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
Nolan Lawson
b13f0afc37
fix: fix autofocus in emoji dialog search (#1173) 2019-05-04 12:20:45 -07:00
Nolan Lawson
af9cad89d9
chore: update remount to v0.11.0 (#1171) 2019-05-01 18:57:41 -07:00
Nolan Lawson
1712081f0b
fix: fix profile clicks from compose dialog (#1160)
* fix: don't allow profile clicks from compose dialog

fixes #1159

* make the links work correctly in the modal

* fix tests
2019-04-20 09:12:30 -07:00