Skip to content

Add API keys button and alert message configuration#3307

Merged
tom2drum merged 1 commit intomainfrom
tom2drum/api-keys-alert
Mar 4, 2026
Merged

Add API keys button and alert message configuration#3307
tom2drum merged 1 commit intomainfrom
tom2drum/api-keys-alert

Conversation

@tom2drum
Copy link
Copy Markdown
Collaborator

@tom2drum tom2drum commented Mar 3, 2026

Description and Related Issue(s)

Adds configuration for API keys button and alert message on API docs page.

Additional Information

  • Introduced NEXT_PUBLIC_ACCOUNT_API_KEYS_BUTTON to control the visibility of the "Add API key" button, allowing it to be a boolean or a URL.
  • Added NEXT_PUBLIC_API_DOCS_ALERT_MESSAGE for custom alerts on the API documentation page.

Checklist for PR author

  • I have tested these changes locally.
  • I added tests to cover any new functionality, following this guide
  • Whenever I fix a bug, I include a regression test to ensure that the bug does not reappear silently.
  • If I have added a feature or functionality that is not privacy-compliant (e.g., tracking, analytics, third-party services), I have disabled it for private mode.
  • If I have added, changed, renamed, or removed an environment variable
    • I updated the list of environment variables in the documentation
    • I made the necessary changes to the validator script according to the guide
    • I added "ENVs" label to this pull request

- Introduced `NEXT_PUBLIC_ACCOUNT_API_KEYS_BUTTON` to control the visibility of the "Add API key" button, allowing it to be a boolean or a URL.
- Added `NEXT_PUBLIC_API_DOCS_ALERT_MESSAGE` for custom alerts on the API documentation page.
- Updated relevant schemas and documentation to reflect these new environment variables.
- Enhanced the account and API documentation features to utilize the new configurations.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 3, 2026

Important

Review skipped

Auto reviews are disabled on this repository. To trigger a review, include @coderabbitai review in the PR description. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@tom2drum tom2drum added the ENVs label Mar 4, 2026
@tom2drum tom2drum merged commit b68d8c1 into main Mar 4, 2026
18 of 19 checks passed
@tom2drum tom2drum deleted the tom2drum/api-keys-alert branch March 4, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant