Surface errors via toasts while keeping the modal open. This ensures they can retry or correct input without losing context, improving usability and reducing frustration.
* refactor: modify actions to add splitter
* feat: add API function to update the library metadata
* feat: create a toggle component to make the library public read
* refactor: update behaviour depending on user permissions
* feat: add success toast
* refactor: use stack to display the actions
* style: fix typo
* style: add mx-5 to divider to avoid wide growth
* chore: update paragon to work with useMediaQuery
* feat: create permissions tab
* style: add tsdocs to getPermissionMetadata and buildPermissionMatrix
* style: fix padding on rows table
* feat: add skeleton and improve testing
* feat: create ResourceTooltip component and enhance types for permission matrix by role and resource
* style: enhance tooltip styles and permissions displayed order
* test: remove data-testid for PermissionTable
* style: use card for adding background color to the permission table component
* feat: add filters and sorting functionality to the team table
* feat: add lodash.debounce for improved fetchData performance in TeamTable
* feat: implement query settings management for team members table with filtering and pagination
* fix: increase staleTime for useTeamMembers hook to 30 minutes
* refactor: simplify TableControlBar layout and restore Clear filters button functionality
* feat: add internationalization support for sorting and search placeholders
* test: fix issues with failing tests
* refactor: update SearchFilter to use string & localize Clear filters button text
* test: add missing comprehensive tests
* refactor: update sorting and group all in a Table
* test: update to use useEvent intead of fireEvent
* refactor: user retrival for paginated query in user detail view
* refactor: separation of i18n messages
* style: remove comment in API
* fix: adress debaunce time
---------
Co-authored-by: Diana Olarte <diana.olarte@edunext.co>
* refactor: support components as action & connect API to add roles to users
* fix: the value of LIBRARY_AUTHZ_SCOPE was misspelled
* feat: add role assignment functionality with modal and trigger components
* feat: add success toast message for role assignment and update user management logic
* refactor: update handleAddRole to display all roles
* refactor: group under AssignNewRoleModal
* test: add unit tests for AssignNewRoleModal and AssignNewRoleTrigger components
* fix: remove duplicated exports after rebase
---------
Co-authored-by: Diana Olarte <diana.olarte@edunext.co>
* feat: add team roles management and update related hooks and types
* feat: implement add new team member functionality with modal and actions
* test: add some missing tests
* test: add unit tests for AddNewTeamMemberModal and update context mocks
* test: add toast close functionality and loading state handling in AddNewTeamMemberTrigger tests
* fix: update LibrariesAuthZTeamView to include canManageTeam check for AddNewTeamMemberTrigger
* fix: correct API endpoint paths and update authorization scope format
* refactor: improve error handling & address PR feedback
* refactor: group AddNewTeamMemberModal in 1 folder
* fix: reset modal values to close action
* refactor: replace useAddTeamMember with useAssignTeamMembersRole
* feat: add tooltip
* test: fix test after rebase
* refactor: enhance user intruction with placeholder
* style: remove unnecessary inline style
* fix: remove the error style on change the textarea value
* fix: add useState to display toast
* fix: remove empty strings from the user input
* fix: validate error users to apply style
---------
Co-authored-by: Diana Olarte <diana.olarte@edunext.co>
* refactor: use Link from react-router in Breadcrumb links
* feat: create RoleCard component
This is a reusable component, that display a card for each role with a collapsible showing the associated permissions. The permissions, are organized by resource and enable/disable.
* feat: create the user management view
* feat: integrate the LibrariesUserManagement view in the application
* style: add ts doc to buildPermissionsByRoleMatrix function
* feat: add loading state to the cards roles
* style: nit space
* fix: nit extra comment and validation
* test: update fireEvent with useEvent
- Update the basic libraries needed for the application
- Update README and configuration files
- Create the authz folder as the fist module for development