- Notifications
You must be signed in to change notification settings - Fork927
feat: remove dark blue theme#14890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
github-actionsbot commentedOct 1, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
the
|
aslilac commentedOct 1, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
pardon our messy e2e test output. that line you're looking at is unrelated, the real error was:
with no extra details. 🙃 I'm assuming it's a flake and just started a re-run. I'll be back in a bit to check on it and give you a review. |
aslilac left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
we'll also want to add a db migration that sets the theme of any users currently using the dark blue theme back to the default, otherwise they won't see anything selected on the appearance settings page.
it should just look like:
UPDATE usersSET theme_preference=''WHERE theme_preference='darkBlue';
and the down migration can just be an empty file with a comment saying something like
-- Nothing to restore
You can create the migration files by running...
./coderd/database/migrations/create_migration.sh remove-dark-blue-theme
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
looks great! thank you!
d0a8424
intocoder:mainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
saw this issue#14811, looks like an easy change
considered trying to modify the type exported from
UpdateUserAppearanceSettingsRequest
intypesGenerated.ts
to be"light" | "dark"
, but not super sure how to generate types from the Go codebase, so have left this as it is