Skip to content

Release 0.4.0: timeline manager, one-page Settings, Tern 0.9.0 - #3

Merged
bmanturner merged 5 commits into
mainfrom
design/manager-shape
Oct 16, 2026
Merged

bmanturner merged 5 commits into
mainfrom
design/manager-shape

Conversation

@bmanturner

@bmanturner bmanturner commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

What

Release 0.4.0: the manager is redesigned around one question, what happened since I last looked?, Settings becomes one page, and the plugin is built and tested on Tern 0.9.0.

  • Timeline (new default). Results since you last looked above a Now rule, each active job once below it at its next run, paused, manual-only and broken jobs at the bottom. A run in progress sits on Now. When nothing is new, one line says so; on a first visit it names the first run. More than eight new results fold into one summary per job; failures keep their own rows. Settings › Display › Layout brings back the Classic job list.
  • Job details beside the list at 150+ columns (following the selection), full-width below that: latest result, settings, prompt, one line per run with outcome, duration and cost.
  • Seen state. New results fade after three seconds, or stay until Mark all seen (s, shown only when something is unseen). A failure marker stays on its job until the next success.
  • Settings is one page (Status, Display, Where runs start, Limits, Setup). Status says whether Agent Scheduler is ready to run jobs and lists each problem with its next step; Check again checks in place. Segmented choices, typed numbers, rejected input kept with its reason, Reset, Shift+Tab, key legend.
  • Time format setting (Automatic / 12-hour / 24-hour) everywhere times appear.
  • One button style in the docks, the job form and dialogs, with the Enter action highlighted. Help grouped into The selected job, Move and open, All jobs.
  • Job form: Only when conditions that are off collapse to their switch; Check now only when one is on.
  • Empty state: "Start from an example" with a draft-opening Enter and the list's dock.

Fixes

  • Tern 0.9.0: every scheduled run ended as "Closed by you." about five seconds after it started (omp kept running orphaned): Tern 0.9.0 lists a run tab's shell argv as {"-c", cmd} instead of {"-l", "-c", cmd}, so tern_state.marker never matched. It now accepts both; the fake tern reports Tern 0.9.0's shape, so the whole suite covers it (it fails without the fix).
  • Missed runs no longer count as failures; cron steps read "Every 2 hours"; runs are listed at their start time; countdowns round up to the minute; Settings no longer lets the list show through under window glass; "Invalid job id.." double period.

Release

  • plugin.toml 0.4.0, CHANGELOG.md 0.4.0 section, README refreshed with new light/dark screenshots (<picture>), Tern 0.9.0 in README, the setup check and the fake tern; tern.d.luau regenerated (no API change).

Testing

  • bun run test: 33 suites pass, including runner_settings and the new timeline/empty-state cases in runner_manager.
  • Live in isolated Tern 0.9.0 instances (own config and daemon, seeded demo data): calm, first-visit, results, empty and narrow states, Settings, Help, docks, light and dark; one real @smol omp run (finished, about $0.004) for the hero screenshot, which is how the 0.9.0 run bug was found.

…ime format

- Timeline is the default list: results since you last looked above a Now rule,
  each active job once below it at its next run; paused, manual-only and broken
  jobs at the bottom. Backlogs over eight results fold to one summary per job,
  failures stay listed individually. Classic job list remains as a setting.
- Job details beside the list at 150+ columns; full-width below that.
  Latest result called out, settings block, one-line run history; chart removed.
- Seen state: new results fade after three seconds (or stay until marked seen);
  mark all seen with s. Failure marker stays until the job's next success.
- Restyle with Tern theme tokens only: UI font for names, mono for numbers,
  edge markers for new results, accent selection, Now pill, raised details card,
  grouped dock with inline keycaps. Motion respects reduced motion.
- Time format setting (Automatic / 12-hour / 24-hour) with one shared formatter.
- Fixes: missed runs no longer counted as failures, cron steps read as
  'Every 2 hours', consistent start-time timestamps, ceil-minute countdowns,
  'Invalid job id..' double period.
