mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage
synced 2026-04-11 18:28:15 +00:00
feat: wizard step indicator, wider dialog, campaigns in admin sidebar, clear leads shortcut
- Import wizard: added step indicator (numbered circles), widened to max-w-5xl - Admin sidebar: added Marketing → Campaigns nav link - Clear campaign leads: Ctrl+Shift+C shortcut with campaign picker modal (test-only) - Test CSV data for all 3 campaigns - Defect fixing plan + CSV import spec docs - Session memory update Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,11 @@ const MAINT_ACTIONS: Record<string, MaintAction> = {
|
||||
label: 'Fix Timestamps',
|
||||
description: 'Correct call timestamps that were stored with IST double-offset.',
|
||||
},
|
||||
clearCampaignLeads: {
|
||||
endpoint: '__client__clear-campaign-leads',
|
||||
label: 'Clear Campaign Leads',
|
||||
description: 'Delete all imported leads from a selected campaign. For testing only.',
|
||||
},
|
||||
};
|
||||
|
||||
export const useMaintShortcuts = () => {
|
||||
@@ -61,6 +66,10 @@ export const useMaintShortcuts = () => {
|
||||
e.preventDefault();
|
||||
openAction(MAINT_ACTIONS.fixTimestamps);
|
||||
}
|
||||
if (e.ctrlKey && e.shiftKey && e.key === 'C') {
|
||||
e.preventDefault();
|
||||
openAction(MAINT_ACTIONS.clearCampaignLeads);
|
||||
}
|
||||
};
|
||||
|
||||
window.addEventListener('keydown', handler);
|
||||
|
||||
Reference in New Issue
Block a user