openpencil/crates/op-host-desktop
Kayshen-X 31e5060057 feat(panels): match git empty-state to the TS GitPanelEmptyState
Faithful port of apps/web's git-panel-empty-state.tsx:

- Per-card hover effect (TS hover:/group-hover:): the card lifts 1px and
  recolors to border-primary/40 + bg-accent/30, the icon box to
  bg-primary/10 + text-primary. Tracked via the new
  GitPanelState.empty_hovered_card (0=Init / 1=Open / 2=Clone), updated
  by update_git_panel_empty_hover on cursor-move.
- Disabled Init card (no saved .op): the TS opacity-50 look + a
  not-allowed cursor (new CursorHint::NotAllowed → winit NotAllowed),
  and the requireSavedFile hint shown only on hover (TS Tooltip
  side="bottom", bg-primary text-primary-foreground).
- Gradient clock badge (from-muted/60 to-muted/20 + ring-border/60) and
  the TS container spacing (pt-8 / gap-5 / pb-6).

Adds the alpha()/over() colour helpers (Tailwind /NN opacity + compositing)
and a placement test for the per-card hover + not-allowed cursor.
2026-05-30 13:39:54 +08:00
..
assets Merge branch 's3a-orchestrator' into v0.8.0-new 2026-05-23 01:27:30 +08:00
src feat(panels): match git empty-state to the TS GitPanelEmptyState 2026-05-30 13:39:54 +08:00
Cargo.toml fix(editor): improve rust parity and figma import performance 2026-05-27 21:51:57 +08:00
Info.plist feat(panels,canvas): editable gradients/effects + SVG/image import + locale-aware dialogs 2026-05-23 23:11:38 +08:00