Commit Graph

7 Commits

Author SHA1 Message Date
Ahmed Darrazi
414eb709b9 Add implementation plan for Policy Explorer UX Upgrade
Phase 0 (Research): 6 key decisions to make
- Server/Client composition pattern for initial data + search
- Null filtering strategy (backend vs frontend)
- JSON formatting approach (native vs syntax highlighter)
- Badge color mapping for policy types
- Route strategy (/search redirect vs replacement)
- Sheet component state management

Phase 1 (Design): API contracts and component design
- getRecentPolicySettings() Server Action (new)
- searchPolicySettings() extension with limit param
- PolicyDetailSheet component (Shadcn Sheet)
- PolicyTable component with click handlers
- PolicySearchContainer client wrapper

Phase 2 (Implementation): 44 tasks across 7 epics
- Epic 1: Backend Server Actions (P1, T001-T005)
- Epic 2: Detail Sheet component (P1, T006-T011)
- Epic 3: Table & Search components (P1, T012-T018)
- Epic 4: Page refactor (P1, T019-T024)
- Epic 5: Navigation update (P2, T025-T029)
- Epic 6: Visual improvements (P3, T030-T034)
- Epic 7: Testing & validation (T035-T044)

Constitution compliance:  All checks pass
Performance targets: <2s initial load, <300ms detail sheet, <2s search
No database changes required - extends existing schema
2025-12-07 02:09:53 +01:00
Ahmed Darrazi
06341038ea Add specification for Policy Explorer UX Upgrade
- Feature 003: Transform global search into full Policy Explorer
- Show 50 newest policies by default (no empty state)
- Filter out null values automatically
- Add clickable rows with detail sheet for JSON formatting
- Improve visual hierarchy with policy type badges
- Consolidate navigation (remove 'All Settings')

Spec includes 4 prioritized user stories (P1/P2/P3), 11 functional requirements, and 6 measurable success criteria. All requirements are testable and technology-agnostic.

Checklist validation: All items pass 
2025-12-07 02:06:19 +01:00
Ahmed Darrazi
156df400f0 merge: Integrate 001-global-policy-search spec clarifications
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
2025-12-07 01:55:27 +01:00
Ahmed Darrazi
f3d074e105 docs: Add clarifications to 001-global-policy-search spec 2025-12-07 01:50:13 +01:00
Ahmed Darrazi
bd7758191e Switch to development branch and update deployment workflow
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
2025-12-06 20:42:10 +01:00
Ahmed Darrazi
88c1474884 Add specification for 002-manual-policy-sync feature 2025-12-06 13:35:54 +01:00
Ahmed Darrazi
d156244f6c Feature: Global Search & Seed Data complete 2025-12-05 22:06:22 +01:00