forgejo/web_src/js/features
Otto Richter c9e402afdc feat(tmpl): Introduce semantic HTML in forms
Modifies forms:

- (new) org team
- (new) repo webhook
- (new) repo protected branch

The forms are not completely rewritten to semantic HTML yet. The focus
of this change was on standard elements, some custom solutions were left
untouched for now.

- swaps the order fo permission radio buttons as per https://codeberg.org/forgejo/forgejo/issues/4983
- uses fieldsets to group related inputs
  - ensures consistent styling across forms
  - can be improved later, e.g. using horizontal lines between sections
- fixes: previous font size of labels was smaller than the font size of the help text
- help text are now part of the label, clicking them now also activates the input
- drop unused CSS (no required checkboxes in grouped class remain)
- playwright testing:
  - move login boilerplate to utils
  - automated form accessibility checking
    - allow defining the scope, because legacy parts of the forms are not yet accessible
  - assert some CSS properties that should not be overriden
- the Makefile adjustment was necessary, because eslint scanned some internal files in the tests/e2e/reports directory
2024-08-19 01:14:18 +02:00
..
admin [BUG] admin oauth2 source required check (#4194) 2024-06-21 06:21:37 +00:00
comp feat(tmpl): Introduce semantic HTML in forms 2024-08-19 01:14:18 +02:00
autofocus-end.js
captcha.js
citation.js Remove APA as cite format 2024-07-20 15:48:57 +02:00
clipboard.js
code-frequency.js
codeeditor.js Remove obsolete monaco workaround (#30893) 2024-05-12 20:03:10 +02:00
colorpicker.js
common-global.js [UI] Fix HTMX support for profile card 2024-07-17 01:41:32 +02:00
common-issue-list.js
common-issue-list.test.js
common-organization.js
contextpopup.js
contributors.js Fix Activity Page Contributors dropdown (#31264) 2024-06-18 20:05:23 +02:00
copycontent.js
dropzone.js
emoji.js
eventsource.sharedworker.js
file-fold.js
heatmap.js
imagediff.js Refactor imagediff and fix regression bug (#30694) 2024-04-28 15:39:01 +02:00
install.js
notification.js
org-team.js
pull-view-file.js
recent-commits.js
repo-branch.js
repo-code.js fix(ui): handle out-of-bounds end line in code selection (#4788) 2024-08-05 04:45:07 +00:00
repo-code.test.js
repo-commit.js
repo-common.js Refactor and fix archive link bug (#30535) 2024-05-10 09:20:12 +02:00
repo-diff-commit.js
repo-diff-commitselect.js
repo-diff-filetree.js
repo-diff.js
repo-editor.js [PORT] Enable no-jquery/no-parse-html-literal and fix violation (gitea#31684) 2024-07-28 16:52:02 +02:00
repo-findfile.js
repo-findfile.test.js
repo-graph.js fix branch selector in commit graph 2024-07-07 20:26:30 +02:00
repo-home.js
repo-issue-content.js
repo-issue-list.js
repo-issue-pr-form.js
repo-issue-pr-status.js
repo-issue.js accessibility: anchor elements' missing href added (#4375) 2024-07-08 17:32:59 +00:00
repo-legacy.js [UI] Convert milestone to HTMX 2024-07-17 14:52:00 +02:00
repo-migrate.js
repo-migration.js
repo-projects.js Fix various problems around projects board view (#30696) 2024-05-12 20:03:10 +02:00
repo-release.js Implement external assets 2024-07-29 20:35:55 +02:00
repo-search.js
repo-settings.js
repo-template.js
repo-unicode-escape.js
repo-wiki.js
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js
user-auth-webauthn.js
user-auth.js
user-settings.js