Add user override for default stage direction background and text colour#1287
Conversation
Adds two new nullable columns to UserSettings (default_sd_background_colour, default_sd_text_colour) so users can personalise the fallback appearance applied to unstyled stage direction lines. Includes UI in both Vue 3 and Vue 2 clients, an Alembic migration, E2E coverage, and updated user documentation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Client V3 Test Results23 tests 23 ✅ 0s ⏱️ Results for commit f9ba89d. ♻️ This comment has been updated with latest results. |
Client Test Results128 tests 128 ✅ 0s ⏱️ Results for commit f9ba89d. ♻️ This comment has been updated with latest results. |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds full end-to-end coverage: default preview colour assertion (verifies darkslateblue fallback), WS sync round-trip (preview updates after PATCH), persistence across page reload (GET /api/v1/user/settings), text colour override path, and Reset to Default restoring the fallback. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Python Test Results 1 files 1 suites 2m 17s ⏱️ Results for commit f9ba89d. ♻️ This comment has been updated with latest results. |
Playwright E2E Results (firefox)217 tests 217 ✅ 2m 12s ⏱️ Results for commit f9ba89d. ♻️ This comment has been updated with latest results. |
Playwright E2E Results (chromium)217 tests 217 ✅ 2m 15s ⏱️ Results for commit f9ba89d. ♻️ This comment has been updated with latest results. |
- Fix background colour picker initialising to #2f4f4f (darkslategray) instead of #483d8b (darkslateblue) when no override is set - Reset to Default button is now always visible; disabled when there is no override to clear rather than hidden with v-if - Update E2E assertions from toBeVisible/not.toBeVisible to toBeEnabled/toBeDisabled to match the new always-visible button Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|



Summary
default_sd_background_colouranddefault_sd_text_colourcolumns toUserSettingsso users can personalise the fallback appearance of unstyled stage direction linesdarkslatebluefallback is preserved when no override is setalembic checkconfirms model and DB are in sync14-user-settings.spec.tsdocs/pages/user_settings.mdTest plan
pytest— 704 tests passnpm run typecheck+npm run ci-lint— cleannpm run typecheck+npm run ci-lint— cleanalembic check— no new upgrade operations detected🤖 Generated with Claude Code