Skip to content

FormCite 0.15.2: macOS menu bar only, top-right agent and gear, Preferences as a floating dialog, item details and the arXiv PDF - #18

Merged
nodemode-ai merged 18 commits into
mainfrom
fix/macos-shell-0.15.2
Dec 2, 2026
Merged

nodemode-ai merged 18 commits into
mainfrom
fix/macos-shell-0.15.2

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

FormCite 0.15.2: macOS menu bar only, top-right agent and gear, Preferences as a floating dialog, item details and the arXiv PDF

Summary

0.15.1 fixed the slow start and the traffic-light inset. The owner then reported five more problems on macOS. This release fixes them, and brings FormCite to every line of the Form shell standard (FORM_SHELL_STANDARD.md). Seven roles worked on one branch.

  1. macOS menus (menus role, 1943f49):
    • On a Mac the menus now live only in the system menu bar, built from the same MenuDef list as the in-window bar, with Library included.
    • A failed native build no longer opens a second bar in the window.
    • One item the system refuses is left out; it no longer drops the whole menu.
    • The in-window bar appears on a Mac only with View, Menus in Window. Windows and Linux keep the in-window bar.
    • The owner saw Tauri's default menu, which means setAsAppMenu never took effect. Either the stored choice was in-window ("menus": "window" in ~/FormCite/window-look.json), or the build rejected as a whole. The Linux shell, run under Xvfb with the Mac menu path forced on, accepted the full list.
  2. Top-right agent and gear buttons (topbar role, cde44cf, 8f95767):
    • FormPortal's icon-btn markup and SVGs, byte for byte, sit right of Add.
    • The agent button toggles the dock and shows its pressed state. The gear opens Preferences.
    • The sidebar head holds only the icon, the name and the version.
  3. Preferences as FormVis's floating dialog (prefs role, e3a7223, plus 814fef4):
    • A scrim over the window, the rail floating at the dialog's left, and the wire drawn from the active tab to the port.
    • One section at a time.
    • Closes on Esc or a click outside, with a focus trap.
    • Opened by the gear, the sidebar item, Cmd+, and the app menu.
    • On the coordinator's decision it shows and hides with no animation, as FormVis, FormPortal and FormLedger do.
  4. "I can't see the research paper" (lead):
    • Root cause: display: grid on .fc-il-row overrode [hidden], so 54 hidden pool rows covered the first screen and took the click (2da855c).
    • Adding an arXiv item now attaches its open-access PDF from arxiv.org (2700267). The download goes through a new arxiv-pdf service with its own switch and a Recent calls row, and is streamed with a type, size (100 MB), host and time (120 s) limit (14ea2ad, c7a7c7c, 45ca9d2, after the engine-tests review E1 to E11).
    • The details pane is a tabbed inspector (Info, Abstract, Tags, Files, Notes). Its head holds Open PDF (FormPDF or the system viewer), Get PDF and Open on arXiv (bab879a).
    • The Crossref open-access attachment for DOI-only papers is not in this release.
  5. Inset with the in-window bar hidden: the sidebar head starts at x 78 from first paint and drops to 16 in full screen. A window restored into full screen is handled too (traffic-lights.ts).
  6. Standard line 7 (layout role, 97cc448, e1c5ffd, 532d4a7):
    • Empty states with their main actions.
    • Every view fits at 1440 by 900 and 1280 by 800.
    • Sidebar Collections and Tags fold and scroll in their own capped regions.
    • The dock toggle shifts nothing (a756f29).

Tests

  • npm run build (tsc and vite) passes at 50b1992.
  • Backend compileall and --selfcheck (formcite 0.15.2) pass.
  • Style regression set: 12 of 12.
  • engine-tests reviewed the network and PDF code against live arXiv and with fault probes (size, type, gzip bomb, slow drip, cut-off and chunked bodies, concurrency, switches). No findings are open, apart from Crossref open-access, which is out of scope.
  • verify ran an independent check at a756f29: headless Chrome at CPU 4x, a stand-in macOS shell that builds and fires the real menu tree, 1440 by 900 and 1280 by 800, dark and light. Every line of the standard and the owner's five items pass. Layout shift is 0 on load, on opening Preferences and switching its sections, on toggling the dock, and on switching views and detail tabs.
  • The lead re-checked 814fef4: the dialog opens and closes in the same frame, with 0 shift.
  • The Linux Tauri shell was built and run under Xvfb.
  • Not run:
    • a build or launch on macOS or Windows;
    • a packaged build;
    • the Codex, Cursor and Antigravity tabs.

…o longer opens a second bar in the window, and one refused item no longer drops the whole menu
…with the rail, the wire to the active tab and one section at a time
…itle show an empty state with their main actions, and every view fits at 1280 by 800
…emember it and scroll in their own share of the sidebar, with tags as chips
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner December 2, 2026 01:56
@nodemode-ai
nodemode-ai merged commit 64d589e into main Dec 2, 2026
7 checks passed
@nodemode-ai
nodemode-ai deleted the fix/macos-shell-0.15.2 branch December 2, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant