mastodon/app/controllers
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
..
activitypub Minor ActivityPub JSON fixes (#4214) 2017-07-16 10:28:55 +02:00
admin Improve admin page (#4121) 2017-07-18 16:38:22 +02:00
api New notification cleaning mode (#89) 2017-07-21 20:33:16 +02:00
auth Add overview of active sessions (#3929) 2017-06-25 16:54:30 +02:00
concerns HTTP signatures (#4146) 2017-07-14 20:41:49 +02:00
oauth
settings Add feature to revoke sessions (#4259) 2017-07-19 04:59:04 +02:00
well_known Ensure well_known controllers use WEB_DOMAIN by including RoutingHelper (#2388) 2017-06-02 22:21:36 +02:00
about_controller.rb Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
account_follow_controller.rb
account_unfollow_controller.rb
accounts_controller.rb Correct OStatus inflection (Ostatus -> OStatus) (#4255) 2017-07-19 01:37:26 +02:00
application_controller.rb Fix #4058 - Use a long-lived cookie to keep track of user-level sessions (#4091) 2017-07-07 23:25:15 +02:00
authorize_follows_controller.rb Remote following success page (#4129) 2017-07-10 18:05:06 +02:00
follower_accounts_controller.rb Minor ActivityPub JSON fixes (#4214) 2017-07-16 10:28:55 +02:00
following_accounts_controller.rb Minor ActivityPub JSON fixes (#4214) 2017-07-16 10:28:55 +02:00
home_controller.rb Web Push Notifications (#3243) 2017-07-13 22:15:32 +02:00
manifests_controller.rb Fix #3063 - Add dynamic app manifest (#3563) 2017-06-06 19:29:42 +02:00
media_controller.rb Extract authorization policy for viewing statuses (#3150) 2017-05-29 18:22:22 +02:00
remote_follow_controller.rb Conditional validations no longer accept strings for if/unless (#3124) 2017-05-19 03:11:23 +02:00
statuses_controller.rb Improve ActivityPub representations (#3844) 2017-07-15 03:01:39 +02:00
stream_entries_controller.rb Correct OStatus inflection (Ostatus -> OStatus) (#4255) 2017-07-19 01:37:26 +02:00
tags_controller.rb Minor ActivityPub JSON fixes (#4214) 2017-07-16 10:28:55 +02:00