Commit graph

175 commits

Author SHA1 Message Date
Nolan Lawson b2d7fad435
perf: only update draggable x/y state at end of drag ()
* 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 ()
* fix: make focal point button a bit larger

* make it a tad smaller
2019-08-07 09:11:52 -07:00
Nolan Lawson 87bab8662c
perf: use requestPostAnimationFrame to reduce layout thrashing () 2019-08-07 09:11:34 -07:00
Nolan Lawson 98e02cf650
perf: avoid measureText() where possible () 2019-08-07 09:11:15 -07:00
Nolan Lawson d58ab52a09
fix: improve focal points draggable style/perf ()
* 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 () 2019-08-03 13:49:37 -07:00
Nolan Lawson 734d1d7bbd
fix: fix useless nav-indicator-key attribute () 2019-07-21 19:31:19 -07:00
Louise de Beaufort 53f0fdf1a8 fix: Fix the style of blockquotes, ul and li in toots ()
* Fix the style of blockquotes, ul and li in toots

* fixup based on review comments

fixes 
2019-07-21 15:31:05 -07:00
Nolan Lawson fa57608056
fix: improve style of report dialog () 2019-07-19 20:08:26 -07:00
Nolan Lawson a6235ded8c
fix: fix autosizing of delete/redraft ()
fixes 
2019-07-17 21:34:53 -07:00
Nolan Lawson ade28cca5d
fix: remove useless noop methods () 2019-07-08 19:26:37 -07:00
Nolan Lawson 68343a7a09
fix: use pure CSS for focus effect ()
* fix: use pure CSS for focus effect

fixes 

* apply elsewhere too

* fix comment
2019-07-08 09:42:45 -07:00
Nolan Lawson 7fd6cdc22c
fix: fix event propagation for click delegates ()
fixes 
2019-07-07 17:32:50 -07:00
Nolan Lawson 8f6681ad7a
fix: clicking outside image closes modal ()
fixes 
2019-07-07 14:51:08 -07:00
Nolan Lawson 9fd5c8f6d2
fix: focal point should be only visible for images () 2019-07-07 13:24:49 -07:00
Nolan Lawson 19566bda2e
fix: use focusin/focusout instead of custom events () 2019-07-07 11:43:35 -07:00
Nolan Lawson e5125a5a63
fix: fix poll color inside of notifications ()
fixes 
2019-07-07 11:06:52 -07:00
Nolan Lawson 85b75900c1
feat: add ability to set focal points for media ()
* feat: add ability to set focal points for media

fixes 

* 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 ()
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 () 2019-06-19 23:00:38 -07:00
Nolan Lawson 6980083ed0
fix: push subscriptions per instance ()
* fix: push subscriptions per instance

fixes 

* fixup

* add notice about one push notification per instance at a time
2019-06-19 23:00:27 -07:00
Nolan Lawson c397753ddb
fix: Esc key dismisses tooltip ()
fixes 
2019-06-03 19:31:00 -07:00
Nolan Lawson 58a8772edc
perf: lazy-load the ComposeBox () 2019-06-01 17:01:50 -07:00
Nolan Lawson f5c7bc790f
fix: fix compose toolbar on iphone 4 again () 2019-06-01 14:27:50 -07:00
Nolan Lawson a35f5ee2d9
feat: implement wellness settings ()
* implement wellness settings

fixes 

Adds
- grayscale mode (as well as separate grayscale/dark grayscale
themes)
- disable follower/boost/fav counts (follower counts capped at 10)
- disable unread notification count (red dot)

* fix lint

* fix crawler
2019-06-01 13:07:31 -07:00
Nolan Lawson fcf64c2169
fix: fix "Show more" button in Notifications timeline when filtered () 2019-05-29 18:48:59 -07:00
Nolan Lawson 45630c185f
feat: add option to disable infinite scroll ()
* feat: add option to disable infinite scroll

fixes  and fixes . Also makes me less nervous about  because now keyboard users can disable infinite load and easily access the "reload" button in the snackbar footer.

* fix test
2019-05-28 22:46:01 -07:00
Nolan Lawson 44a87dcd9a
fix: fix compose button toolbar style on small devices () 2019-05-28 22:24:22 -07:00
Nolan Lawson 8672ade314
fix: unescape html in card titles/descriptions () 2019-05-28 22:24:16 -07:00
Nolan Lawson 34e82cbaf2
fix: statuses in own thread should not have cursor:pointer () 2019-05-27 17:38:59 -07:00
Nolan Lawson f1857cb86e
fix: improve color contrast of dark themes () 2019-05-27 17:01:53 -07:00
Nolan Lawson 3a7d6d3552
fix: add <select> aria-label, remove unnecessary aria-labelledby () 2019-05-27 12:31:59 -07:00
Nolan Lawson 12179505e1
fix: improve UI/a11y of media upload () 2019-05-27 12:31:49 -07:00
Nolan Lawson 482ee3d3bb
fix: improve media upload a11y ()
use ul/li instead of divs here
2019-05-27 12:31:42 -07:00
Nolan Lawson 37d3cac7d2
fix: add tests for polls, improve a11y of poll form () 2019-05-27 12:31:35 -07:00
Nolan Lawson b45868bbfd
fix: poll button label is backwards () 2019-05-27 01:05:55 -07:00
Nolan Lawson 6efc28aac8
fix: fix reduceMotion of svelte slide transition ()
fixes 
2019-05-27 00:24:57 -07:00
Nolan Lawson 0878275ab9
feat: ability to create polls ()
* feat: ability to create polls

fixes 

* fix adds and deletes

* fix tests

* fix tests again
2019-05-27 00:24:47 -07:00
Nolan Lawson 2c1de66592
feat: vote on polls ()
more work on 
2019-05-26 20:45:42 -07:00
Nolan Lawson 45441d3a9e
fix: show poll results, time remaining, allow refresh ()
more work towards 
2019-05-26 18:48:04 -07:00
Nolan Lawson dac4b493c8
fix: poll for updates to timeago displays ()
* fix: poll for updates to timeago displays

* code cleanup

* avoid some recomputes

* avoid costly recomputes
2019-05-26 16:01:14 -07:00
Nolan Lawson bf640b9b0f
fix: fix unread notifications badge for filters ()
fixes 
2019-05-26 16:01:06 -07:00
Nolan Lawson 8f477eeccb
feat: add poll notifications ()
more work on 
2019-05-26 09:54:35 -07:00
Nolan Lawson 12c5b732ae
feat: add poll result push notifications ()
fixes one of the sub-tasks in .

I also went ahead and removed the reply feature, because I cannot get it to work in Android 6.0.1 and I can't find any documentation for it in W3C/WHATWG, so I'm not sure how it is supposed to work.
2019-05-25 15:20:09 -07:00
Nolan Lawson a17948cf99
feat: add home/notification filter settings ()
Fixes 
Fixes 
2019-05-25 13:21:36 -07:00
Nolan Lawson 92bff6caaa
fix: minor tweaks to PushNotificationSettings () 2019-05-25 13:21:17 -07:00
Nolan Lawson c18168d913
fix: tweak poll results style and fix a11y () 2019-05-25 13:20:45 -07:00
sgenoud af955492e8 feat: Add poll results to a status () 2019-05-25 08:36:44 -07:00
Nolan Lawson 9e6bc60abe
fix: improve focus style on dialog list item ()
fixes 
2019-05-11 10:01:14 -07:00
Nolan Lawson b7b9758445
fix: fix some dialog state issues ()
* fix: fix some dialog state issues

fixes 

* fix console logs
2019-05-09 20:34:45 -07:00