Commit graph

73 commits

Author SHA1 Message Date
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
Nolan Lawson
0649eee366
fix: fix dialogs within dialogs not opening (#1154)
* fix: fix dialogs within dialogs not opening

fixes #1153

* remove console logs
2019-04-14 19:47:30 -07:00
Nolan Lawson
ddd95aad27
fix: fix modal dialog width (#1152)
fixes #1151
2019-04-14 14:09:10 -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
8fc8108454
fix: back button dismisses the modal dialog (#826)
* fix: back button dismisses the modal dialog

fixes #60

* try to manage nested modals

* seems working now

* fix modal timing issue

* fix test flakiness

* improve test flakiness again

* fix muting timing issue

* Revert "fix muting timing issue"

* remove setTimeout from MediaDialog

* refactor
2019-03-24 15:08:34 -07:00
Nolan Lawson
059b455451
fix: fix and test shortcut keys in modals (#1115) 2019-03-23 18:16:06 -07:00
Nolan Lawson
90aab7f6af
fix: fix background on dark mode emoji (#1102)
fixes #1101
2019-03-17 12:37:26 -07:00
Nolan Lawson
880bc7a38a
perf: use a separate icons.svg file (#1067)
* perf: use a separate icons.svg file

This splits icons into inline and non-inline. The inline ones are high
priority; the rest go in an icons.svg file.

* create SvgIcon.html

* determine inlined svgs at build time
2019-03-02 19:02:06 -08:00
Nolan Lawson
c98619adac
fix: fix closing of account options dialog (#1060)
* fix: fix closing of account options dialog

fixes #1049

* fix lint
2019-02-28 20:49:09 -08:00
Nolan Lawson
b0aa86ef44
fix: fix undefined error in media dialog scroll (#1048) 2019-02-26 22:18:24 -08:00
Nolan Lawson
6708b06a59
chore(package): update dependencies (#1046) 2019-02-23 23:34:48 -08:00
Nolan Lawson
df8c49cb57
fix: fix /undefined request for gifv (#1044)
* fix: fix /undefined request for gifv

fixes #1042 for real this time

* use poster instead
2019-02-23 19:26:06 -08:00
Nolan Lawson
e3888586bb
fix: fix /undefined request for video poster (#1043)
fixes #1042
2019-02-23 18:42:19 -08:00
Nolan Lawson
a63e85bf30
feat: report an account or toots (#1016)
fixes #736
2019-02-18 19:55:44 -08:00
Nolan Lawson
d665134d66
refactor: refactor dialogs (#1015) 2019-02-18 16:27:59 -08:00
Nolan Lawson
7a152fbdac
feat: allow muting notifications when muting (#1013)
fixes #738
2019-02-18 15:43:41 -08:00
Nolan Lawson
1b9d3b1cd0
feat: implement Web Share API (#991)
fixes #990
2019-02-14 21:26:28 -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