forgejo/web_src/js/modules
Gusted 8e4f50a909 feat: remove fomantic's tab module (#8587)
In similar vein of forgejo/forgejo#7416

- Fomantic's tab module is responsible for showing the right content when a tab is clicked upon. Most notably the Write/Preview tabs on the comment editor.
- Remove it and replace the javascript with our own function that is able to provide everything Forgejo needs.
- Replace the CSS with our own bare minimum CSS.
- No functionality or visual is affected by this replacement.
- E2E test added.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8587
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-07-21 22:33:17 +02:00
..
fomantic
dimmer.ts
dirauto.js
dropdown.ts feat(ui): redesign user profile actions layout (#7906) 2025-06-24 14:16:51 +02:00
fetch.js
fetch.test.js
fomantic.js feat: remove fomantic's tab module (#8587) 2025-07-21 22:33:17 +02:00
sortable.js
stores.js
tab.ts feat: remove fomantic's tab module (#8587) 2025-07-21 22:33:17 +02:00
tippy.js
toast.js
toast.test.js