Skip to content

feat(organization): promote Open Policy Agent tokens on org overview - #2881

Merged
rmnbrd merged 1 commit into
stagingfrom
feat/open-policy-overview-ad
Aug 18, 2026
Merged

feat(organization): promote Open Policy Agent tokens on org overview#2881
rmnbrd merged 1 commit into
stagingfrom
feat/open-policy-overview-ad

Conversation

@jul-dan

@jul-dan jul-dan commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Issue: QOV-2165

The organization overview sidebar displayed a promotional card for the secret manager integration. We're repurposing this slot to promote the new Policy API Token feature (Open Policy Agent / rego), driving users toward the API Token settings page instead.

Screenshots / Recordings

image

Testing

  • Changes tested locally in the relevant Console's pages and Storybooks
  • yarn test or yarn test -u (if you need to regenerate snapshots)
  • yarn format
  • yarn lint

PR Checklist

  • I followed naming, styling, and TypeScript rules (see .cursor/rules)
  • I performed a self-review (diff inspected, dead code removed)
  • I titled the PR using Conventional Commits with a scope when possible (e.g. feat(service): add new Terraform service) - required for semantic-release
  • I only kept necessary comments, written in English (watch for useless AI comments)
  • I involved a designer to validate UI changes if I am not a designer
  • I covered new business logic with tests (unit)
  • I confirmed CI is green (Codecov red can be accepted)
  • I reviewed and executed locally any AI-assisted code

Replace the secret manager ad in the org overview sidebar with a highlight for
Policy API tokens, linking to the API token settings page. Add a docs link on
the Policy API Token section and track posthog events for the add button
click and successful token creation.
@nx-cloud

nx-cloud Bot commented Aug 18, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit ba081f2

Command Status Duration Result
nx run console:build --parallel=3 --configurati... ✅ Succeeded 1m 32s View ↗
nx affected --target=test --parallel=3 --config... ✅ Succeeded 3m 9s View ↗
nx affected --target=lint --parallel=3 ✅ Succeeded 2m 46s View ↗
nx-cloud record -- yarn nx format:check ✅ Succeeded 4s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-08-18 14:16:09 UTC

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.68%. Comparing base (3f8b651) to head (ba081f2).

Files with missing lines Patch % Lines
...policy-highlight/section-open-policy-highlight.tsx 0.00% 7 Missing ⚠️
...te-policy-api-token/use-create-policy-api-token.ts 0.00% 1 Missing ⚠️
.../src/lib/settings-api-token/settings-api-token.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #2881      +/-   ##
===========================================
- Coverage    47.91%   46.68%   -1.24%     
===========================================
  Files         1288      664     -624     
  Lines        27877    16348   -11529     
  Branches      8125     4849    -3276     
===========================================
- Hits         13358     7632    -5726     
+ Misses       12256     7423    -4833     
+ Partials      2263     1293     -970     
Flag Coverage Δ
unittests 46.68% <0.00%> (-1.24%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rmnbrd
rmnbrd merged commit 7e950e6 into staging Aug 18, 2026
19 of 20 checks passed
@rmnbrd
rmnbrd deleted the feat/open-policy-overview-ad branch August 18, 2026 14:47
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