Skip to content

Decir que o cierra sesión, donde alguien lo buscaría - #20

Merged
borjaperfra merged 1 commit into
mainfrom
fix/advertise-signout
Sep 14, 2026
Merged

borjaperfra merged 1 commit into
mainfrom
fix/advertise-signout

Conversation

@borjaperfra

Copy link
Copy Markdown
Contributor

It was only behind ?, which is a place you find something in if you already suspect it is there. Reported as exactly that: "en ningún lado aparece que pulsando o dos veces te deslogeas".

Three places now, each the one a person would actually check:

The Profile tab — the account screen, and where the two presses are spelled out. That half is the surprising one:

  Handle:               bperez
  Plan:                 pro

  o  sign out of this account, twice to confirm

The Setup tab footer, next to the keys it already lists:

  ↑/↓ navigate   space toggle   c configure selected   o sign out

Home, where the keys are introduced — and only when there is a session to end. Offering to sign out of a session that is not there is noise, and on a fresh machine that line would sit under the "Start here" block telling you to sign in.

One row had to come from somewhere

Home was exactly at the viewport of a 24-row terminal, and the test said so:

config_test.go:599: Home is 21 rows, the viewport of a 24-row terminal is 20

"Getting around" had a blank line under its header and "The tabs" did not. Making the two agree pays for it, and looks tidier than it did.

Version goes to 0.1.17.

It was only behind `?`, which is a place you find something in if you already
suspect it is there. Reported as exactly that: nowhere does it say pressing o
twice signs you out.

Three places now, each the one a person would actually check:

- The Profile tab, which is the account screen, and where the two presses are
  spelled out - that half is the surprising one.
- The Setup tab footer, next to the other keys it already lists.
- Home, where the keys are introduced, and only when there is a session to
  end. Offering to sign out of a session that is not there is noise, and on a
  fresh machine that line would sit under the "Start here" block telling you
  to sign in.

Home was exactly at the viewport of a 24-row terminal, so the extra line had
to come from somewhere. "Getting around" had a blank line under its header and
"The tabs" did not; making the two agree pays for it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@borjaperfra
borjaperfra merged commit 99a523e into main Sep 14, 2026
5 checks passed
@borjaperfra
borjaperfra deleted the fix/advertise-signout branch September 14, 2026 15:07
borjaperfra added a commit to helmcode/nan that referenced this pull request Sep 14, 2026
Signing out was only documented behind the help screen. It is on the Profile
tab, in the Setup footer and in Home's key list now. helmcode/nan-cli#20.

Co-authored-by: borjaperfra <borjaperfra@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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