Skip to content

chore: refine post-install next-step prompt#235

Merged
UtkarshBhardwaj007 merged 1 commit into
mainfrom
chore/clean-install-next-step
Jun 1, 2026
Merged

chore: refine post-install next-step prompt#235
UtkarshBhardwaj007 merged 1 commit into
mainfrom
chore/clean-install-next-step

Conversation

@UtkarshBhardwaj007
Copy link
Copy Markdown
Member

What

The post-install install.sh output previously showed playground init and pg init as co-equal commands, followed by a literal "Both commands work the same." line. This reads as childish next to how serious CLIs (npm, gh, cargo, vercel) present a next step.

This change surfaces a single canonical command and demotes the alias to one dimmed tip line below the box.

Before:

╭─ next step ──────────────────────────────╮
│ Run playground init or pg init to log in │
│ with the Polkadot mobile app.            │
│ Both commands work the same.             │
╰──────────────────────────────────────────╯

After:

╭─ Next step ────────────────────────────╮
│ Log in with the Polkadot mobile app:   │
│                                         │
│   playground init                      │
╰────────────────────────────────────────╯
  Tip: pg is a short alias for playground.

Also drops the (or pg init) parenthetical from the dependency-setup failure message for the same reason.

Notes

  • Box rows verified to a uniform 42 columns.
  • Patch changeset included.

Surface a single canonical command (playground init) and note the pg
alias once on a dimmed tip line, instead of presenting playground init
and pg init as co-equal commands followed by a "both work the same"
line. Mirrors the npm/gh/cargo convention. Also drops the alias
parenthetical from the dependency-setup failure message.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Dev build ready — try this branch:

curl -fsSL https://raw.githubusercontent.com/paritytech/playground-cli/main/install.sh | VERSION=dev/chore/clean-install-next-step bash

@UtkarshBhardwaj007 UtkarshBhardwaj007 merged commit f894bee into main Jun 1, 2026
16 of 19 checks passed
@UtkarshBhardwaj007 UtkarshBhardwaj007 deleted the chore/clean-install-next-step branch June 1, 2026 11:39
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

E2E Test Pass · ❌ FAIL

Tag: e2e-ci-pr · Branch: chore/clean-install-next-step · Commit: 17c7d22 · Run logs

Cell Result Time
pr-mod ❌ FAIL 2m14s
pr-deploy-foundry ✅ PASS 0m46s
pr-preflight ✅ PASS 2m12s
pr-deploy-cdm ❌ FAIL 1m02s
pr-install ✅ PASS 0m54s
pr-init-session ✅ PASS 1m59s
pr-deploy-frontend ❌ FAIL 8m23s
${{ matrix.cell }} ⏭️ SKIP 0m00s
${{ matrix.cell }} ⏭️ SKIP 0m00s

Sentry traces: view spans for this run

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