- Settings palette command; PRODUCT.md and the design brief for future work.
- Only when: a condition that's off shows just its toggle row; its settings
  appear when turned on (values kept). Replaces ~13 'Turn on X first' hints.
- Check now only when at least one condition is on.
- 'If your computer was asleep' value fits ('Run once if under 3h late').
- Search box hidden in the job form (prefs has no field search to wire up).
- Save & run now copy matches Run now behavior (asks when a condition says no);
  shorter hints throughout.
- Prompt previews drop Markdown heading marks.
- Form typography matches the manager (UI font for labels, mono for times).
- Settings is one "Agent Scheduler Settings" sheet with Status, Display,
  Where runs start, Limits and Setup sections. Status shows a verdict, one
  line per problem with the next step, and "Checked HH:MM" after Check
  again; the separate Check setup dialog is gone (its availability text
  moved to Help).
- Settings rows: segmented Time format and Layout, typed values on number
  rows, rejected input keeps the draft with the reason above the field,
  Reset via the kit's changed dot, value-aware hints, pinned key legend.
  Shift+Tab moves back; Left/Right only step numbers and segments.
- Settings sheet has an opaque, blurred backing; plugin button CSS no longer
  restyles the kit's own buttons (off-centre close X, double outlines).
- Timeline: when nothing is new, one quiet line ("Nothing new since 08:00.",
  or "Nothing has run yet. <job> runs first, …" on a first visit) replaces
  the last-looked rule, empty bands and Now pill. The Now rule appears only
  with results above it or runs at it; empty sections are never drawn.
- Now pill text is opaque and readable in dark and light; glow removed.
- Mark all seen (button and s) appears only when something is unseen.
- Empty state: readable "Start from an example" heading, example icon and
  "⏎ use" hint, one-line availability note, and the list's dock.
- Narrow panes keep each job's next-run time and example names whole.
- Selected rows keep their outline on hover.
- Job and global dock actions are the same outlined buttons; the tray
  around the job group and the divider before the global group are gone.
  The 20px gap and the "<job> · selected job" caption show their scope.
- The default (Enter) action is accent-tinted: Open, Resume run, Use
  example, Save, Run now. A blocked Save is dimmed; Stop run reads in red.
- Delete and Pause all end their groups in muted text; Help moves before
  Pause all.
- The job form's dock and the Stop, first-run, Run anyway and Conditions
  dialogs use the same button instead of the old pill badges (C.badge is
  gone); buttons without a key show no empty keycap.
- Help is grouped into The selected job, Move and open, and All jobs, in
  two columns that fold to one in narrow panes. Keys are written as the
  dock writes them (lowercase as typed, a capital means shift), "When jobs
  run" has its own section, and a Close button sits in the footer.
…shots

- Tern 0.9.0 lists a run tab's shell argv as {"-c", cmd}; tern_state.marker
  only matched {"-l", "-c", cmd}, so every run ended as "Closed by you."
  about five seconds after it started. It now accepts both. The fake tern
  reports Tern 0.9.0's argv, so the suite fails without the fix.
- Built and tested on Tern 0.9.0: README, the setup check and the fake
  tern version (tern.d.luau regenerated, unchanged).
- plugin.toml 0.4.0 and the CHANGELOG 0.4.0 section.
- README: new light/dark screenshots (manager with a live run, job
  details beside the list, New job form) via <picture>; manager section
  rewritten for users; old screenshots removed.
@bmanturner bmanturner changed the title Manager redesign: timeline, side-by-side details, restyle, time format Release 0.4.0: timeline manager, one-page Settings, Tern 0.9.0 Oct 16, 2026
@bmanturner
bmanturner marked this pull request as ready for review October 16, 2026 17:27
@bmanturner
bmanturner merged commit a40b2e8 into main Oct 16, 2026
1 check passed
@bmanturner
bmanturner deleted the design/manager-shape branch October 16, 2026 17:35
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