Skip to content

Cloud mode v2: unify no-auth-secret label#10783

Open
abhishekp106 wants to merge 2 commits into
masterfrom
oz/cloud-mode-v2-no-secret-label
Open

Cloud mode v2: unify no-auth-secret label#10783
abhishekp106 wants to merge 2 commits into
masterfrom
oz/cloud-mode-v2-no-secret-label

Conversation

@abhishekp106
Copy link
Copy Markdown
Contributor

@abhishekp106 abhishekp106 commented May 13, 2026

Summary

  • In cloud mode v2, the auth secret selector showed a discrepancy between the menu item label ("No secret") and the button label when no secret was selected ("No API key").
  • Both labels now use the same text: "Inherit from environment" — which more clearly communicates what happens when no secret is selected.

Fixes https://linear.app/warpdotdev/issue/APP-4416/consider-renaming-no-api-key-to-something-that-makes-sense

Testing

Screenshot 2026-05-12 at 7 27 37 PM

This PR was created by Oz (running Claude Code).

…rom environment"

Previously the menu showed "No secret" while the selected-button label showed
"No API key" for the same state. Use a single, more descriptive label in both
places so the empty-selection state is consistent.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 13, 2026
Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@abhishekp106 abhishekp106 marked this pull request as ready for review May 13, 2026 00:29
@abhishekp106 abhishekp106 requested a review from liliwilson May 13, 2026 00:29
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 13, 2026

@abhishekp106

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR centralizes the no-auth-secret label so the selector button and menu item use the same user-facing copy.

Concerns

  • The implemented copy uses Inherit from environment, while the PR description says the intended text is Inherit credentials from environment; align the code or PR description so reviewers know which wording is intended.

Verdict

Found: 0 critical, 0 important, 1 suggestions

Approve with nits

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

const SIDECAR_HEADER_LABEL: &str = "Choose a type";

const NO_SECRET_LABEL: &str = "No API key";
const NO_SECRET_LABEL: &str = "Inherit from environment";
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.

💡 [SUGGESTION] The PR description says the intended label is Inherit credentials from environment, but the implementation omits credentials. Align the shipped copy with the documented wording, or update the PR description if the shorter label is intentional.

Suggested change
const NO_SECRET_LABEL: &str = "Inherit from environment";
const NO_SECRET_LABEL: &str = "Inherit credentials from environment";

Copy link
Copy Markdown
Contributor

@liliwilson liliwilson May 13, 2026

Choose a reason for hiding this comment

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

Middleground with the agent... maybe "Inherit key from environment" ?

const SIDECAR_HEADER_LABEL: &str = "Choose a type";

const NO_SECRET_LABEL: &str = "No API key";
const NO_SECRET_LABEL: &str = "Inherit from environment";
Copy link
Copy Markdown
Contributor

@liliwilson liliwilson May 13, 2026

Choose a reason for hiding this comment

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

Middleground with the agent... maybe "Inherit key from environment" ?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants