forgejo/web_src/js
Otto Richter 83d2b3b7fa Implement CSS-only input toggling, refactor related forms
UX/Translation changes:

- new teams: remove redundant tooltips that don't add meaningful information
  - move general information to table fieldset
- new teams: rename "general" to "custom" access for clarity
- new teams: show labels beside options on mobile

Accessibility:

- semantic form elements allow easier navigation (fieldset, mostly)
- improve better labelling of new teams table
- fix accessibility scan issues
- TODO: the parts that "disable" form elements were not yet touched and
  are not really accessible to screenreaders

Technical:

- replace two JavaScript solutions with one CSS standard
- implement a simpler grid (.simple-grid)
- simplify markup
- remove some webhook settings specific CSS

Testing:

- check more form content for accessibility issues
- but exclude tooltips from the scan :(
- reuse existing form tests from previous PR
2024-08-21 15:03:19 +02:00
..
components Merge pull request '[gitea] week 2024-34 cherry pick (gitea/main -> forgejo)' (#4998) from earl-warren/wcp/2024-34 into forgejo 2024-08-20 06:32:09 +00:00
features Implement CSS-only input toggling, refactor related forms 2024-08-21 15:03:19 +02:00
markup fix unchecking check boxes like [X] 2024-07-28 14:18:34 +00:00
modules
render
standalone
utils [PORT] Enable no-jquery/no-parse-html-literal and fix violation (gitea#31684) 2024-07-28 16:52:02 +02:00
vendor
webcomponents
bootstrap.js
bootstrap.test.js
htmx.js
index.js Implement CSS-only input toggling, refactor related forms 2024-08-21 15:03:19 +02:00
jquery.js
svg.js ui: update pull request icons (#4455) 2024-07-16 14:38:46 +00:00
svg.test.js
utils.js
utils.test.js test(js): false negative in sleep test 2024-07-02 19:35:35 +02:00
vitest.setup.js