1.3 KiB
1.3 KiB
1. Custom Background Status
- 1.1 Show uploaded custom backgrounds as the active background in the profile settings header metric.
- 1.2 Render the selected built-in preset as a clearly labeled fallback while an uploaded background is active.
- 1.3 Preserve fallback preset selection so removing the uploaded background restores the selected built-in desktop.
2. Verification
- 2.1 Add focused rendering coverage for uploaded-background labeling.
- 2.2 Run focused frontend tests.
- 2.3 Run
scripts/check-structure.sh. - 2.4 Run
openspec validate fix-custom-background-status --strict.
Evidence
npm test -- pages/ConsolePages.test.tsxpassed 10 tests.npm testpassed 13 files / 68 tests.npm run typecheckpassed.npm run buildpassed.scripts/check-structure.shpassed.openspec validate fix-custom-background-status --strictpassed; the command printed a PostHog network flush warning after validation because the sandbox cannot resolveedge.openspec.dev.- Runtime UI check on
http://127.0.0.1:5173/#/profileconfirmeddata-custom-background="true", summary背景 自定义背景, fallback chip机甲格纳库 备用, and theme switch black mecha -> magical-girl preserved the uploaded background.