Description
- Move ShareFileView and ShareFolderView from app/share/views/ShareView to views/PublicShared
- Rename ReportButon to ReportButton and move to components subdirectory
- Move SendBanner, ShareItemPwdView, and ShareView.scss to components subdirectory
- Create barrel exports for PublicShared module and components
- Update imports to use barrel exports
- Extract nested ternary in ShareFileView into renderDownloadButton function
- Refactor ShareFolderView to reduce cognitive complexity
- Replace window with globalThis for better compatibility
- Use optional chaining and improve condition readability
- Fix typos and improve type safety
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.
- QA Passed