User profile identity#205
Merged
PatrickCmd merged 22 commits intomainfrom Apr 4, 2026
Merged
Conversation
Spec for adding full_name, organization_type, and sector fields to the User model, profile update endpoints, profile completion page, dashboard banner, and EndpointLog denormalization. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17-task plan covering backend model/schema/endpoint changes, Alembic migration, monitoring middleware updates, and frontend registration form, profile completion page, dashboard banner, and account settings updates. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…user Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Includes tests for profile update, partial update, invalid org type validation, profile completion status, and registration with new profile fields plus backward compatibility. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ncomplete Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…middleware Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…th/profile Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
npm audit fix for react-router, axios, picomatch, and rollup. Remaining 2 moderate (esbuild/vite) require breaking vite v8 upgrade. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dev server CORS vulnerability in esbuild <=0.24.2. Override forces esbuild 0.25.0+ while staying on Vite 5. npm audit now reports 0 vulnerabilities. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Covers 3-phase migration (5→6→7→8), breaking changes per version, risk assessment for our stack, and implementation steps. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
This pull request adds support for user profile completion by introducing new profile fields (
full_name,organization_type, andsector) to both the user model and endpoint logs. It also provides API endpoints for updating and checking the completeness of user profiles, and ensures these new fields are validated and logged throughout the authentication and monitoring flows.Database and Model Changes:
full_name,organization_type, andsectorfields to theuserstable andorganization_type,sectorto theendpoint_logstable; updated corresponding SQLAlchemy models and Alembic migration. [1] [2] [3]API and Schema Enhancements:
ProfileUpdatefor profile updates andProfileCompletionStatusfor profile completeness checks; updated existing schemas to include new fields and allowed organization types. [1] [2] [3] [4]Profile Management Endpoints:
/profilePUT endpoint for updating user profile fields with validation, and/profile/statusGET endpoint to check profile completeness and missing fields.Authentication Flow Improvements:
Monitoring and Logging Updates: