Ahmed Darrazi
|
41e80b6c0c
|
feat(policy-explorer-v2): implement MVP Phase 1-3
Trigger Cloudarix Deploy / call-webhook (push) Successful in 2s
✨ New Features
- Advanced data table with TanStack Table v8 + Server Actions
- Server-side pagination (10/25/50/100 rows per page)
- Multi-column sorting with visual indicators
- Column management (show/hide, resize) persisted to localStorage
- URL state synchronization for shareable filtered views
- Sticky header with compact/comfortable density modes
📦 Components Added
- PolicyTableV2.tsx - Main table with TanStack integration
- PolicyTableColumns.tsx - 7 column definitions with sorting
- PolicyTablePagination.tsx - Pagination controls
- PolicyTableToolbar.tsx - Density toggle + column visibility menu
- ColumnVisibilityMenu.tsx - Show/hide columns dropdown
🔧 Hooks Added
- usePolicyTable.ts - TanStack Table initialization
- useURLState.ts - URL query param sync with nuqs
- useTablePreferences.ts - localStorage persistence
🎨 Server Actions Updated
- getPolicySettingsV2 - Pagination + sorting + filtering + Zod validation
- exportPolicySettingsCSV - Server-side CSV generation (max 5000 rows)
📚 Documentation Added
- Intune Migration Guide (1400+ lines) - Reverse engineering strategy
- Intune Reference Version tracking
- Tasks completed: 22/62 (Phase 1-3)
✅ Zero TypeScript compilation errors
✅ All MVP success criteria met (pagination, sorting, column management)
✅ Ready for Phase 4-7 (filtering, export, detail view, polish)
Refs: specs/004-policy-explorer-v2/tasks.md
|
2025-12-10 00:18:05 +01:00 |
|
Ahmed Darrazi
|
75979e7995
|
chore(worker): add structured logging, job events, worker health endpoint and health-check script
|
2025-12-09 12:22:16 +01:00 |
|
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 |
|
Ahmed Darrazi
|
d156244f6c
|
Feature: Global Search & Seed Data complete
|
2025-12-05 22:06:22 +01:00 |
|
Ahmed Darrazi
|
85f20147ed
|
Initial Setup für Dokploy
|
2025-11-18 23:24:41 +01:00 |
|