You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: rename dialog hooks and reorganize file structure
- Rename dialog hooks to use kebab-case filenames
- Remove nested index files for dialog hooks
- Simplify export structure for dialog hooks
fix: standardize dialog content width and error text classes
- Remove `w-full` class from Dialog.Content components
- Reorder error text classes for consistency across user management dialogs
fix: adjust user dialog UI details
- Modify info icon positioning in create user dialog
- Reorder error text classes for consistency
- Use useEffect to reset form values in edit user dialog
refactor: remove form components from user management dialogs
- Inline dialog form logic directly into dialog components
- Remove separate form components for create, edit, delete, reset password, and remove admin dialogs
- Simplify dialog structure by consolidating form and dialog logic
- Update locales to support new dialog translations
fixes dialogs width
decapitalize
fix cancels buttons
refactor: standardize import paths in user management components
- Replace relative imports with absolute paths using @/ prefix
- Maintain relative imports in index.ts files
- Update import paths in dialog components and providers
added locales
fixes
added empty state
added error state
added skeleton and nodata
refactor dialogs
added state provider
caption props
added no search results state
paddings refactor
remove unnecesary props drilling
remove classes sorting
refactor remove unnecessary props drilling
fix-margins
first versions of modals
replace text with span
change eslint rule due to conflict between prettier and eslint, prettier already sort classnames
Adds promisifyMutation helper to simplify mutation handling
Updates user management handlers to use the helper
Adds proper typing for handlers using IDataHandlers interface
Removes duplicate type definitions
added search query
make pagination using usePaginationQueryStateWithStore
fixes code-review: remove onErrors callbacks
fix enter
fix pathes
refactoring dialogs
refactoring types
commit: refactor: use store provider for user management hooks
This commit refactors the user management page to use a centralized store provider by:
Creating UserManagementStoreProvider to manage shared hooks
Removing hook props drilling through components
Accessing hooks via useUserManagementStore hook in child components
Splitting UserManagementPage into container and content components
This change improves code organization and reduces prop drilling while maintaining existing functionality.
commit: refactor: move dialog context to providers directory
This commit reorganizes the dialog-related code by:
Moving DialogsProvider from context/ to providers/ directory
Updating import paths across components to use the new location
3. Removing unused context files and types
Consolidating dialog-related code for better maintainability
This is a structural change that improves code organization while maintaining existing functionality.
remove redundant index from dialog
commit: refactor: migrate dialog state management to UI layer
The commit refactors the user management dialog state handling by:
Moving dialog state management from container to UI layer using DialogsProvider
Converting mutation handlers to return Promises for proper async handling
Removing redundant dialog state management code from container
Consolidating error and loading states into dedicated objects
Moving EActiveTab enum to UI package for better organization
This change improves separation of concerns by keeping UI state management in the UI layer while maintaining the same functionality.
refactor: reorganize validation schemas and types
- Move Zod schemas to dedicated schema files
- Update type definitions to use schema inference
- Fix import paths to use absolute imports
- Remove duplicate schema definitions from components
- Centralize types in dedicated type files
refactor(user-management): reorganize dialogs structure
- Move all dialogs to dedicated folders with proper structure
- Add types and index files for each dialog
- Update imports and exports
- Add new translations for empty state
- Improve code organization in UserManagementPage
first version of filters and sorting
remove unnecessary fragment
added tabs
fixes after design review
Copy file name to clipboardExpand all lines: packages/ui/locales/en/views.json
+83Lines changed: 83 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -213,6 +213,8 @@
213
213
"noWebhookExecutionsDescription": "Your webhook executions will appear here once they're completed. Trigger your webhook to see the results.",
214
214
"noWebhooks": "No webhooks yet",
215
215
"noWebhooksDescription": "Add or manage webhooks to automate tasks and connect external services to your project.",
216
+
"noUsers": "No Users Found",
217
+
"noUsersDescription": "There are no users in this scope. Click on the button below to start adding them.",
216
218
"commit": "Commit",
217
219
"noLabels": "No labels yet",
218
220
"noLabelsDescription": "Use labels to organize, prioritize, and categorize tasks efficiently."
@@ -477,6 +479,87 @@
477
479
"edit": "Edit webhook",
478
480
"delete": "Delete webhook"
479
481
},
482
+
"userManagement": {
483
+
"createUser": {
484
+
"title": "Add a new user",
485
+
"enterDisplayName": "Enter display name",
486
+
"inviting": "Inviting...",
487
+
"inviteNewUser": "Invite new user",
488
+
"validation": {
489
+
"userIdRequired": "Please provide a user ID",
490
+
"invalidEmail": "Please enter a valid email address",
491
+
"displayNameRequired": "Please provide a display name",
492
+
"emailInvalid": "Please enter a valid email"
493
+
}
494
+
},
495
+
"userId": "User ID",
496
+
"userIdHint": "User ID cannot be changed once created",
497
+
"enterName": "Enter name",
498
+
"enterEmail": "Enter email address",
499
+
"email": "Email",
500
+
"displayName": "Display name",
501
+
"cancel": "Cancel",
502
+
"deleteUser": {
503
+
"title": "Are you sure you want to delete {{name}}?",
504
+
"message": "This will permanently delete the user \"{{name}}\" from the system.",
505
+
"pending": "Deleting user...",
506
+
"confirm": "Yes, delete user"
507
+
},
508
+
"editUser": {
509
+
"title": "Update user",
510
+
"message": "Update information for {{name}} and confirm changes.",
511
+
"email": "Email",
512
+
"pending": "Saving...",
513
+
"save": "Save",
514
+
"validation": {
515
+
"invalidEmail": "Please enter a valid email address",
516
+
"displayNameRequired": "Please provide a display name"
517
+
}
518
+
},
519
+
"removeAdmin": {
520
+
"title": "Are you sure you want to remove {{name}} as an admin?",
521
+
"message": "This will remove the admin tag for \"{{name}}\".",
522
+
"pending": "Removing admin...",
523
+
"confirm": "Yes, remove admin"
524
+
},
525
+
"grantAdmin": {
526
+
"title": "Are you sure you want to grant {{name}} admin privileges?",
527
+
"message": "This will grant admin privileges to \"{{name}}\".",
528
+
"pending": "Granting admin...",
529
+
"confirm": "Yes, grant admin"
530
+
},
531
+
"resetPassword": {
532
+
"title": "Are you sure you want to reset password for {{name}}?",
533
+
"passwordGeneratedMessage": "Your password has been generated. Please make sure to copy and store your password somewhere safe, you won't be able to see it again.",
534
+
"message": "A new password will be generated to assist {{name}} in resetting their current password.",
0 commit comments