feat: enhance scheduling and management of email notifications
- Added functionality to cancel scheduled email notifications, improving user control over their email management. - Implemented a query to list all scheduled emails for the current user, providing better visibility into upcoming notifications. - Enhanced the email schema to support scheduling features, including a timestamp for scheduled delivery. - Improved error handling and user feedback for email scheduling actions, ensuring a smoother user experience.
This commit is contained in:
@@ -9,8 +9,9 @@
|
||||
| "bell"
|
||||
| "monitor"
|
||||
| "document"
|
||||
| "teams";
|
||||
type PaletteKey = "primary" | "success" | "secondary" | "accent" | "info" | "error";
|
||||
| "teams"
|
||||
| "userPlus";
|
||||
type PaletteKey = "primary" | "success" | "secondary" | "accent" | "info" | "error" | "warning";
|
||||
|
||||
type FeatureCard = {
|
||||
title: string;
|
||||
@@ -96,6 +97,15 @@
|
||||
badgeSolid: "badge-error text-error-content",
|
||||
badgeOutline: "badge-outline border-error/30",
|
||||
},
|
||||
warning: {
|
||||
cardBorder: "border-warning/25",
|
||||
iconBg: "bg-warning/15",
|
||||
iconRing: "ring-1 ring-warning/25",
|
||||
iconColor: "text-warning",
|
||||
button: "btn-warning",
|
||||
badgeSolid: "badge-warning text-warning-content",
|
||||
badgeOutline: "badge-outline border-warning/30",
|
||||
},
|
||||
};
|
||||
|
||||
const iconPaths = {
|
||||
@@ -162,6 +172,13 @@
|
||||
strokeLinejoin: "round",
|
||||
},
|
||||
],
|
||||
userPlus: [
|
||||
{
|
||||
d: "M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z",
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round",
|
||||
},
|
||||
],
|
||||
} satisfies Record<FeatureIcon, IconPath[]>;
|
||||
|
||||
const featureCards: Array<FeatureCard> = [
|
||||
@@ -210,6 +227,15 @@
|
||||
palette: "accent",
|
||||
icon: "users",
|
||||
},
|
||||
{
|
||||
title: "Solicitações de Acesso",
|
||||
description:
|
||||
"Gerencie e analise solicitações de acesso ao sistema. Aprove ou rejeite novas solicitações de forma eficiente.",
|
||||
ctaLabel: "Gerenciar Solicitações",
|
||||
href: "/ti/solicitacoes-acesso",
|
||||
palette: "warning",
|
||||
icon: "userPlus",
|
||||
},
|
||||
{
|
||||
title: "Gestão de Times",
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user