Skip to content

fix(app): resolve archived policy and compliance UI tasks#2978

Merged
tofikwest merged 1 commit into
mainfrom
tofik/archived-policies-soa-auditor-families
May 30, 2026
Merged

fix(app): resolve archived policy and compliance UI tasks#2978
tofikwest merged 1 commit into
mainfrom
tofik/archived-policies-soa-auditor-families

Conversation

@tofikwest
Copy link
Copy Markdown
Contributor

@tofikwest tofikwest commented May 30, 2026

Summary

  • CS-461: add includeArchived policy listing support and use archivedAt/isArchived consistently in policy overview and tables.
  • CS-391: make framework control and requirement family groups collapsed by default, with search still expanding matches.
  • CS-463: keep the Statement of Applicability edit action visible without hover.
  • CS-352: hide background-check tracking for auditor-only members.

Known baseline failures

  • bunx turbo run typecheck --filter=@trycompai/app still fails on existing cloud-tests fixture types, AI SDK v2/v3 mismatches, auth package duplication, and other unrelated files. No touched-file errors remain.
  • bunx turbo run typecheck --filter=@trycompai/api still fails on existing AI SDK v2/v3 mismatches, auth package duplication, integration-platform spec arity issues, and other unrelated files.

Summary by cubic

Adds archived policy support across API and app, and closes several compliance UI tasks: framework families default to collapsed, SOA edit is always visible, and auditor-only users no longer see background‑check tracking.

  • New Features

    • CS-461: Policies API now supports includeArchived=true and returns archivedAt. Default listing shows active policies only; docs and samples updated. App overview fetches with includeArchived=true and uses a shared isArchivedPolicy helper across charts, filters, and tables.
    • CS-391: Framework control and requirement family groups are collapsed by default. Search auto-expands matching families. Added robust expand/collapse-all behavior with isolated state utilities and tests.
  • Bug Fixes

    • CS-463: Statement of Applicability edit action is always visible (no hover needed) with accessible button styles.
    • CS-352: Hide background‑check tracking for auditor‑only members.
    • Added tests for SOA edit affordance, family expansion state, archived policy state, and API controller/service behavior.

Written for commit d8ce450. Summary will update on new commits.

Review in cubic

@vercel
Copy link
Copy Markdown

vercel Bot commented May 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview, Comment May 30, 2026 8:23pm
comp-framework-editor Ready Ready Preview, Comment May 30, 2026 8:23pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
portal Skipped Skipped May 30, 2026 8:23pm

Request Review

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 26 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@linear
Copy link
Copy Markdown

linear Bot commented May 30, 2026

CS-463

CS-391

CS-461

CS-352

@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 30, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
CompAI 🟢 Ready View Preview May 30, 2026, 8:26 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@tofikwest tofikwest merged commit b680e74 into main May 30, 2026
13 checks passed
@tofikwest tofikwest deleted the tofik/archived-policies-soa-auditor-families branch May 30, 2026 20:27
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.

1 participant