jojo/templates/devtest
0ko de3f376882 feat(ui): convert disable/enable workflow menu to JS-less dropdown (#10133)
* convert the dropdown (overflow menu) to the JS-less one
    * the "link" still relies on JS to make a POST, changing this is not in scope of this PR
    * fixed the weird behavior where opener changes it's color when hovering over the "link"
    * the bug where the script that refreshes the list once in a while closes an open dropdown is not fixed and is not in scope of this PR
* use border in the opener
    * it might not look as sleek but it is easier to see and better for the user to be able to understand that this is an active intractable element
* global dropdown improvements
    * add rounding rules for dropdowns with only one item - the first such case
    * add testing for rounding rules
    * added a devtest page to play with the dropdown component on

Preview

B: https://codeberg.org/forgejo/forgejo/attachments/1462cdda-71f5-45d0-a206-33bb17740cb8
A: https://codeberg.org/forgejo/forgejo/attachments/d3c265cb-6b77-40c8-9944-d9327f3bec65

B: https://codeberg.org/forgejo/forgejo/attachments/17f17c29-4dcd-4015-b5b9-6d438bd2eb0b
A: https://codeberg.org/forgejo/forgejo/attachments/d94e196c-725e-47de-b4de-ed97b148ceb6

B: https://codeberg.org/forgejo/forgejo/attachments/1813ded9-f619-47d9-bf15-ad4bcd3535ab
A: https://codeberg.org/forgejo/forgejo/attachments/09042e58-331e-414d-ac8f-0f1091033b7f

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10133
Reviewed-by: Otto <otto@codeberg.org>
2025-11-21 16:59:01 +01:00
..
buttons.tmpl feat(ui): dangerous buttons (#9652) 2025-10-20 12:03:17 +02:00
dropdown.tmpl feat(ui): convert disable/enable workflow menu to JS-less dropdown (#10133) 2025-11-21 16:59:01 +01:00
fetch-action.tmpl Fix some URLs whose sub-path is missing (#31289) 2024-06-09 16:04:57 +02:00
flex-list.tmpl Add svg linter and fix incorrect svgs (#30086) 2024-03-30 07:17:30 +01:00
fomantic-modal.tmpl chore(ui): always use primary button color inside modals (#7161) 2025-03-09 07:45:58 +00:00
gitea-ui.tmpl chore(ui): cleanup unused color CSS (#7898) 2025-05-19 14:04:28 +02:00
hashbox.tmpl chore(ui): clean up hashbox CSS, small design changes (#7822) 2025-05-25 12:51:27 +02:00
label.tmpl Revert 100% label max-width (#30481) 2024-04-21 11:37:55 +02:00
list.tmpl ui: improve error pages (#7274) 2025-03-28 19:50:43 +00:00
tmplerr-sub.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
tmplerr.tmpl Replace all simple inline styles with tailwind (#30032) 2024-03-26 19:04:28 +01:00