Make the native GPUI app work and look like the shipping desktop app

Merged
CO
1d ago
+188063-459

Summary

Context: apps/desktop-gpui on main is the October native preview, a read-only library browser that neither looks nor works like Anarlog. The shipping Tauri app is the product and the reference for behavior (ANLG-320).

Intention: The native app should be the actual working product, with shipping's screens and behavior, so we can test it on every desktop platform and then measure whether GPUI is faster.

Direction: This replaces the preview with the September GPUI port (#7720), rebuilt on current main and upstream GPUI (zed-industries/zed@053d91cb). Every route then got shipping's behavior:

  • notes, the editor and transcripts
  • recording and meeting detection
  • chat with edit review
  • calendar and contacts
  • templates and folders
  • automations and sharing
  • every settings page, the Pro surfaces and onboarding
  • the tray and lifecycle, lock, toasts and dictation
  • the AI features

The app is its own Cargo workspace with its own Rust toolchain (1.98.1) and lockfile, and the root workspace excludes it. The shipping app is unchanged, except that the logic for ignoring calendar events and series moved into db-app so both apps share it.

Corners are square and transitions near-instant on purpose. UI zoom (⌘+, ⌘− and ⌘0) works on macOS and Linux; Windows has no zoom adapter yet, so zoom does nothing there. The app also exposes an AccessKit tree for screen readers. The new gpui_ci.yaml builds and tests the app on macOS and Linux. Squash-merging collapses the branch's 104 commits; the branch keeps them.

Demo

No recording attached. The headless screens harness (ANLG_SCREENS_DIR=<dir> cargo test --locked --test screens) renders 299 screens, and they were compared side by side with shipping locally. Windows and Linux runs in real windows come next, on main.

Verification

Run locally on macOS 27 (Apple Silicon), from git archive exports of this branch:

  • apps/desktop-gpui:
    • cargo fmt --check
    • cargo test --locked --workspace: 468 unit tests, 13 AccessKit tests and the integration suites
    • cargo clippy --locked --workspace --all-targets --no-deps -- -D warnings
    • cargo build --locked
    • the screens harness: 299 captures
  • Root workspace:
    • cargo test --locked -p db-app --lib: 285 passed
    • cargo test --locked -p tauri-plugin-calendar: 77 passed
    • cargo clippy for both crates with -D warnings
  • Linux, in an Ubuntu 24.04 container (arm64): cargo test --locked --workspace, cargo clippy --locked --workspace --all-targets --no-deps -- -D warnings and cargo build --locked all pass. This found a macOS-only GPUI method in the app lock, macOS-only quit-overlay code compiling as dead code, and tests that assumed macOS shortcuts and onboarding; all are fixed. The linux job here passes too.
  • Repository checks:
    • dprint check on every changed file
    • both license-boundary scripts
    • ci.yaml's Node tests: 95 of 97 pass; the other 2 need pwsh, which is not installed locally
    • zizmor on gpui_ci.yaml: no findings

Gaps:

  • The app has never run in a real window on Windows or Linux. Windows has never been built, and has no CI job.
  • VoiceOver has not been run against the accessibility tree.
  • Zoom has not been checked in a real window.
  • Performance has not been measured yet.

Summary by cubic

Replaces the October desktop-gpui preview — a read-only library browser that neither looked nor worked like Anarlog — with a native port of the shipping desktop app's screens and behavior, rebuilt on current main and upstream GPUI (ANLG-320).

What's included

  • Notes with editor and transcripts (transcript selection actions, app-link chips, pre-meeting briefs and post-upload summaries), recording and meeting detection, scheduled meeting start/stop, chat with edit review, calendar, contacts, templates, folders, automations, sharing, all settings pages, Pro surfaces, onboarding, tray and lifecycle, lock, toasts, dictation, zoom and AI features.
  • The app is its own Cargo workspace with its own Rust 1.98.1 toolchain and lockfile; the root workspace excludes it.
  • Calendar event and series ignore logic moved into db-app so the Tauri plugin and native app share it; shipping behavior is unchanged otherwise.
  • Corners are deliberately square and transitions near-instant; clippy rejects rounding helpers.
  • UI zoom (⌘+, ⌘−, ⌘0) works on macOS and Linux; Windows has no zoom adapter yet, so zoom does nothing there.
  • The app exposes an AccessKit tree naming controls across every route and settings page, and a new gpui_ci.yaml builds and tests it on macOS and Linux.

Known gaps

  • The app has not run in a real window on Windows or Linux, and Windows has no CI job.
  • VoiceOver, zoom in a real window, and performance have not been verified yet.