codefloe/forgejo-codefloe
Watch
4
12
Fork
You've already forked forgejo-codefloe
0

feat(ui): make CodeFloe Tide the default theme #222

Merged
pat-s merged 1 commit from feat/codefloe-tide-default into v16.0/forgejo-codefloe 2026-10-04 16:32:32 +00:00
Owner

Make CodeFloe Tide the default theme of the fork.

Changes

  • Set DefaultTheme in modules/setting/ui.go to codefloe-tide-auto.
  • Update the ;DEFAULT_THEME example in custom/conf/app.example.ini.
  • Expect codefloe-tide-auto as the instance default in TestThemeChange, TestUserHasNonExistentTheme and TestPublicOrgHome.
  • Switch the last step of TestThemeChange to codefloe-auto, so it checks the classic theme stays selectable and loads its own stylesheet.
  • Update the CodeFloe Tide row in the README custom changes table.

Behaviour change

New accounts, guests, and accounts whose stored theme is empty or no longer offered get Tide.
Accounts that already store a theme keep it.
Instances that set [ui] DEFAULT_THEME keep their configured value; codefloe.com's IaC sets it explicitly, which codefloe/infrastructure-as-code#305 switches.

Verification

  • The full e2e suite passes with Tide as the default: 65 files, 777 passed, 33 skipped, none flaky.
  • The three theme integration tests pass on sqlite.
Make CodeFloe Tide the default theme of the fork. ## Changes - Set `DefaultTheme` in `modules/setting/ui.go` to `codefloe-tide-auto`. - Update the `;DEFAULT_THEME` example in `custom/conf/app.example.ini`. - Expect `codefloe-tide-auto` as the instance default in `TestThemeChange`, `TestUserHasNonExistentTheme` and `TestPublicOrgHome`. - Switch the last step of `TestThemeChange` to `codefloe-auto`, so it checks the classic theme stays selectable and loads its own stylesheet. - Update the CodeFloe Tide row in the README custom changes table. ## Behaviour change New accounts, guests, and accounts whose stored theme is empty or no longer offered get Tide. Accounts that already store a theme keep it. Instances that set `[ui] DEFAULT_THEME` keep their configured value; codefloe.com's IaC sets it explicitly, which codefloe/infrastructure-as-code#305 switches. ## Verification - The full e2e suite passes with Tide as the default: 65 files, 777 passed, 33 skipped, none flaky. - The three theme integration tests pass on sqlite.
pat-s force-pushed feat/codefloe-tide-default from 0765fea43b
All checks were successful
testing / test-pgsql (2/4) (pull_request) Has been skipped
testing / test-pgsql (3/4) (pull_request) Has been skipped
testing / backend-checks (pull_request) Successful in 9m46s
testing / test-e2e (2/2) (pull_request) Has been skipped
testing / test-pgsql (4/4) (pull_request) Has been skipped
testing / test-e2e (1/2) (pull_request) Successful in 5m20s
testing / test-unit (pull_request) Successful in 6m10s
testing / frontend-checks (pull_request) Successful in 1m12s
testing / test-pgsql (1/4) (pull_request) Successful in 6m4s
to ef0a55cbb0
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m23s
testing / test-e2e (1/2) (pull_request) Successful in 7m21s
testing / test-unit (pull_request) Successful in 8m0s
testing / test-pgsql (4/4) (pull_request) Successful in 10m50s
testing / backend-checks (pull_request) Successful in 5m24s
testing / test-e2e (2/2) (pull_request) Successful in 7m2s
testing / test-pgsql (2/4) (pull_request) Successful in 19m5s
testing / test-pgsql (1/4) (pull_request) Successful in 19m33s
testing / test-pgsql (3/4) (pull_request) Successful in 22m21s
issue-labels / backporting (pull_request_target) Has been skipped
milestone / set (pull_request_target) Has been skipped
2026-10-04 15:59:53 +00:00
Compare
pat-s merged commit 810218408f into v16.0/forgejo-codefloe 2026-10-04 16:32:32 +00:00
pat-s deleted branch feat/codefloe-tide-default 2026-10-04 16:32:32 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
codefloe/forgejo-codefloe!222
No description provided.