What's Changed in v0.3.3
🐛 Bug Fixes
- File rename not working: Fixed a race condition in the context menu where
closeFileContextMenu()nullified the target file reference before the rename dialog could use it. Rename now captures the target in a dedicatedrenameTargetfield that survives context menu cleanup. (fb65d19) - File/folder delete returning 401: The delete and trash handlers required mandatory auth extractors (
CurrentUserId,AuthUser) that failed when authentication wasn't configured. Added new infallible extractorsOptionalUserIdandOptionalAuthUser— delete now works with auth (trash-first) and without auth (permanent delete). (fb65d19) - Folder delete same 401 issue: Applied the same
OptionalAuthUserfix todelete_folder_with_trashand the genericmove_to_trashhandler for consistency. (fb65d19) - View file context menu crash: The "View file" option used
.then()/.catch()withoutasync/await, causingcloseFileContextMenu()to run synchronously and nullify the file reference before the async callbacks could use it. Fixed by capturing the file in a local variable before the fetch. (fb65d19) - Orphaned ID mappings on file delete:
FileFsWriteRepository::delete_fileremoved the physical file but didn't clean up its entry in the ID mapping service, leaving stale entries infile_ids.json. Now callsremove_id()+save_changes()after deletion. (fb65d19) Authorization: Bearer nullheaders: Multiple JS files sentAuthorization: Bearer nullwhen no token was present, potentially causing 401 errors. Added null guards incontextMenus.js,app.js, andfavorites.jsconsistent with the safegetAuthHeaders()pattern. (fb65d19)
⭐ Favorites
- Favorites not displaying in Favorites tab:
GET /api/files/{id}always returned the binary file content, so the favorites module couldn't parse metadata. Added?metadata=truequery parameter support that returns JSON metadata instead of the file body. (5c53d94) - Star indicator on favorited items: Favorited files and folders now show a ⭐ star icon — top-left corner in grid view, inline next to the name in list view. The star appears/disappears immediately when toggling favorites from the context menu. (5c53d94)
Full Changelog: v0.3.2...v0.3.3
Full Changelog: v0.3.2...v0.3.3