Commit Graph
9 Commits
Author SHA1 Message Date
hh 70cf985aa1 refactor(inset): the bottom-inset arithmetic becomes testable, and is tested
The measurement lived inside the view, where the only way to check it was to
run Obsidian on a phone. It moves to a pure `insetFor(leaf, bars, visible)`
against the numbers a phone reports - including the case the events hid: while
the keyboard is up the navbar is behind it, so the deeper of the two is the
inset and adding them would push the composer twice as far as it must go.
2026-09-05 00:49:54 +02:00
hh a04ad0094f fix(css): an icon-only grid button centres its icon again
Obsidian styles every `button` with `justify-content: center`, so the reset
answers with `flex-start` - which also lands on a grid button and overrides
the inline half of its `place-items: center`. The rail's connection dot came
out pinned 12px left of centre inside its own hit area.
2026-09-05 00:28:50 +02:00
hh cc46abc34f fix(view,panel): the composer clears the navbar and the keyboard, panel opens on the master
The inset only knew the desktop status bar, so on a phone the composer sat
under the navbar - which paints over a leaf instead of shortening it - and
the software keyboard hid it outright. Every bottom bar is measured now, and
the keyboard is read off `visualViewport`: it shrinks the visible area
without resizing the layout, so no workspace event fires and the panel had
no way to know. Focus re-measures once iOS has finished animating the keys in.

The panel asks the shell to fall back to the latest master, so opening it on
a phone lands in the day's thread rather than on a prompt.

The preview fixtures anchor at midday instead of the wall clock: spread over
hours, a run just after midnight pushed half of them into yesterday and
emptied the "Today" group the switcher smoke checks.
2026-09-05 00:20:33 +02:00
hh a76ee29255 test(smoke): subagent tool calls read as Agent 2026-09-04 20:24:02 +02:00
hh cec5aef98c feat(panel): island, rail by day, companion mode beside a deep note, cached index and threads, obsidian skin for strips 2026-09-02 03:48:42 +02:00
hh 126e8b0451 fix(css): scope the subject compound so theme-dark rules keep matching 2026-08-29 19:50:03 +02:00
hh 353ee143f6 fix(css): leave tailwind theme vars on :root so obsidian's accent wins inside the panel 2026-08-29 19:42:55 +02:00
hh ab22efff7b fix(css): scope utilities under the view root so tailwind plugins stop outranking each other 2026-08-29 19:39:21 +02:00
hh 04400c5076 feat(*): svelte 5 panel view sharing the gateway ui, obsidian theme, preview and tests 2026-08-29 18:30:31 +02:00