Commit Graph
6 Commits
Author SHA1 Message Date
DarkSky 948c45e5f2 feat(desktop): match the web tab strip, tab menu, and header commands
Tab strip:
- Show a 16 px route icon and the title of each view of a tab. A click on
  a view selects the tab and focuses that pane.
- Show the close button of an inactive tab only under the pointer.
- Close a tab when the middle button goes down and up on that tab.
- Move Shift+Tab back through the views and the close button of each tab,
  then to the last control of the tab before it.
- Add the tab context menu: pin or unpin, duplicate, open in split view
  or separate the views, close, and close other tabs. Escape and a click
  outside close the menu.
- Show pinned tabs first as compact icon cards with a divider after them.
- Keep the tabs of each workspace in the local store (route, view mode,
  pin state, split views, and selection) and open them again on the next
  start, before the route and the split view of the URL and before the
  first write. A route that the store does not know opens All Docs, and a
  tab without a document that opens closes.

Header and Quick Search:
- Add "View all frames" to the more menu of an Edgeless view.
- Remove "Full width" and "Open in center peek" from the more menu.
- Add the command that sets the width of the open page.
- Replace the theme toggle with the three color mode commands and remove
  the command that splits one document into Page and Edgeless views.

Routes and fixes:
- Remove the Favorites and Folder routes. Home, search, settings, and
  folder history entries show All Docs.
- List the documents of one journal day oldest first.
- Keep the highlighted tag candidate when Backspace removes the last tag.
- Open a document, tag, or collection from the URL only in the workspace
  that the URL names.
2026-12-04 13:35:49 +09:00
DarkSky 864848c3cb feat(desktop): add document page width controls 2026-12-03 17:06:07 +09:00
DarkSky d90463e975 fix(desktop): restore workbench navigation and preferences
Keep creation and theme preferences across browser restarts. Align the preview and inspector with the editor and add a page outline rail. Record recent visits across panes and tabs.
2026-12-03 03:50:45 +09:00
DarkSky 445a1092e9 feat(desktop): keep Web Desktop workspaces in IndexedDB
Read and write each workspace through its IndexedDB v3 store.
Keep document edits and deletions in order across retries and reloads.
Seed empty workspaces under the startup lock and release it if a write
cannot start or the connection closes.

Wait for pending transactions and read the stored clocks before each
retry. Cancel queued retries when the connection closes. Compact a
document only when its snapshot and all source updates still match.
2026-12-02 15:10:57 +09:00
DarkSky 717cd97542 perf(desktop): write shell commands through the connected session
Save shell commands through the active workspace session. Seed its clock
at connection time and update folder rows after the session accepts them.

Cache document views and mount the visible sidebar rows. Clamp scroll
after the tree shrinks and reset it when the workspace changes.

Reuse the SQLite read connection for each backing and close it when
the last handle drops.
2026-12-02 06:23:12 +09:00
DarkSky 6dbd463e67 feat(frontend): connect workspace sync to the native shells and fit embedded editors 2026-12-01 23:05:25 +09:00