Commit Graph
53 Commits
Author SHA1 Message Date
yiling 850b1ff667 feat(webui): integrate i18n into file-browser context-menu component 2026-06-27 14:55:25 +08:00
yiling fb63d8b7b6 feat(webui): translate formatCount in file-browser and add plural keys 2026-06-27 14:45:30 +08:00
yiling 7182c00c7d feat(webui): integrate i18n into fields-manager and manage-fields-dialog components 2026-06-27 14:41:47 +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 a9c5a3d9fd fix(ui): resolve Cannot access 'displayItem' before initialization ReferenceError
Use item.id directly since it is available at the start of the component from props.
2026-06-19 19:49:30 +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 7ae34a4bc0 feat(webui): use Shadcn Switch in toggle field and Rating component in search filter panel 2026-06-19 15:49:54 +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 ae39a98e84 feat(webui): replace native overflow with shadcn ScrollArea in settings 2026-06-17 15:41:43 +08:00
yiling 24a2f74035 update ui 2026-06-17 11:54:42 +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 eed812247d feat(fields): show field type icons in file views and align option colors 2026-06-12 12:02:56 +08:00
yiling 8fb3ba9533 refactor(fields): address popover code review comments on select fields 2026-06-12 11:56:39 +08:00
yiling dc26877dd2 feat(fields): stop click propagation on fields and reduce middle column width 2026-06-12 11:40:35 +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 4d0972391c fix(webui): allow item selection when clicking editable text area 2026-06-11 15:52:35 +08:00
yiling f30d68c0a2 feat(ui): implement staggered background queue downloader for bulk files 2026-06-11 12:17:00 +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 7beaf8372f feat(ui): refine visual styling for cards, sidebars, and theme colors 2026-06-11 01:50:35 +08:00
yiling 52076a82f5 fix(webui): add stable item keys to grid and list virtualizers 2026-06-10 18:22:22 +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 6e1951e8ac fix(webui): fix pagination in file browser list mode 2026-06-10 16:20:58 +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 31574b7f29 fix(webui): robust auto-pagination for virtualized file views 2026-06-08 15:35:02 +08:00
yiling d6fd05bf53 fix(webui): fix auto-pagination in virtualized file views 2026-06-08 15:31:48 +08:00
yiling 7c03cefd8d fix(webui): fix overlapping rows in virtualized views 2026-06-08 15:23:52 +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 62a2cb3589 feat(members): allow owners to manage roles and remove members 2026-06-07 15:28:05 +08:00
yiling a7e714c7d0 fix(webui): guard 'Remove from Share' in FileCard and FolderCard 2026-06-07 11:04:27 +08:00
yiling 573767220f fix(webui): guard 'Remove from Share' context menu action with canEdit 2026-06-07 10:43:39 +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 e65b3edbee feat(user-avatar): add support for uploading, cropping, and displaying user avatars 2026-06-03 19:56:07 +08:00
yiling fbd3630916 fix(ui): gate local uploading cards to current folder uploads 2026-06-03 15:30:47 +08:00