feat(notify): 쪽지함에 작업(task) 알림 유형 아이콘/색 추가
All checks were successful
build-and-push / build (push) Successful in 30s
All checks were successful
build-and-push / build (push) Successful in 30s
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6bbdf4311d
commit
50fb1a1253
@ -1,16 +1,16 @@
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
||||
import { Inbox as InboxIcon, FolderKanban, CalendarCheck, Coins, Wallet, CheckCheck } from "lucide-react";
|
||||
import { Inbox as InboxIcon, FolderKanban, CalendarCheck, Coins, Wallet, CheckCheck, CheckSquare } from "lucide-react";
|
||||
import { getNotifications, markNotificationRead, markAllNotificationsRead } from "@/lib/api";
|
||||
import { Card, Button, PageHeader, EmptyState, LoadingState } from "@/components/ui";
|
||||
import { formatDateTime, classNames } from "@/lib/format";
|
||||
import type { Notification } from "@/types";
|
||||
|
||||
const ICON: Record<string, typeof FolderKanban> = {
|
||||
project: FolderKanban, leave: CalendarCheck, overtime: CalendarCheck, incentive: Coins, settlement: Wallet,
|
||||
project: FolderKanban, task: CheckSquare, leave: CalendarCheck, overtime: CalendarCheck, incentive: Coins, settlement: Wallet,
|
||||
};
|
||||
const TINT: Record<string, string> = {
|
||||
project: "#175CD3", leave: "#067647", overtime: "#B54708", incentive: "#5925DC", settlement: "#03143F",
|
||||
project: "#175CD3", task: "#7A5AF8", leave: "#067647", overtime: "#B54708", incentive: "#5925DC", settlement: "#03143F",
|
||||
};
|
||||
|
||||
// 쪽지함: 프로젝트 추가·휴가/초과근무 승인·인센티브 반영/정산 등 본인 관련 이벤트.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user