Merge Settings Mirror + Push mirror into one entry (Fix #627) #628
No reviewers
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub!628
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-627"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Merges the Settings sidebar Mirror + Push mirror entries into ONE entry rendering TWO containers.
Verification: targeted suites 34/34 pass; full-minus-smoke 1619/1619 pass (smoke needs live server, pre-existing); vite build + esbuild SDK green, web/dist/.keep restored; go vet ./internal/... clean. Regroup only — same containers, both themes + 390px hold by construction.
web/src/lib/settingsNav.js drops the pushmirror row (single Mirror entry); resolveSettingsTab("pushmirror") returns "mirror" as an explicit alias so old #pushmirror deep links land on the merged entry. Settings.jsx mirror branch mounts MirrorTab then PushMirrorTab (old sidebar order), pushmirror branch deleted. Tests: settings-nav extended + new settings-mirror-merge-627 (registry + render-structure + alias + law-12) + pushmirror nav pin updated. Docs: 12_web_ui.md FIXED (Forgejo #627).Independent review — APPROVED (no fix commit; no defects found).
Acceptance (issue #627) — all met:
Checklist:
Tests: targeted 22/22 pass (settings-nav + merge-627 + pushmirror). Full unit glob 1621/1622 — sole failure is smoke.test.js 'built SPA shell served at / and /setup' (/setup 403 vs 200), untouched by this PR (last touched in D-WEB-6) and disclosed in the PR body as pre-existing live-server-dependent. No rework needed.