Skip to content

Box the setup welcome art to align correctly in clack prompts#33

Merged
ChangeHow merged 2 commits intomainfrom
copilot/fix-clark-prompt-interaction
Mar 26, 2026
Merged

Box the setup welcome art to align correctly in clack prompts#33
ChangeHow merged 2 commits intomainfrom
copilot/fix-clark-prompt-interaction

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 26, 2026

The setup welcome screen was rendered through @clack/prompts intro(), which applies a leading prompt prefix to only the first line. That caused the multi-line clark/prompt welcome art to appear shifted left relative to the rest of the interaction.

  • Welcome prompt rendering

    • Replace the setup entry banner from p.intro(...) to a boxed p.note(...) presentation.
    • Keep the existing pixel-art logo and badge content unchanged, but render them as one framed block so the layout stays visually aligned within the prompt flow.
  • Regression coverage

    • Add a focused setup UI test that asserts runSetup() renders the boxed welcome output before shell validation.
    • This locks in the intended prompt primitive so future prompt refactors do not reintroduce the alignment issue.
  • Result

    • The welcome art now participates in the same framed interaction model as the rest of the prompt UI instead of relying on a single-line intro prefix.
export async function runSetup({ defaults = false } = {}) {
  p.note(getWelcomeMessage(), "Welcome");

  if (!isZshShell()) {
    p.log.error("Suitup setup must be run from zsh.");
    // ...
  }
}

⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.

Co-authored-by: ChangeHow <23733347+ChangeHow@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ChangeHow/suitup/sessions/10a4c896-542c-4baf-a45f-0ad1eecb2c8f
Copilot AI changed the title [WIP] Fix clark prompt interaction layout issue Box the setup welcome art to align correctly in clack prompts Mar 26, 2026
Copilot AI requested a review from ChangeHow March 26, 2026 12:39
@ChangeHow ChangeHow marked this pull request as ready for review March 26, 2026 12:43
@ChangeHow ChangeHow merged commit 3feea0f into main Mar 26, 2026
1 check passed
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