Commit Graph

1629 Commits

Author SHA1 Message Date
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
greenkeeper[bot] 979bb4815f chore: Update stringz to the latest version 🚀 ()
* fix(package): update stringz to version 2.0.0

* chore(package): update lockfile yarn.lock
2019-05-26 09:37:11 -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 02689bec93
fix: change wording in show/hide sensitive media ()
fixes 
2019-05-25 13:20:52 -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 692e8b57c3
fix: separate "inline theme" from "default theme" () 2019-05-25 08:19:11 -07:00
Nolan Lawson d92bd2e94b
chore: update to esm 3.2.25 ()
* chore(package): update esm to version 3.2.25

* chore(package): update lockfile yarn.lock
2019-05-25 08:19:05 -07:00
greenkeeper[bot] 5178650e78 chore: Update rollup-plugin-terser to the latest version 🚀 ()
* fix(package): update rollup-plugin-terser to version 5.0.0

* chore(package): update lockfile yarn.lock
2019-05-25 08:16:27 -07:00
greenkeeper[bot] 9862858b2e chore: Update assert to the latest version 🚀 ()
* chore(package): update assert to version 2.0.0

* chore(package): update lockfile yarn.lock
2019-05-19 08:07:27 -07:00
Cătălin Mariș cdade05315 fix: use only one 180x180px touch icon ()
* Include just one 180x180px touch icon`.

  Over time as Apple released different size displays for their
  devices, the requirements¹ for the size of the touch icon have
  changed quite a bit:

   * 57×57px – iPhone with @1x display and iPod Touch
   * 72×72px – iPad and iPad mini with @1x display running iOS ≤ 6
   * 76×76px – iPad and iPad mini with @1x display running iOS ≥ 7
   * 114×114px – iPhone with @2x display running iOS ≤ 6
   * 120×120px – iPhone with @2x and @3x display running iOS ≥ 7
   * 144×144px – iPad and iPad mini with @2x display running iOS ≤ 6
   * 152×152px – iPad and iPad mini with @2x display running iOS 7
   * 180×180px – iPad and iPad mini with @2x display running iOS 8+

  However, most iOS users will be on the latest 2 versions² of iOS
  and using newer devices, so nowadays, one 180x180px touch icon is
  enough.

  Also, if needed, the icon will be automatically³ downscaled by
  Safari, and the result of the scaling is generally ok.

* Remove unneeded `sizes` attribute.

  When using only one touch icon there is no need to use the `sizes`
  attribute.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

¹ https://github.com/h5bp/html5-boilerplate/pull/1599#issuecomment-56384135
² https://developer.apple.com/support/app-store/
³ https://realfavicongenerator.net/blog/how-ios-scales-the-apple-touch-icon/

See also: https://mathiasbynens.be/notes/touch-icons
2019-05-13 21:45:38 -07:00
Nolan Lawson 9e6bc60abe
fix: improve focus style on dialog list item ()
fixes 
2019-05-11 10:01:14 -07:00
Nolan Lawson 5f01a1ba96
fix: don't autosuggest when text ends with punctuation () 2019-05-11 09:18:36 -07:00
Nolan Lawson 6aec213c3d 1.7.0 2019-05-11 08:26:38 -07:00
Nolan Lawson 867de5cc78
chore: update deps () 2019-05-11 08:13:30 -07:00
greenkeeper[bot] 77cae71568 chore: Update intersection-observer to the latest version 🚀 ()
* fix(package): update intersection-observer to version 0.7.0

* chore(package): update lockfile yarn.lock
2019-05-11 07:46:03 -07:00
Nolan Lawson 89a56678e1
fix: use fibonacci instead of exponential when streaming ()
I dunno if this will improve , but it at least aligns us with Mastodon's behavior.
2019-05-10 21:05:26 -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
sgenoud db0f5bf237 fix: Fix ios design issues ()
* Take into account the layout weirdness on iPhones

This makes the menu bar full screen in landscape mode and allow the
snackbar to have enough bottom padding

* Improve the icon for PWA

fixes 
2019-05-09 07:34:28 -07:00
Nolan Lawson 4432d49467
fix: fix style of snackbar on mobile () 2019-05-08 23:35:33 -07:00
Nolan Lawson 43baaf36ae
fix: close IDB connections when page is frozen ()
OK let's try this
2019-05-08 20:53:33 -07:00
Nolan Lawson 70da9a92a6
fix: close/open websocket on freeze/resume events ()
* fix: close/open websocket on freeze/resume events

attempt to address 

* fix unit tests
2019-05-08 19:58:32 -07:00
Nolan Lawson 0887196db4
feat: add snackbar alert with refresh button ()
* feat: add snackbar alert with refresh button

fixes 

* fixup

* change refresh to reload
2019-05-08 07:52:12 -07:00
Nolan Lawson c56d561e9d
fix: fix aria-hidden on toast ()
* fix: fix aria-hidden on toast

* fixup
2019-05-08 07:51:53 -07:00
Nolan Lawson 2425ca8f72
fix: make sure sapper crawls nofications/mentions () 2019-05-06 21:17:46 -07:00
Nolan Lawson de220e7262
fix: throttle XHRs from autosuggest ()
* fix: throttle XHRs from autosuggest

* throttle and abort properly

* add comment

* fix xhr bug
2019-05-06 20:29:43 -07:00
Nolan Lawson cef76e6bba
fix: fix flash of searched content in autosuggest () 2019-05-06 08:34:20 -07:00
Nolan Lawson 75c3060912
fix: fix autosuggested accounts order ()
new order is local first, followed by remote, and each sorted alphabetically
2019-05-06 08:34:12 -07:00
Nolan Lawson 2abe15cc6f
fix: fix autosuggest width on mobile ()
fixes 
2019-05-06 08:34:03 -07:00
Nolan Lawson d83062126a
fix: use inputmode=url for instance input () 2019-05-06 08:33:53 -07:00
Nolan Lawson 8d0db2c97c
fix: make autosuggestion accessible ()
* fix: make autosuggestion accessible

fixes 

* remove tabindexes, fix aria-hidden
2019-05-05 22:08:54 -07:00
Nolan Lawson 78715bc098
fix: do remote search when autosuggesting accounts ()
* fix: do remote search when autosuggesting accounts

fixes 

* fix emoji search
2019-05-05 19:16:02 -07:00
Nolan Lawson 3fa285447d
chore: update to mastodon v2.8.2 ()
* chore: update to mastodon v2.8.2

* fix test
2019-05-05 15:02:14 -07:00
Nolan Lawson c9d93cc44b
chore(package): update rollup to version 1.11.3 ()
* chore(package): update rollup to version 1.11.3

* chore(package): update lockfile yarn.lock
2019-05-05 15:02:03 -07:00
Nolan Lawson de9faf4678
fix: redesign tabs slightly () 2019-05-05 12:30:08 -07:00
Nolan Lawson 23bdc6c87e
feat: implement notification filters (all vs mentions) ()
fixes 
2019-05-04 17:58:44 -07:00
Nolan Lawson ff1e9e2c41
fix: add tooltip info on what an instance is () 2019-05-04 14:16:15 -07:00