Skip to content

fix(demo): end the startup terminal on the report, hide the chat sidebar - #26

Merged
RodolpheKouyoumdjian merged 1 commit into
mainfrom
fix/startup-terminal-and-layout
Sep 11, 2026
Merged

RodolpheKouyoumdjian merged 1 commit into
mainfrom
fix/startup-terminal-and-layout

Conversation

@RodolpheKouyoumdjian

Copy link
Copy Markdown
Contributor

Found by testing the npm Codespace end to end in a browser.

  • Startup terminal stuck on a prompt. postAttachCommand: drift analyze runs in a real terminal, so after the report the CLI offered File a GitHub issue / Create a local branch / … and the terminal sat there flagged ⚠ — one keypress from filing an issue on this repo. Now drift analyze < /dev/null: non-interactive, ends on the report. Works with every published CLI version.
  • Chat sidebar squeezing the demo. Codespaces opens the secondary (chat) sidebar by default; it took a third of the window and wrapped the terminal report mid-word. Added "workbench.secondarySideBar.defaultVisibility": "hidden".
  • Corrected the stale --dir comment (that bug was fixed in @usedrift/cli 0.1.2).

All 16 devcontainers regenerated with node scripts/sync-devcontainers.mjs; node scripts/check-demos.mjs → All demos OK.

The blank Drift panel seen in the same test is an extension bug, fixed in trydrift/drift#272.

🤖 Generated with Claude Code

Tested end to end in a fresh npm Codespace:

- `postAttachCommand` ran `drift analyze` in a real terminal, so after the
  report it asked whether to file a GitHub issue or cut a branch. The startup
  terminal sat on that question with a needs-attention flag, one keypress from
  opening an issue on this repository. Stdin is now /dev/null, which the CLI
  treats as non-interactive: the report is where the command ends.
- Codespaces opened the chat secondary sidebar by default, taking a third of
  the window and wrapping the terminal report mid-word.
  `workbench.secondarySideBar.defaultVisibility: hidden` keeps it closed.

Also corrects the `--dir` comment: the subdirectory bug it described was
fixed in @usedrift/cli 0.1.2.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 11, 2026 21:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@RodolpheKouyoumdjian
RodolpheKouyoumdjian merged commit ff3aa49 into main Sep 11, 2026
1 check passed
@RodolpheKouyoumdjian
RodolpheKouyoumdjian deleted the fix/startup-terminal-and-layout branch September 11, 2026 21:02
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.

2 participants