Make Changes and the terminal project-owned #15
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
lab/pilcrow#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Make Changes and the embedded terminal belong to a saved project's normalized directory instead of requiring a selected session. A project with zero sessions can open both. Changes remains a full main-area destination showing the project's current read-only working-copy diff; it never attributes files to a session or turn and does not become a split inspector.
Opening and closing Changes preserves the selected session's stream position and drafts. Keep existing Jujutsu-before-Git detection, bounded patch behavior, and failure distinctions, but authorize requests through the saved project directory rather than an arbitrary browser path.
Retain a project-wide collapsible terminal-only panel as the default terminal presentation. Remove the old information column and activity strip from that panel; context, timing, runtime diagnostics, and opaque extension details move to an on-demand details presentation. Exact responsive sizing may be chosen through real-app QA.
Acceptance criteria
Blocked by
Implemented, corrected through independent Standards/Spec review, and verified in jj revision
64131bd64aff—feat(projects): authorize workspace features through opaque saved-project identities.What shipped:
{projectId,path}records. Browser requests carry only opaque project IDs; the hub resolves exact normalized saved paths and revalidates current catalog membership after asynchronous work.Review corrections included last-session destination retention, forget/re-add authority churn, direct zero-session Terminal access, compact navigation lifecycle, destination exclusivity, centralized project/session selection, documentation, shared validation/naming, and a stable async feedback assertion. Follow-up Standards and Spec audits pass with no remaining code finding.
Verification:
vp exec tsc --noEmit,vp fmt,vp check, andgit diff --check: passed.vp checkretains four unrelated pre-existing hub lint warnings.vp run build:hub,vp run build:browser, andvp build: passed;dist/refreshed.127.0.0.1:17167without managing it. Desktop production fixture verified saved zero-session Terminal selection/path, current mocked Changes, terminal-only dock, and Details. Narrow 390×700 verified Terminal dialog, History → Changes URL replacement, and navigator Escape/close behavior.