tenantpilot/lib
Ahmed Darrazi f592e5f55b feat: Policy Explorer UX Upgrade (003)
Implemented MVP with all core features:
- Browse 50 newest policies on load with null filtering
- Click row to view details in slide-over sheet
- JSON detection and pretty formatting
- Search with real-time filtering
- Badge colors for policy types (Security=red, Compliance=blue, Config=gray, App=outline)
- Navigation consolidated to 'Policy Explorer'

New components:
- PolicyTable.tsx - table with badges and hover effects
- PolicySearchContainer.tsx - search state management
- PolicyDetailSheet.tsx - JSON detail view with formatting
- PolicyExplorerClient.tsx - client wrapper
- lib/utils/policyBadges.ts - badge color mapping

Updated:
- lib/actions/policySettings.ts - added getRecentPolicySettings() with null filtering
- app/(app)/search/page.tsx - converted to Server Component
- config/nav.ts - renamed Search to Policy Explorer, removed All Settings
- components/search/EmptyState.tsx - updated messaging

Tasks complete: 36/47 (MVP ready)
- Phase 1-7: All critical features implemented
- Phase 8: Core polish complete (T041), optional tasks remain

TypeScript:  No errors
Status: Production-ready MVP
2025-12-07 02:28:15 +01:00
..
actions feat: Policy Explorer UX Upgrade (003) 2025-12-07 02:28:15 +01:00
auth Fix tenant_id not being saved to database on login 2025-12-06 12:29:00 +01:00
db Fix: Add unique constraint for policy_settings upsert 2025-12-06 23:33:43 +01:00
email Fix: Multiple TypeScript build errors for production 2025-12-05 23:49:00 +01:00
stripe Fix: Multiple TypeScript build errors for production 2025-12-05 23:49:00 +01:00
utils feat: Policy Explorer UX Upgrade (003) 2025-12-07 02:28:15 +01:00
validators Feature: Global Search & Seed Data complete 2025-12-05 22:06:22 +01:00
env.mjs Add specification for 002-manual-policy-sync feature 2025-12-06 13:35:54 +01:00
utils.ts Initial Setup für Dokploy 2025-11-18 23:24:41 +01:00