Skip to content

refactor: simplify AI transparency page and grouping helper#131

Merged
William-Hill merged 1 commit into
mainfrom
refactor/ai-transparency-page-cleanup
May 3, 2026
Merged

refactor: simplify AI transparency page and grouping helper#131
William-Hill merged 1 commit into
mainfrom
refactor/ai-transparency-page-cleanup

Conversation

@William-Hill
Copy link
Copy Markdown
Collaborator

Summary

Code-only cleanup for /ai-transparency (no content inventory changes).

Changes

  • Smaller presentational helpers on app/ai-transparency/page.tsx (inputs, training block, note callout, category section).
  • LucideIcon typing for category icons; section title Natural-language features for NLQ surfaces.
  • groupAISurfacesByCategory builds empty groups from AI_SURFACE_CATEGORY_ORDER to avoid duplicated category keys.

Verification

npx tsc --noEmit and eslint on the touched files pass locally.

Made with Cursor

- Extract SurfaceInputsField, SurfaceTrainingDataField, SurfaceNoteCallout, CategorySurfaceSection
- Use LucideIcon for category meta; NL section title: Natural-language features
- Build group buckets from AI_SURFACE_CATEGORY_ORDER via Object.fromEntries

Co-authored-by: Cursor <cursoragent@cursor.com>
@William-Hill William-Hill merged commit 381bbc5 into main May 3, 2026
2 checks passed
@William-Hill William-Hill deleted the refactor/ai-transparency-page-cleanup branch May 3, 2026 14:58
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