@leftoff/cli 0.9.17-beta.4 → 0.9.17-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/bin/leftoff.js +28 -28
- package/mod/.claude-plugin/plugin.json +1 -1
- package/mod/hooks/register.js +1 -1
- package/package.json +1 -1
- package/ui/app.css +121 -20
- package/ui/app.js +277 -22
- package/ui/icons.js +9 -0
- package/ui/index.html +16 -12
- package/ui/live-view.js +2 -0
- package/ui/navrail.js +99 -0
- package/ui/semdiff.js +73 -20
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
What changed in Leftoff (called Checkpoints until 0.4.5), newest first. The board's **What's new** page and `leftoff changelog` both read this file.
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
|
+
- **Walkthrough: file status, standard diff colours, steadier scrolling.** Files show added, modified, deleted or renamed as GitHub-style square icons (+, dot, −, arrow) with the word in a tip. Diffs use GitHub's green and red everywhere, a step stronger in the line numbers. In Files, the file list and the diff scroll separately (on a phone the list folds above the diff). A slide no longer jumps back to the top when the session updates in the background, and the slides / one-page button has a tip.
|
|
7
|
+
- **The left nav on every screen.** The sidebar no longer steps aside in full screen: it stays beside a session, the walkthrough, Settings and PRs, so there's no detour through Board. Its button at the bottom (or ⌘B, Ctrl+B off a Mac, or [ when you're not typing) collapses it to a slim rail of icons, each with its name on hover, and expands it again; it's remembered on this device and opening a session never changes it. The current page is marked by a filled pill and a bar, not colour alone. When the window is too narrow, or the session panel leaves the chat too little room, it collapses for that view and comes back when there's room, without changing your choice. On a phone, ☰ in full screen's bar opens the nav as a drawer (close it with the scrim, Esc, a swipe left or by picking a page); in a Home Screen app or a browser other than Safari, a swipe in from the left edge opens it too (Safari keeps that edge for Back). Reload the board after updating.
|
|
6
8
|
- **The downloaded walkthrough shows its code again.** In the .html slideshow, the hidden slide switches shared a style with the diff lines, so every code line was hidden and slides showed only their notes.
|
|
7
9
|
- **Walk me through it.** Next to Catch me up in a session's panel, **Walk me through it** opens the session's changes as a story in place of the chat (‹ Chat goes back): a one-line summary ("9 files · 2 that matter · ~2 min read"), a bar of Core, Supporting, Mechanical and Generated drawn with a pattern and a word as well as a colour, then the changes in reading order. Core steps show their code; Supporting steps are one line with **Show code**. Things worth a second look sit under the line they mean with a glyph and a word (Look closely, Assumption, Untested), and the line is marked in the gutter. Tests that only follow along, imports, whitespace, renames, lockfiles and the same edit repeated in many files fold into **Safe to skip** groups, and a line at the end says every changed line is in a step or a group. Read since the last checkpoint, the whole session, or the session's PR (the newest checkpoint on the timeline also has **Walk through since here**). **Files** shows the plain diff file by file. Filter to **Look closely**, **Mark reviewed** each step ("1 of 4 reviewed", kept in the session's record like a pin, on every Mac), move with j and k, and **Ask about this change…** puts your question, with its file and line, in the chat box. The eye on the session's tab and board card says how many things are left to look closely at. A big change gets a file map, and is read folder by folder. **Download .html** saves one self-contained page; **Copy as Markdown** is ready to paste into a PR. On a phone it's a tall sheet. Catch me up and Walk me through it always fit in the panel, never clipped: in a narrow panel "Away 3h" becomes a small line under Catch me up, and narrower still they stack. On a desktop its controls are compact and sit on one row with the exports (dimmed, with a reason, when there's nothing to export yet); if nothing changed since the last checkpoint it shows the whole session instead of a dead end. Who writes it is set under Settings → Models & summaries (below); with no model, the plain diff and a note. After updating, run `leftoff restart`.
|
|
8
10
|
- **A session opens full screen, with its page beside the chat.** Opening a session from a card, an Open chip, a tab or a link lands in full-screen Live. On the right, a panel for that session: its name, status, repo · branch and machine; **Catch me up** at the top ("Away 3 hours · Catch me up" after time away) with **Checkpoint now** beside it; then checkpoints (newest first), what it did and details; a Terminal toggle at the bottom. Timeline, Copy resume, Copy Live resume and Done are in its ⋯. Hide it to a slim rail with ⌘\ or its chevron; it stays the way you left it. On a phone it's a sheet along the bottom that shows one line ("Working · 4 checkpoints") and Catch me up; tap it to pull it up. Between phone and laptop widths it starts as the rail, so the chat has room, until you open it. The separate session page is gone, so there's one layout. The Board tab (or Back) goes to the board; Esc in the message box clears a suggestion and no longer leaves.
|