El setup como cuatro pasos, bajo el banner, con salida - #19
Merged
Merged
Conversation
Asked for by name: the banner first, then the four steps enumerated, a face on
each, and a way to sign out.
What was there asked one question at a time and never said how many there
were. The sign-in screen said "Step 1 of 2" and then handed the member back to
the panel to find the other two on their own, which is the shape of the whole
complaint: guided for one step and a scavenger hunt after it.
Now it is one screen that owns the terminal - no tab bar to wander into - with
the mascot and the wordmark on top and the four steps listed, the one you are
on marked and the ones behind it ticked:
✓ 1. Let's get you logged in
✓ 2. Let's confirm it with the magic link
▶ 3. Let's set up your API key
4. Let's configure your tools
The mascot has a face per step rather than one for the whole thing: thinking
while it waits for the link, happy when the last one is done.
Signing out is `o`, twice. `nan auth logout` already existed as a command,
which is no use to somebody looking at the panel who wants to switch accounts.
It takes the key and the cached tabs with it - the key lives in the same file,
and those numbers were true for somebody else - and drops straight back into
the setup, which is the only thing left to do.
Esc leaves the setup for the panel and does NOT quit the program: someone who
skipped a step has not asked to close the CLI.
The tool list is one function now, shared by the Setup tab and the last step,
because two copies of a list with a cursor in it would drift the first time
either moved.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
borjaperfra
added a commit
to helmcode/nan
that referenced
this pull request
Sep 14, 2026
The setup is one guided screen now - banner, four numbered steps, the tool list inline on the last one - and the panel can sign you out with `o`. helmcode/nan-cli#19. Co-authored-by: borjaperfra <borjaperfra@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Asked for by name: the banner first, then the four steps enumerated, a face on each, and a way to sign out.
What was wrong with the last one
It asked one question at a time and never said how many there were. The sign-in screen said "Step 1 of 2" and then handed the member back to the panel to find the other two on their own — guided for one step and a scavenger hunt after it.
Now
One screen that owns the terminal — no tab bar to wander into — with the mascot and the wordmark on top:
The last step shows the tool list inline, so
spaceandcfinish the setup without leaving it.The mascot has a face per step rather than one for the whole thing: thinking while it waits for the link, happy when the last one is done.
Signing out
o, twice.nan auth logoutalready existed as a command, which is no use to somebody looking at the panel who wants to switch accounts. It takes the key and the cached tabs with it — the key lives in the same file, and those numbers were true for somebody else — and drops straight back into the setup, which is the only thing left to do.Any key other than
ocalls the confirmation off.Esc
Leaves the setup for the panel and does not quit the program: someone who skipped a step has not asked to close the CLI.
One refactor
The tool list is one function now, shared by the Setup tab and the last step. Two copies of a list with a cursor in it would drift the first time either moved.
Version goes to 0.1.16.