tenantpilot/components/policy-explorer
Ahmed Darrazi d9afe6d3a9
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 2s
fix(policy-explorer): handle both PolicySettingRow and PolicySettingSearchResult types
The PolicyDetailSheet component now properly handles both type unions:
- PolicySettingRow (has graphPolicyId) - used in V2
- PolicySettingSearchResult (has id) - used in V1

Uses type guard to check for 'graphPolicyId' property and falls back to 'id' field.
This fixes the TypeScript compilation error in production builds.
2025-12-10 00:45:52 +01:00
..
ColumnVisibilityMenu.tsx feat(policy-explorer-v2): implement MVP Phase 1-3 2025-12-10 00:18:05 +01:00
ExportButton.tsx feat(policy-explorer-v2): implement Phase 5 - Bulk CSV Export 2025-12-10 00:30:33 +01:00
PolicyDetailSheet.tsx fix(policy-explorer): handle both PolicySettingRow and PolicySettingSearchResult types 2025-12-10 00:45:52 +01:00
PolicySearchContainer.tsx fix: Resolve search infinite loop issue 2025-12-07 22:59:07 +01:00
PolicyTable.tsx feat: Improve policy type badge system with definitive mapping 2025-12-08 11:31:45 +01:00
PolicyTableColumns.tsx feat(policy-explorer-v2): implement MVP Phase 1-3 2025-12-10 00:18:05 +01:00
PolicyTablePagination.tsx feat(policy-explorer-v2): implement MVP Phase 1-3 2025-12-10 00:18:05 +01:00
PolicyTableToolbar.tsx feat(policy-explorer-v2): implement Phase 5 - Bulk CSV Export 2025-12-10 00:30:33 +01:00
PolicyTableV2.tsx feat(policy-explorer-v2): implement MVP Phase 1-3 2025-12-10 00:18:05 +01:00
PolicyTypeBadge.tsx feat: Improve policy type badge system with definitive mapping 2025-12-08 11:31:45 +01:00
PolicyTypeFilter.tsx feat(policy-explorer-v2): implement Phase 4 - Enhanced Filtering 2025-12-10 00:28:35 +01:00