Description
- Adapted a NEW VERSION ENDPOINT of ancestors for Workspaces.
- Fixed a bug when displaying details of items in the drive and shared folders for both individual and workspace.
- Fixed Bug (
isLoading
in useFetchShareData) when getting data forShared
view. - Added tests for
getLocation
(utils
) - (Improved logic)
Related Issues
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
How Has This Been Tested?
- Have a user as owner of a workspace.
- Invite a user to the workspace
- Create a team and add both (owner and invited)
- Share a folder with subfolders and files with the team
- Go to the shared section
- View the details of the files and folders inside the shared folder
Additional Notes
-
When opening the details and looking at the location, it was set to show only /Shared to avoid showing folders that the owner user does not want to reveal or share as a security measure.
-
The share icon has been removed from internal folders and files. The icon only appears on the item that was initially shared. This is to allow the user to know which item they need to remove share access from. However, if there are folders or files that have been shared separately and are inside another shared folder, then the icon will be displayed.
File with change: src/app/share/views/SharedLinksView/components/SharedItemList.tsx