forgejo/web_src/js
wxiaoguang 694441fec5
Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861)
* Remove customized (unmaintained) dropdown, improve aria a11y for dropdown

* fix repo permission

* use action instead of onChange

* re-order the CSS selector

* fix dropdown behavior for repo permissions, make elements inside menu item non-focusable

* use menu/menuitem instead of combobox/option. use tooltip(data-content) for aria-label, prevent from repeated attaching

* click menu item when pressing Enter

* code format

* fix repo permission

* repo setting: prevent from misleading users when error occurs

* fine tune the repo collaboration access mode dropdown (in case the access mode is undefined in the template)

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-06-03 17:38:26 -04:00
..
components Use Vue to refactor pull merge UI (#19650) 2022-05-12 21:39:02 +08:00
features Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861) 2022-06-03 17:38:26 -04:00
markup Various Mermaid improvements (#18776) 2022-02-16 11:28:29 +08:00
standalone Add new JS linter rules (#17699) 2021-11-22 16:19:01 +08:00
testUtils Update JS dependencies (#19675) 2022-05-10 21:44:36 +02:00
bootstrap.js Show messages for users if the ROOT_URL is wrong, show JavaScript errors (#18971) 2022-03-30 13:52:24 +08:00
index.js Allow to mark files in a PR as viewed (#19007) 2022-05-07 20:28:10 +02:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 2020-05-24 08:36:40 +01:00
svg.js Add copy button to markdown code blocks (#17638) 2021-11-16 16:16:05 +08:00
svg.test.js Add copy button to markdown code blocks (#17638) 2021-11-16 16:16:05 +08:00
utils.js Detect dark theme via css variable (#17800) 2021-11-25 15:14:48 +08:00
utils.test.js Fix context popup error (#17398) 2021-10-22 22:34:01 +08:00