-
Notifications
You must be signed in to change notification settings - Fork 1.3k
User Pref Editor change cleanup #17025
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
started the job as gitpod-build-bmh-user-prefs-ide-user-context-update.1 because the annotations in the pull request description changed |
started the job as gitpod-build-bmh-user-prefs-ide-user-context-update.2 because the annotations in the pull request description changed |
Looking at this now! 👀 UPDATE: Re-spinning the preview environment in https://github.com/gitpod-io/gitpod/actions/runs/4538052905. |
@gtsiolis Triggered again: You have to trigger "all" jobs, otherwise it won't update/install the preview correctly. |
@geropl Not sure what happened, but the preview environment is still not deployed. 🤷 |
e4bf847
to
6c3ae2a
Compare
I rebased main into it and w/ that latest build it deployed to https://bmh-user-pf016b26807.preview.gitpod-dev.com/workspaces ok. Hopefully it will work for you later still. |
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.
Thanks, @selfcontained! UX LGTM. 🌮 🌮
Approving to unblock merging but holding in case we'd like someone to take a closer look at the code changes. 🏓
/hold
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.
LGTM
const newUserData = await updateUser.mutateAsync({ additionalData }); | ||
props.updateUserContext && setUser({ ...newUserData }); | ||
}; | ||
// Avoid mutating user object in state for updates |
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.
This comment is a bit confusing without seeing the previous code. Maybe just remove it?
/unhold |
Description
Some small cleanup to the code in user prefs around updating the editor options.
useCallback()
wrapper.Fixes WEB-39
How to test
Release Notes
Documentation
Build Options:
Run the build with werft instead of GHA
Run Leeway with
--dont-test
Publish Options
Installer Options
Add desired feature flags to the end of the line above, space separated
Preview Environment Options:
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh