Include ability to update existing user data#52
Merged
jeroenrinzema merged 2 commits intomainfrom Oct 15, 2025
Merged
Conversation
Contributor
jeroenrinzema
commented
Oct 15, 2025
There was a problem hiding this comment.
Pull Request Overview
This PR introduces the ability to update existing user data by adding a PATCH endpoint to the UserController and implementing an editable UI in the console for modifying user attributes.
- Added PATCH endpoint with validation schema supporting identification by anonymous_id or external_id
- Created editable user interface with real-time field editing and save functionality
- Enhanced JsonPreview component to support editing capabilities
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| services/platform/src/users/UserController.ts | Adds PATCH endpoint with JSON schema validation for user updates |
| services/console/src/views/users/UserDetailAttrs.tsx | Implements editable user interface with state management and save functionality |
| services/console/src/ui/JsonPreview.tsx | Enhances component to support editable mode with change callbacks |
| services/console/src/ui/utils.tsx | Adds utility function to extract editable user fields |
| services/console/src/views/users/Users.tsx | Imports CSS file for styling |
| services/console/src/views/users/Users.css | Adds styling for user details attributes |
| services/console/src/types.ts | Adds missing anonymous_id field to User interface |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
b1795a3 to
2e01583
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.