nyastodon/app/javascript/mastodon
Ondřej Hruška 604654ccb4 New notification cleaning mode (#89)
This PR adds a new notification cleaning mode, super perfectly tuned for accessibility, and removes the previous notification cleaning functionality as it's now redundant.

* w.i.p. notif clearing mode

* Better CSS for selected notification and shorter text if Stretch is off

* wip for rebase ~

* all working in notif clearing mode, except the actual removal

* bulk delete route for piggo

* cleaning + refactor. endpoint gives 422 for some reason

* formatting

* use the right route

* fix broken destroy_multiple

* load more notifs after succ cleaning

* satisfy eslint

* Removed CSS for the old notif delete button

* Tabindex=0 is mandatory

In order to make it possible to tab to this element you must have tab index = 0. Removing this violates WCAG and makes it impossible to use the interface without good eyesight and a mouse. So nobody with certain mobility impairments, vision impairments, or brain injuries would be able to use this feature if you don't have tabindex=0

* Corrected aria-label

Previous label implied a different behavior from what actually happens

* aria role localization & made the overlay behave like a checkbox

* checkboxes css and better contrast

* color tuning for the notif overlay

* fanceh checkboxes etc and nice backgrounds

* SHUT UP TRAVIS
2017-07-21 20:33:16 +02:00
..
actions New notification cleaning mode (#89) 2017-07-21 20:33:16 +02:00
components New notification cleaning mode (#89) 2017-07-21 20:33:16 +02:00
containers Merge changes from upstream with the CSS reload fix 2017-07-18 18:58:47 +02:00
features New notification cleaning mode (#89) 2017-07-21 20:33:16 +02:00
locales Merge pull request #87 from tootsuite/master 2017-07-20 11:24:32 -04:00
middleware Remove unused variables (#3906) 2017-06-23 16:05:04 +02:00
reducers New notification cleaning mode (#89) 2017-07-21 20:33:16 +02:00
selectors refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
service_worker feat(push-notifications): Open link in current tab if possible (#4228) 2017-07-18 00:19:17 +02:00
store refactor: Make all reducers sync (#4125) 2017-07-09 12:16:08 +02:00
.gitkeep Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
api.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
base_polyfills.js Lazy load toots using IntersectionObserver (#3191) 2017-05-24 17:55:00 +02:00
emoji.js feat(emoji): Add back title attribute (#4253) 2017-07-18 22:49:24 +02:00
emojione_light.js feat(emoji): Add back title attribute (#4253) 2017-07-18 22:49:24 +02:00
extra_polyfills.js Add object-fit polyfill for Edge (#4182) 2017-07-14 01:59:34 +02:00
is_mobile.js Use Redux store to keep track of layout 2017-06-24 18:30:30 -07:00
link_header.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
load_polyfills.js Add object-fit polyfill for Edge (#4182) 2017-07-14 01:59:34 +02:00
main.js Merge changes from upstream with the CSS reload fix 2017-07-18 18:58:47 +02:00
performance.js Attach ReactPerf to window for easier debugging (#3318) 2017-05-25 21:14:40 +02:00
ready.js Do not load unnecessary script files (#4193) 2017-07-14 11:08:56 +02:00
rtl.js Improve RTL detection (#3682) 2017-06-10 15:06:50 +02:00
scroll.js Allow mounting arbitrary columns (#3207) 2017-06-04 01:39:38 +02:00
stream.js Use ws protocol in streaming API base URL (#2606) 2017-05-04 15:55:13 +02:00
uuid.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
web_push_subscription.js Web Push Notifications (#3243) 2017-07-13 22:15:32 +02:00