feat(s): Titlebar workbench & workspace drag&drop#68
Merged
Razshy merged 6 commits intoMay 29, 2026
Conversation
Remove the duplicate HTML titlebar so the VS Code TitlebarPart owns window chrome and layout height. Enable Tauri dragDropEnabled for external file drops and tighten native startDragging so it does not capture workbench tab/view DnD gestures. Co-authored-by: Cursor <cursoragent@cursor.com>
Use sidex_storage kv_store for OS frame geometry and workbench profile keys for layout. Remove unused layout columns from sidex-db window_state (schema v4) and add storage_list so TauriStorageDatabase can load persisted layout on restart. Restore maximized windows without an intermediate set_size to avoid racing LayoutStateModel startup. Co-authored-by: Cursor <cursoragent@cursor.com>
Tauri's dragDropEnabled intercepts the webview and breaks HTML5 drag-and-drop used by editor tabs (reorder/split). Disable it so workbench DnD works; external file opens still use the HTML5 FileList path. Wire TauriStorageDatabase for profile/workspace persistence in the desktop shell. Co-authored-by: Cursor <cursoragent@cursor.com>
Escape SQL LIKE metacharacters in kv_store prefix listing so scoped keys cannot leak across prefixes. Wrap window_state v4 migration in an immediate transaction with idempotent recovery after interrupted DROP. Co-authored-by: Cursor <cursoragent@cursor.com>
Added log rotation functionality to manage log file sizes and limit the number of log files. Introduced message formatting options to include timestamps and log levels. Updated logger initialization to support these new features and added commands to retrieve log size and clear logs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added log rotation functionality to manage log file sizes and limit the number of log files. Introduced message formatting options to include timestamps and log levels. Updated logger initialization to support these new features and added commands to retrieve log size and clear logs.