Commit Graph
33 Commits
Author SHA1 Message Date
yiling fb63d8b7b6 feat(webui): translate formatCount in file-browser and add plural keys 2026-06-27 14:45:30 +08:00
yiling 914855a25c chore(webui): move paraglide directory to packages/webui root and update imports 2026-06-26 13:35:27 +08:00
yiling 4fd27ab147 feat(webui): add i18n text keys and translate one static text element per page for verification 2026-06-26 11:24:32 +08:00
yiling cc79be7e34 fix(upload): resolve filesToUpload mutation race condition
Capture the files list snapshot at the time the mutation is triggered via React Query's onMutate context, and retrieve it in onSuccess via the context parameter to prevent race conditions during rapid upload successions.
2026-06-19 20:05:02 +08:00
yiling 0d9545f0b5 feat(upload): track byte-level progress with XMLHttpRequest
- Replace fetch uploads with XMLHttpRequest to capture upload progress
- Track active upload tasks and file progress in Zustand store
- Show byte-level uploader progress in the sidebar list
- Replace plain 'Uploading' card status text with a circular percentage animation
- Replace plain document icon in file list view rows with a mini progress circle
2026-06-19 19:44:35 +08:00
yiling 6cb3ca6874 fix(webui): resolve folder tree sync, search dialog reset, and sidebar actions issues
- Change query key invalidation of folders to the generic ['folders'] key to update the sidebar tree on create/rename/delete/move
- Separate search box from custom filters reset button in search dialog
- Remove unused plus icon from Assets sidebar header
- Add dropdown menu (rename, download, delete) to subfolder tree items in the sidebar
2026-06-19 12:55:30 +08:00
yiling 7137e00911 fix(share): resolve share link drag-and-drop error and public view render loop 2026-06-19 10:32:21 +08:00
yiling 32892a21c1 fix(webui): guard external drag and drop in share, public, and collection views 2026-06-18 16:13:40 +08:00
yiling 7819a2034e fix(webui): clear external drag state synchronously on folder drops 2026-06-18 15:58:34 +08:00
yiling e0f2698a66 feat(webui): add external drag-and-drop file and folder upload support 2026-06-18 15:39:08 +08:00
yiling 68d0830d05 fix(webui): resolve drag-and-drop cross-row reordering layout shift 2026-06-15 22:13:46 +08:00
yiling 19716a16c1 refactor: replace crypto.randomUUID with ulid where security is not needed 2026-06-12 12:55:52 +08:00
yiling fb76fbd970 feat(project): support adding existing team members and prioritize project-specific roles 2026-06-12 10:00:17 +08:00
yiling 5835c36cb5 refactor(trash): optimize cascade delete CTE queries and add rigorous edge-case tests
- Extracted recursive CTE cascade update to cascadeStatusToPendingPurge private helper

- Updated emptyTrash and expireTrashedAssets background job to use batch helper

- Added expireTrashedAssets GC test to verify date boundaries and recursive child marking

- Resolved typecast any warning in test
2026-06-11 16:40:21 +08:00
yiling 8bd34904ff feat(trash): disable delete now button when trash is empty 2026-06-11 16:25:18 +08:00
yiling f093b490c6 feat(trash): add recently-deleted banner and empty trash option for admin
- Added emptyTrash method in AssetService to purge trashed assets from DB and S3

- Added POST /projects/:projectId/empty-trash endpoint in project API

- Implemented unit and integration tests for service and API

- Prevented double click redirect in recently deleted folder

- Added top banner with Delete Now option in recently-deleted folder with confirmation dialog
2026-06-11 16:19:35 +08:00
yiling 5d928ce2b7 feat(ui): update download dialog flow to instantly resolve links and trigger concurrent downloads 2026-06-11 12:08:35 +08:00
yiling ec42c4e9ff feat(file): add bulk download links API and frontend batch download dialog 2026-06-11 11:44:26 +08:00
yiling dfc66a110d Merge branch 'main' into feat/virtualize-file-list 2026-06-10 17:11:31 +08:00
yiling 7066576a8a fix(webui): configure list-view wrapper as the scroll element for virtualization 2026-06-10 16:26:56 +08:00
yiling 412900bd84 fix(webui): improve virtualized file browser and total size querying 2026-06-10 15:41:25 +08:00
yiling 6fc754838b fix(transcode): update WEBP_MAX_DIMENSION to 7680 2026-06-09 11:20:41 +08:00
google-labs-jules[bot]andYiling-J 0371ab0fde feat: show selection size and correctly pluralize type in file browser bottom bar
Update the file browser component to sum up the size of all selected
items and show it in the bottom selection bar. Additionally, format
the text to dynamically display "Items", "file(s)", or "folder(s)"
depending on what the user has currently selected.

Co-authored-by: Yiling-J <20703055+Yiling-J@users.noreply.github.com>
2026-06-09 01:44:56 +00:00
yiling d6fd05bf53 fix(webui): fix auto-pagination in virtualized file views 2026-06-08 15:31:48 +08:00
yiling eedda813a6 feat(webui): implement virtualization for file list and grid views 2026-06-08 15:19:46 +08:00
yiling 78de8e463d feat(upload): increase upload limit and fix folder upload placeholders 2026-06-07 15:53:51 +08:00
yiling 83901432a5 fix(webui): add canEdit to paste handler dependency arrays 2026-06-07 09:56:02 +08:00
yiling d06b523dc7 feat(webui): enforce reviewer role restrictions in the UI 2026-06-07 09:51:33 +08:00
yiling 6ebeb3f804 feat(ui): add collection and share link pages and management actions 2026-06-06 12:02:51 +08:00
yiling fbd3630916 fix(ui): gate local uploading cards to current folder uploads 2026-06-03 15:30:47 +08:00
yiling eba4801dc7 fix(ui): resolve upload error mapping and completeness race condition 2026-06-03 15:23:10 +08:00
yiling 5a19986c92 feat(ui): add high-fidelity skeleton loading screens and local uploading file cards 2026-06-03 15:16:06 +08:00
yiling 1f341c15d0 refactor(monorepo): decouple api and webui into workspaces packages 2026-06-01 23:35:00 +08:00