tenantpilot/lib
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
..
actions feat(policy-explorer-v2): implement MVP Phase 1-3 2025-12-10 00:18:05 +01:00
auth Fix tenant_id not being saved to database on login 2025-12-06 12:29:00 +01:00
db feat(policy-explorer-v2): implement MVP Phase 1-3 2025-12-10 00:18:05 +01:00
email Fix: Multiple TypeScript build errors for production 2025-12-05 23:49:00 +01:00
hooks feat(policy-explorer-v2): Phase 6 - Enhanced Detail View 2025-12-10 00:40:09 +01:00
queue chore(worker): add structured logging, job events, worker health endpoint and health-check script 2025-12-09 12:22:16 +01:00
stripe Fix: Multiple TypeScript build errors for production 2025-12-05 23:49:00 +01:00
types feat(policy-explorer-v2): implement MVP Phase 1-3 2025-12-10 00:18:05 +01:00
utils feat(policy-explorer-v2): Phase 6 - Enhanced Detail View 2025-12-10 00:40:09 +01:00
validators Feature: Global Search & Seed Data complete 2025-12-05 22:06:22 +01:00
env.mjs chore(worker): add structured logging, job events, worker health endpoint and health-check script 2025-12-09 12:22:16 +01:00
utils.ts Initial Setup für Dokploy 2025-11-18 23:24:41 +01:00