improvement: migrate org role modals to v3#7118
Conversation
|
💬 Discussion in Slack: #pr-review-infisical-7118-improvement-migrate-org-role-modals-to-v3 Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel. |
|
| Filename | Overview |
|---|---|
| frontend/src/pages/organization/RoleByIDPage/components/DuplicateOrgRoleModal.tsx | Migrates duplicate role modal from v2 (Modal/FormControl/Spinner) to v3 (Dialog/Field/PageLoader) components; changes loading indicator and error color class from text-red to text-danger. |
| frontend/src/pages/organization/RoleByIDPage/components/RoleModal.tsx | Migrates create/update role modal from v2 to v3 components; swaps isLoading for isPending on the submit button and updates cancel button to use DialogClose. |
Reviews (1): Last reviewed commit: "improvement: migrate org role modals to ..." | Re-trigger Greptile
Context
Migrate the create org role and duplicate org role to v3 components
Screenshots
Steps to verify the change
Type
Checklist
type(scope): short description(scope is optional, e.g.,fix: prevent crash on syncorfix(api): handle null response).