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
* feat: enhance PermissionToggle component with new variants and visual feedback
- Added support for 'compact' and 'detailed' variants to the PermissionToggle component.
- Introduced optional props for description, icon visibility, and variant selection.
- Updated the component's rendering logic to accommodate new visual styles and feedback mechanisms.
- Replaced existing RolePermission and UserPermission components with EnhancedPermissionDialog for improved user experience.
* refactor: update Role and User permission handling for improved navigation
- Replaced dialog-based permission management in RoleList and UserList components with direct navigation to permission pages.
- Updated RolePermission and UserPermission components to use buttons for managing permissions, enhancing user experience.
- Improved error handling in usePermissions hook to ensure robustness in permission fetching.
* feat: enhance PermissionsPage with user existence check and improved error handling
- Added a check for user existence when managing user permissions, displaying appropriate error messages if the user is not found.
- Updated permission fetching logic to handle user IDs and usernames more effectively.
- Improved loading states and error handling for API requests, ensuring better user feedback during permission management.
- Grouped permissions by the first two parts of their names for better organization in the UI.
* feat: enhance tenant management and permissions handling
- Ensured tenantId is consistently stored as a string across various components and middleware, improving data integrity.
- Integrated translation support for permission names in the PermissionsPage, enhancing user experience with localized content.
- Improved error handling during permission updates and API requests, providing clearer feedback to users.
- Updated session management to handle edge cases for tenantId, ensuring robust authentication flow.
* feat: improve user permission management and UI responsiveness
- Enhanced user permission management by implementing a more efficient user existence check, providing clearer error messages when users are not found.
- Optimized permission fetching logic to better handle user IDs and usernames.
- Improved loading states and error handling for API requests, ensuring a smoother user experience during permission management.
- Organized permissions in the UI by grouping them based on the first two parts of their names for better clarity.
* feat: extend block configuration with new components and props
- Added imports for CodeBlock, ListBlock, QuoteBlock, TableBlock, and TestimonialBlock configurations and props.
- Updated the config object to include new components in the content, layout, and social categories, enhancing the overall block management capabilities.
* refactor: remove CodeBlock component and related files
- Deleted the CodeBlock component along with its configuration, props, and story files to streamline the codebase.
- Updated the main configuration file to remove references to CodeBlock, ensuring consistency across the component management system.
* feat: add new block types to ensureValidPuckData function
- Extended the ensureValidPuckData function to include CarouselBlock, ListBlock, QuoteBlock, TableBlock, and TestimonialBlock, enhancing the validation capabilities for various content types.
* fix: enhance EnhancedPermissionDialog with unsaved changes confirmation
- Implemented a confirmation dialog for unsaved changes when closing the EnhancedPermissionDialog, improving user experience by preventing accidental data loss.
- Removed redundant onCloseEvent definition and updated dependencies in the useCallback hook for better performance.
- Updated useEnhancedPermissionChanges to handle undefined values for oldValue and newValue, ensuring more robust change tracking.
0 commit comments