feat: add one-click nudge system with popover, throttling, and email notifications (Story 3.2)
Add NudgeController with 1-hour throttling per declaration, NudgePopover component on declarations index and dashboard, shadcn-vue popover primitives, and per-declaration nudge tracking. Owners/managers can nudge assigned workers with one click. Includes 10 feature tests covering authorization, throttling, and cache invalidation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,7 @@ export type DashboardDeclaration = {
|
||||
statusLabel: string;
|
||||
dueDate: string | null;
|
||||
showUrl: string;
|
||||
nudgeUrl: string | null;
|
||||
};
|
||||
|
||||
export type StatCardLink = {
|
||||
@@ -56,6 +57,7 @@ export type DashboardProps = {
|
||||
workspaceName: string | null;
|
||||
roleLabel: string | null;
|
||||
isWorker: boolean;
|
||||
canNudge: boolean;
|
||||
declarationsUrl: string | null;
|
||||
clientsUrl: string | null;
|
||||
viewAllAlertsUrl: string | null;
|
||||
|
||||
Reference in New Issue
Block a user