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
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
+67Lines changed: 67 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -192,6 +192,8 @@
192
192
"createOrImportRepos": "Create new or import an existing repository.",
193
193
"noWebhooks": "No webhooks yet",
194
194
"noWebhooksDescription": "Add or manage webhooks to automate tasks and connect external services to your project.",
195
+
"noUsers": "No Users Found",
196
+
"noUsersDescription": "There are no users in this scope. Click on the button below to start adding them.",
195
197
"commit": "Commit",
196
198
"noLabels": "No labels yet",
197
199
"noLabelsDescription": "Use labels to organize, prioritize, and categorize tasks efficiently."
@@ -403,6 +405,71 @@
403
405
"edit": "Edit webhook",
404
406
"delete": "Delete webhook"
405
407
},
408
+
"userManagement": {
409
+
"userId": "User ID",
410
+
"userIdHint": "User ID cannot be changed once created",
411
+
"enterUsername": "Enter user name",
412
+
"enterEmail": "Enter email address",
413
+
"email": "Email",
414
+
"enterDisplayName": "Enter display name",
415
+
"displayName": "Display Name",
416
+
"inviting": "Inviting...",
417
+
"inviteNewUser": "Invite New User",
418
+
"addNewUser": "Add a new user",
419
+
"deletingUser": "Deleting user...",
420
+
"confirmDelete": "Yes, delete user",
421
+
"deleteConfirmation": "Are you sure you want to delete {{name}}?",
422
+
"deleteWarning": "This will permanently delete the user \"{{name}}\" from the system.",
423
+
"updateUser": "Update User",
424
+
"removeAdminMessage": "This will remove the admin tag for \"{{name}}\"",
425
+
"grantAdminMessage": "This will grant admin privileges to \"{{name}}\"",
426
+
"removingAdmin": "Removing admin...",
427
+
"grantingAdmin": "Granting admin...",
428
+
"removeAdmin": "Yes, remove admin",
429
+
"grantAdmin": "Yes, grant admin",
430
+
"updateAdminRights": "Update admin rights",
431
+
"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.",
432
+
"resetPasswordMessage": "A new password will be generated to assist {{name}} in resetting their current password.",
433
+
"resettingPassword": "Resetting Password...",
434
+
"resetPassword": "Reset password for {{name}}",
435
+
"newUserButton": "New user",
436
+
"searchPlaceholder": "Search",
437
+
"usersHeader": "Users",
438
+
"tabs": {
439
+
"active": "Active users",
440
+
"inactive": "Pending users"
441
+
},
442
+
"usersList": {
443
+
"user": "User",
444
+
"email": "Email",
445
+
"roleBinding": "Role binding"
446
+
},
447
+
"roles": {
448
+
"admin": "Admin",
449
+
"user": "User"
450
+
},
451
+
"actions": {
452
+
"removeAdmin": "Remove Admin",
453
+
"setAsAdmin": "Set as Admin",
454
+
"resetPassword": "Reset Password",
455
+
"editUser": "Edit User",
456
+
"deleteUser": "Delete User"
457
+
},
458
+
"forms": {
459
+
"userIdRequired": "Please provide a user ID",
460
+
"emailRequired": "Please enter a valid email address",
461
+
"displayNameRequired": "Please provide a display name",
462
+
"passwordGenerateSuccess": "Your password has been generated. Please make sure to copy and store your password somewhere safe.",
463
+
"saving": "Saving...",
464
+
"generating": "Generating...",
465
+
"close": "Close"
466
+
},
467
+
"validation": {
468
+
"emailInvalid": "Please enter a valid email",
469
+
"displayNameRequired": "Display name is required",
0 commit comments