Skip to content

refactor(site): show audit log retention and Premium paywall on observability settings - #27947

Merged
jakehwll merged 2 commits into
mainfrom
jakehwll/observability-settings-paywall
Aug 17, 2026
Merged

refactor(site): show audit log retention and Premium paywall on observability settings#27947
jakehwll merged 2 commits into
mainfrom
jakehwll/observability-settings-paywall

Conversation

@jakehwll

@jakehwll jakehwll commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

The Audit Logging section on deployment observability settings only showed a badge or an info alert, with no actual setting underneath.

When audit logging is entitled, show the Audit Logs Retention option. When it is not, show the shared Premium paywall instead of the inline alert.

…vability settings

The Audit Logging section on deployment observability settings only showed a badge or an info alert, with no actual setting underneath.

When audit logging is entitled, show the Audit Logs Retention option. When it is not, show the shared Premium paywall instead of the inline alert.
@jakehwll
jakehwll requested a review from untra August 9, 2026 04:29

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 39bd83f41b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +42 to +44
<OptionsTable
options={options.filter((o) => o.name === "Audit Logs Retention")}
/>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Label both options tables for screen readers

When audit logging is enabled, this newly added OptionsTable renders alongside the existing Monitoring table, but OptionsTable emits a <table> with neither an aria-label nor a caption. Both tables therefore have the same "Option" and "Value" headers and are indistinguishable to screen-reader users; extend OptionsTable to accept an accessible name and label both instances.

AGENTS.md reference: site/AGENTS.md:L191-L195

Useful? React with 👍 / 👎.

@untra untra left a comment

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.

did I recently break this with #27847 adjustments ? this may be on me.

@jakehwll
jakehwll enabled auto-merge (squash) August 17, 2026 07:06
Reconcile with main's PaywallPremium refactor: drop the removed
documentationLink prop and update ObservabilitySettingsPageView stories
to assert the refactored Premium paywall DOM.
@jakehwll
jakehwll merged commit 0350bfd into main Aug 17, 2026
23 checks passed
@jakehwll
jakehwll deleted the jakehwll/observability-settings-paywall branch August 17, 2026 07:19
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants