mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-19 17:01:12 +00:00
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>
32 lines
652 B
JSON
32 lines
652 B
JSON
{
|
|
"version": "2.8.7",
|
|
"base": "node_modules/fomantic-ui",
|
|
"paths": {
|
|
"source": {
|
|
"config": "src/theme.config",
|
|
"definitions": "src/definitions/",
|
|
"site": "src/site/",
|
|
"themes": "src/themes/"
|
|
},
|
|
"output": {
|
|
"packaged": "../../build/",
|
|
"uncompressed": "../../build/components/",
|
|
"compressed": "../../build/components/",
|
|
"themes": "../../build/themes/"
|
|
},
|
|
"clean": "../../build/"
|
|
},
|
|
"permission": false,
|
|
"autoInstall": false,
|
|
"rtl": false,
|
|
"admin": false,
|
|
"components": [
|
|
"api",
|
|
"button",
|
|
"dropdown",
|
|
"form",
|
|
"menu",
|
|
"modal",
|
|
"search"
|
|
]
|
|
}
|