tenantpilot/components
Ahmed Darrazi aa598452e9
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 2s
feat(policy-explorer-v2): Phase 6 - Enhanced Detail View
Implemented Tasks T038-T046:
- T038: Created useCopyToClipboard hook with toast notifications
- T039: Skipped (unit tests - optional)
- T040: Added copy button for Policy ID field
- T041: Added copy button for Setting Name field
- T042: Added tabs for Details and Raw JSON views
- T043: Implemented Raw JSON tab with syntax highlighting
- T044: Created getIntunePortalLink utility (8 policy types)
- T045: Added Open in Intune button with URL construction
- T046: Fallback to copy Policy ID if URL unavailable

Files Created:
- lib/hooks/useCopyToClipboard.ts (65 lines)
- lib/utils/policy-table-helpers.ts (127 lines)

Files Updated:
- components/policy-explorer/PolicyDetailSheet.tsx (enhanced with tabs, copy buttons, Intune links)

Features:
- Copy-to-clipboard for all fields with visual feedback
- Two-tab interface: Details (enhanced fields) and Raw JSON (full object)
- Deep linking to Intune portal by policy type
- Clipboard API with document.execCommand fallback
- Toast notifications for user feedback
2025-12-10 00:40:09 +01:00
..
auth Initial Setup für Dokploy 2025-11-18 23:24:41 +01:00
emails Initial Setup für Dokploy 2025-11-18 23:24:41 +01:00
policy-explorer feat(policy-explorer-v2): Phase 6 - Enhanced Detail View 2025-12-10 00:40:09 +01:00
search chore(worker): add structured logging, job events, worker health endpoint and health-check script 2025-12-09 12:22:16 +01:00
ui feat: Policy Explorer UX Upgrade (003) 2025-12-07 02:28:15 +01:00
Navbar.tsx Initial Setup für Dokploy 2025-11-18 23:24:41 +01:00
Sidebar.tsx Initial Setup für Dokploy 2025-11-18 23:24:41 +01:00
SidebarItems.tsx Initial Setup für Dokploy 2025-11-18 23:24:41 +01:00
ThemeProvider.tsx Fix: Import ThemeProviderProps from next-themes root 2025-12-05 23:16:43 +01:00