gitpod
gitpod copied to clipboard
[dashboard] use UserService.UpdateUser and .DeleteUser (2)
Description
Same as https://github.com/gitpod-io/gitpod/pull/19228
This migrates the Dashboard to use UserService.UpdateUser. The shim is using the WebSocket protocol under the hood.
Summary generated by Copilot
🤖[deprecated] Generated by Copilot at 7b96ed5
This pull request updates the dashboard and the public API to use new mutations and protobuf types for updating the user's settings and preferences. It also simplifies the code and logic of some components and functions that deal with the user's privacy policy, dotfile repo, workspace auto start, and editor settings. The files affected are AppNotifications.tsx
, update-mutation.ts
, json-rpc-user-client.ts
, SelectIDE.tsx
, CreateWorkspacePage.tsx
, user_pb.ts
, and user.proto
.
How to test
With the FF turned off, we'd need to retest every functionality that updates the user.
Summary generated by Copilot
🤖[deprecated] Generated by Copilot at f6708d2
Refactored the dashboard components and data layer to use more specific and simpler mutation hooks for updating and deleting user settings and preferences. Added new hooks and methods for user profile editing, workspace auto start options, and account deletion. Improved the error handling and validation of user input.
Related Issue(s)
Fixes #
How to test
Documentation
Preview status
Gitpod was successfully deployed to your preview environment.
- 🏷️ Name - at-previewdcfbc33d31
- 🔗 URL - at-previewdcfbc33d31.preview.gitpod-dev.com/workspaces.
- 📚 Documentation - See our internal documentation for information on how to interact with your preview environment.
- 📦 Version - at-preview-updateuser-shim-gha.21698
- 🗒️ Logs - GCP Logs Explorer
Build Options
Build
- [ ] /werft with-werft Run the build with werft instead of GHA
- [ ] leeway-no-cache
- [x] /werft no-test
Run Leeway with
--dont-test
Publish
- [ ] /werft publish-to-npm
- [ ] /werft publish-to-jb-marketplace
Installer
- [ ] analytics=segment
- [ ] with-dedicated-emulation
- [ ] workspace-feature-flags Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
- [ ] /werft with-local-preview
If enabled this will build
install/preview
- [x] /werft with-preview
- [ ] /werft with-large-vm
- [x] /werft with-gce-vm If enabled this will create the environment on GCE infra
- [ ] /werft preemptible Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
- [ ] with-integration-tests=all
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh
. If enabled,with-preview
andwith-large-vm
will be enabled. - [ ] with-monitoring
/hold