Skip to content

docs(extension): document inline sign-in prompt for signed-out state#593

Draft
samgutentag wants to merge 1 commit intomainfrom
sam-gutentag/extension-signed-out-indicator
Draft

docs(extension): document inline sign-in prompt for signed-out state#593
samgutentag wants to merge 1 commit intomainfrom
sam-gutentag/extension-signed-out-indicator

Conversation

@samgutentag
Copy link
Copy Markdown
Member

Summary

  • Updates merge-queue/chrome-extension.md to describe the inline Sign in to Trunk row that now appears in the extension panel when the Trunk session is signed out
  • Clarifies the troubleshooting FAQ to check for the sign-in prompt before other causes

Source

Test plan

  • Preview in GitBook

Generated by Claude Code

The extension now renders a "Sign in to Trunk" row in the PR panel when
the Trunk session is signed out, replacing the previous silent behavior.
Update the auth description and the troubleshooting FAQ accordingly.

Source: trunk2 PR #3815
Linear: TRUNK-18155

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@trunk-staging-io
Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@claude
Copy link
Copy Markdown
Contributor

claude Bot commented May 1, 2026

Claude finished @samgutentag's task in 41s —— View job


Review

  • Read CLAUDE.md (not found — no repo-specific guidelines)
  • Read changed file and diff
  • Review for typos, grammar, formatting, and documentation best practices
  • Post review feedback

The changes are clear and well-structured. The updated session-based auth description and the reordered FAQ troubleshooting steps are both improvements. One minor grammar fix to note:

merge-queue/chrome-extension.md, line 52:

once signed in the panel switches to the standard merge queue view automatically

Missing comma after the introductory clause — should be: once signed in, the panel switches to the standard merge queue view automatically.

Everything else looks good — accurate, appropriately specific, and consistent with the surrounding doc style.

The extension does **not** ask you for credentials, API tokens, or a separate password. It authenticates by reusing your existing browser session at [app.trunk.io](https://app.trunk.io/) — the same session you already use for the Trunk web app.

* **Session-based auth.** When you take an action in the extension, the request is sent to the Trunk API with the cookies your browser already holds for `app.trunk.io`. If you aren't signed in, the extension prompts you to sign in once via the normal Trunk login flow; from then on it piggybacks on that session.
* **Session-based auth.** The extension reads your existing browser session at `app.trunk.io` on every PR page load. If you are signed out, the panel shows an inline **Sign in to Trunk** row instead of merge queue controls. Clicking through that row completes the normal Trunk login flow; once signed in the panel switches to the standard merge queue view automatically.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor: missing comma after the introductory clause.

Suggested change
* **Session-based auth.** The extension reads your existing browser session at `app.trunk.io` on every PR page load. If you are signed out, the panel shows an inline **Sign in to Trunk** row instead of merge queue controls. Clicking through that row completes the normal Trunk login flow; once signed in the panel switches to the standard merge queue view automatically.
* **Session-based auth.** The extension reads your existing browser session at `app.trunk.io` on every PR page load. If you are signed out, the panel shows an inline **Sign in to Trunk** row instead of merge queue controls. Clicking through that row completes the normal Trunk login flow; once signed in, the panel switches to the standard merge queue view automatically.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Auto-approved: Claude code review passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants