1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-04 09:48:44 +09:00
YuruToot/app/javascript/mastodon/components
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
..
account.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
attachment_list.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
autosuggest_textarea.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
avatar_overlay.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
avatar.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
button.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
collapsable.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
column_back_button_slim.js Fix back button to never go to a different website using history len check 2017-07-07 05:59:15 -04:00
column_back_button.js Fix back button to never go to a different website using history len check 2017-07-07 05:59:15 -04:00
column_header.js New notification cleaning mode (#89) 2017-07-21 20:33:16 +02:00
column.js New notification cleaning mode (#89) 2017-07-21 20:33:16 +02:00
display_name.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
dropdown_menu.js Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
extended_video_player.js Quit overwriting style of extended-video-player (#4237) 2017-07-17 19:05:29 +02:00
icon_button.js Minor collapsing button improvements~ 2017-06-23 21:50:45 +00:00
load_more.js Small style fixes (#4206) 2017-07-14 22:31:25 +02:00
loading_indicator.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
media_gallery.js Merge changes from upstream with the CSS reload fix 2017-07-18 18:58:47 +02:00
missing_indicator.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
permalink.js Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
relative_timestamp.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
setting_text.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
status_action_bar.js Moved glitch containers and commented unused files 2017-07-13 02:40:16 -07:00
status_content.js Moved glitch containers and commented unused files 2017-07-13 02:40:16 -07:00
status_list.js Merge pull request #87 from tootsuite/master 2017-07-20 11:24:32 -04:00
status.js Moved glitch containers and commented unused files 2017-07-13 02:40:16 -07:00
video_player.js Moved glitch containers and commented unused files 2017-07-13 02:40:16 -07:00