⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
feat(web): add home, inbox and my tasks pages
Tin46058ee83dfd
diff --git a/apps/web/src/components/app-sidebar.tsx b/apps/web/src/components/app-sidebar.tsxindex 15c0514db..34f027fe9 100644--- a/apps/web/src/components/app-sidebar.tsx+++ b/apps/web/src/components/app-sidebar.tsx@@ -2,6 +2,7 @@ import type * as React from "react";import { NavMain } from "@/components/nav-main";import { NavProjects } from "@/components/nav-projects";+import { NavSecondary } from "@/components/nav-secondary";import { ThemeToggleDropdown } from "@/components/theme-toggle-dropdown";import { TrialCard } from "@/components/trial-card";import {@@ -15,7 +16,6 @@ import { VersionDisplay } from "@/components/version-display";import { WorkspaceSwitcher } from "@/components/workspace-switcher";import { shortcuts } from "@/constants/shortcuts";import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";-import Search from "./search";export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {const { toggleSidebar } = useSidebar();@@ -32,18 +32,18 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {<Sidebarcollapsible="offcanvas"variant="inset"- className="border-none pt-1.5"+ className="border-none"{...props}><SidebarHeader className="pt-1 pb-1.5"><WorkspaceSwitcher /></SidebarHeader><SidebarContent className="overflow-hidden gap-1 py-1">- <Search /><NavMain /><NavProjects /></SidebarContent><SidebarFooter>+ <NavSecondary /><TrialCard /><div className="flex items-center justify-between"><VersionDisplay />diff --git a/apps/web/src/components/command-palette/index.tsx b/apps/web/src/components/command-palette/index.tsxindex 48742912c..b07aada1d 100644--- a/apps/web/src/components/command-palette/index.tsx+++ b/apps/web/src/components/command-palette/index.tsx@@ -82,7 +82,7 @@ function CommandPalette() {[shortcuts.project.list]: () => {if (!workspace?.id) return;navigate({- to: "/dashboard/workspace/$workspaceId",+ to: "/dashboard/workspace/$workspaceId/projects",params: { workspaceId: workspace.id },});},@@ -118,7 +118,7 @@ function CommandPalette() {onRun: () => {if (!workspace?.id) return;navigate({- to: "/dashboard/workspace/$workspaceId",+ to: "/dashboard/workspace/$workspaceId/projects",params: { workspaceId: workspace.id },});},diff --git a/apps/web/src/components/home/activity-feed-item.tsx b/apps/web/src/components/home/activity-feed-item.tsxnew file mode 100644index 000000000..ab7a120f8--- /dev/null+++ b/apps/web/src/components/home/activity-feed-item.tsx@@ -0,0 +1,72 @@+import { Link } from "@tanstack/react-router";+import { useTranslation } from "react-i18next";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import type { WorkspaceActivity } from "@/fetchers/activity/get-workspace-activities";+import { formatDateTime, formatRelativeTime } from "@/lib/format";+import { getInitials } from "@/lib/get-initials";+import { describeActivity } from "./describe-activity";++type ActivityFeedItemProps = {+ activity: WorkspaceActivity;+ workspaceId: string;+};++export function ActivityFeedItem({+ activity,+ workspaceId,+}: ActivityFeedItemProps) {+ const { t } = useTranslation();+ const actorName =+ activity.userName ||+ activity.externalUserName ||+ t("common:people.someone");++ return (+ <li className="flex gap-2.5">+ <Avatar className="size-6 shrink-0">+ <AvatarImage+ src={activity.userImage ?? activity.externalUserAvatar ?? ""}+ alt=""+ />+ <AvatarFallback className="border border-border/30 font-medium text-[10px]">+ {getInitials(actorName)}+ </AvatarFallback>+ </Avatar>+ <div className="flex min-w-0 flex-1 flex-col gap-1">+ <p className="text-[13px] text-muted-foreground leading-[18px]">+ <span className="font-medium text-foreground">{actorName}</span>{" "}+ {describeActivity(activity, t)}+ </p>+ {activity.type === "comment" && activity.excerpt && (+ <p className="line-clamp-3 rounded-lg bg-muted/70 px-2.5 py-2 text-[13px] text-foreground/85 leading-[18px]">+ {activity.excerpt}+ </p>+ )}+ <p className="flex min-w-0 items-center gap-1.5 text-muted-foreground text-xs">+ <Link+ to="/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId"+ params={{+ workspaceId,+ projectId: activity.projectId,+ taskId: activity.taskId,+ }}+ className="min-w-0 truncate hover:text-foreground"+ >+ <span className="font-medium">+ {activity.projectSlug}-{activity.taskNumber}+ </span>{" "}+ {activity.taskTitle}+ </Link>+ <span aria-hidden="true">·</span>+ <time+ dateTime={activity.createdAt}+ title={formatDateTime(activity.createdAt)}+ className="shrink-0"+ >+ {formatRelativeTime(activity.createdAt)}+ </time>+ </p>+ </div>+ </li>+ );+}diff --git a/apps/web/src/components/home/activity-feed.tsx b/apps/web/src/components/home/activity-feed.tsxnew file mode 100644index 000000000..536e2863e--- /dev/null+++ b/apps/web/src/components/home/activity-feed.tsx@@ -0,0 +1,58 @@+import { useTranslation } from "react-i18next";+import { Skeleton } from "@/components/ui/skeleton";+import useGetWorkspaceActivities from "@/hooks/queries/activity/use-get-workspace-activities";+import { ActivityFeedItem } from "./activity-feed-item";+import { SectionHeader } from "./section-header";++type ActivityFeedProps = {+ workspaceId: string;+};++const VISIBLE_ACTIVITIES = 8;++export function ActivityFeed({ workspaceId }: ActivityFeedProps) {+ const { t } = useTranslation();+ const {+ data: activities,+ isLoading,+ isError,+ } = useGetWorkspaceActivities(workspaceId);++ return (+ <section>+ <SectionHeader title={t("workspace:home.activity.title")} />++ {isLoading ? (+ <div className="flex flex-col gap-4 pt-4">+ {[1, 2, 3].map((row) => (+ <div key={row} className="flex gap-2.5">+ <Skeleton className="size-6 rounded-full" />+ <div className="flex flex-1 flex-col gap-1.5">+ <Skeleton className="h-3.5 w-3/4" />+ <Skeleton className="h-3 w-1/2" />+ </div>+ </div>+ ))}+ </div>+ ) : isError ? (+ <p className="py-6 text-muted-foreground text-sm">+ {t("workspace:home.activity.loadError")}+ </p>+ ) : !activities?.length ? (+ <p className="py-6 text-muted-foreground text-sm">+ {t("workspace:home.activity.empty")}+ </p>+ ) : (+ <ul className="flex flex-col gap-4 pt-4">+ {activities.slice(0, VISIBLE_ACTIVITIES).map((activity) => (+ <ActivityFeedItem+ key={activity.id}+ activity={activity}+ workspaceId={workspaceId}+ />+ ))}+ </ul>+ )}+ </section>+ );+}diff --git a/apps/web/src/components/home/build-week.test.ts b/apps/web/src/components/home/build-week.test.tsnew file mode 100644index 000000000..acc943741--- /dev/null+++ b/apps/web/src/components/home/build-week.test.ts@@ -0,0 +1,70 @@+import { describe, expect, it } from "vite-plus/test";+import type { AssignedTask } from "@/fetchers/task/get-assigned-tasks";+import { buildWeek } from "./build-week";+import { getDayPart } from "./day-part";++const now = new Date(2026, 9, 2, 15, 0);++function task(id: string, dueDate: Date | null): AssignedTask {+ return {+ id,+ projectId: "project-1",+ number: 1,+ title: id,+ status: "to-do",+ statusName: "To Do",+ statusIcon: null,+ priority: "medium",+ dueDate: dueDate ? dueDate.toISOString() : null,+ projectName: "Web",+ projectSlug: "WEB",+ projectIcon: null,+ labels: [],+ };+}++describe("buildWeek", () => {+ it("spans three days either side of today", () => {+ const week = buildWeek([], now);++ expect(week).toHaveLength(7);+ expect(week.map((day) => day.date.getDate())).toEqual([+ 29, 30, 1, 2, 3, 4, 5,+ ]);+ expect(week.map((day) => day.isToday)).toEqual([+ false,+ false,+ false,+ true,+ false,+ false,+ false,+ ]);+ expect(week.filter((day) => day.isPast)).toHaveLength(3);+ });++ it("places tasks on the day they are due and skips the rest", () => {+ const week = buildWeek(+ [+ task("late", new Date(2026, 8, 30, 9)),+ task("today", new Date(2026, 9, 2, 23, 30)),+ task("far", new Date(2026, 10, 1)),+ task("undated", null),+ ],+ now,+ );++ expect(week[1].tasks.map((item) => item.id)).toEqual(["late"]);+ expect(week[3].tasks.map((item) => item.id)).toEqual(["today"]);+ expect(week.flatMap((day) => day.tasks)).toHaveLength(2);+ });+});++describe("getDayPart", () => {+ it("maps the hour to a greeting", () => {+ expect(getDayPart(new Date(2026, 9, 2, 8))).toBe("morning");+ expect(getDayPart(new Date(2026, 9, 2, 13))).toBe("afternoon");+ expect(getDayPart(new Date(2026, 9, 2, 21))).toBe("evening");+ expect(getDayPart(new Date(2026, 9, 2, 2))).toBe("evening");+ });+});diff --git a/apps/web/src/components/home/build-week.ts b/apps/web/src/components/home/build-week.tsnew file mode 100644index 000000000..d1cdfabd8--- /dev/null+++ b/apps/web/src/components/home/build-week.ts@@ -0,0 +1,31 @@+import { addDays, isSameDay, startOfDay } from "date-fns";+import type { AssignedTask } from "@/fetchers/task/get-assigned-tasks";++export type WeekDay = {+ date: Date;+ isToday: boolean;+ isPast: boolean;+ tasks: AssignedTask[];+};++const DAYS_BEFORE = 3;+const DAYS_AFTER = 3;++// Centred on today: the days just missed matter as much as the ones coming up.+export function buildWeek(tasks: AssignedTask[], now = new Date()): WeekDay[] {+ const today = startOfDay(now);++ return Array.from({ length: DAYS_BEFORE + DAYS_AFTER + 1 }, (_, index) => {+ const offset = index - DAYS_BEFORE;+ const date = addDays(today, offset);++ return {+ date,+ isToday: offset === 0,+ isPast: offset < 0,+ tasks: tasks.filter(+ (task) => task.dueDate && isSameDay(new Date(task.dueDate), date),+ ),+ };+ });+}diff --git a/apps/web/src/components/home/day-part.ts b/apps/web/src/components/home/day-part.tsnew file mode 100644index 000000000..2c7442c40--- /dev/null+++ b/apps/web/src/components/home/day-part.ts@@ -0,0 +1,8 @@+export type DayPart = "morning" | "afternoon" | "evening";++export function getDayPart(date = new Date()): DayPart {+ const hour = date.getHours();+ if (hour >= 5 && hour < 12) return "morning";+ if (hour >= 12 && hour < 18) return "afternoon";+ return "evening";+}diff --git a/apps/web/src/components/home/describe-activity.test.ts b/apps/web/src/components/home/describe-activity.test.tsnew file mode 100644index 000000000..3ace74dba--- /dev/null+++ b/apps/web/src/components/home/describe-activity.test.ts@@ -0,0 +1,68 @@+import { describe, expect, it } from "vite-plus/test";+import type { WorkspaceActivity } from "@/fetchers/activity/get-workspace-activities";+import { describeActivity } from "./describe-activity";++const t = (key: string, options?: Record<string, unknown>) =>+ options ? `${key} ${JSON.stringify(options)}` : key;++function activity(overrides: Partial<WorkspaceActivity>): WorkspaceActivity {+ return {+ id: "activity-1",+ type: "comment",+ createdAt: "2026-10-02T10:00:00.000Z",+ eventData: null,+ excerpt: null,+ userId: "user-1",+ userName: "Mira",+ userImage: null,+ externalUserName: null,+ externalUserAvatar: null,+ taskId: "task-1",+ taskTitle: "Fix reconnect loop",+ taskNumber: 135,+ projectId: "project-1",+ projectSlug: "WEB",+ ...overrides,+ };+}++describe("describeActivity", () => {+ it("names comments without repeating their body", () => {+ expect(describeActivity(activity({ excerpt: "Looks good" }), t)).toBe(+ "workspace:home.activity.commented",+ );+ });++ it("describes structured events from their event data", () => {+ expect(+ describeActivity(+ activity({+ type: "assignee_changed",+ eventData: { newAssignee: "Alex", isSelfAssigned: false },+ }),+ t,+ ),+ ).toBe('activity:assignedTo {"name":"Alex"}');+ expect(+ describeActivity(+ activity({ type: "due_date_changed", eventData: { newDueDate: null } }),+ t,+ ),+ ).toBe("activity:clearedDueDate");+ });++ it("falls back to the stored text for events without event data", () => {+ expect(+ describeActivity(+ activity({+ type: "status_changed",+ excerpt: "changed status from to-do to done",+ }),+ t,+ ),+ ).toBe("changed status from to-do to done");+ expect(describeActivity(activity({ type: "label_added" }), t)).toBe(+ "workspace:home.activity.updated",+ );+ });+});diff --git a/apps/web/src/components/home/describe-activity.ts b/apps/web/src/components/home/describe-activity.tsnew file mode 100644index 000000000..774894cce--- /dev/null+++ b/apps/web/src/components/home/describe-activity.ts@@ -0,0 +1,93 @@+import type { WorkspaceActivity } from "@/fetchers/activity/get-workspace-activities";+import { formatDateMedium } from "@/lib/format";+import { getPriorityLabel, getStatusLabel } from "@/lib/i18n/domain";++type Translate = (key: string, options?: Record<string, unknown>) => string;++function eventDataOf(activity: WorkspaceActivity) {+ const { eventData } = activity;+ if (!eventData || typeof eventData !== "object" || Array.isArray(eventData)) {+ return null;+ }+ return eventData as Record<string, unknown>;+}++function formatEventDate(value: unknown) {+ const date = new Date(String(value));+ return Number.isNaN(date.getTime()) ? String(value) : formatDateMedium(date);+}++// What the actor did, phrased to follow their name: "Mira <changed status…>".+export function describeActivity(activity: WorkspaceActivity, t: Translate) {+ const eventData = eventDataOf(activity);++ switch (activity.type) {+ case "comment":+ return t("workspace:home.activity.commented");+ case "create":+ case "created":+ case "task":+ return t("activity:created");+ case "unassigned":+ return t("activity:unassigned");+ case "status_changed":+ if (eventData) {+ return t("activity:changedStatus", {+ from: getStatusLabel(String(eventData.oldStatus ?? "")),+ to: getStatusLabel(String(eventData.newStatus ?? "")),+ });+ }+ break;+ case "priority_changed":+ if (eventData) {+ return t("activity:changedPriority", {+ from: getPriorityLabel(String(eventData.oldPriority ?? "")),+ to: getPriorityLabel(String(eventData.newPriority ?? "")),+ });+ }+ break;+ case "assignee_changed":+ if (eventData) {+ return eventData.isSelfAssigned+ ? t("activity:assignedToSelf")+ : t("activity:assignedTo", {+ name: String(eventData.newAssignee ?? ""),+ });+ }+ break;+ case "due_date_changed":+ if (eventData) {+ if (!eventData.newDueDate) return t("activity:clearedDueDate");+ return eventData.oldDueDate+ ? t("activity:changedDueDate", {+ from: formatEventDate(eventData.oldDueDate),+ to: formatEventDate(eventData.newDueDate),+ })+ : t("activity:setDueDate", {+ date: formatEventDate(eventData.newDueDate),+ });+ }+ break;+ case "title_changed":+ if (eventData) {+ return t("activity:changedTitle", {+ from: String(eventData.oldTitle ?? ""),+ to: String(eventData.newTitle ?? ""),+ });+ }+ break;+ case "moved":+ if (eventData) {+ return t("activity:moved", {+ from: String(eventData.fromProjectName ?? ""),+ to: String(eventData.toProjectName ?? ""),+ });+ }+ break;+ default:+ break;+ }++ // Events recorded before eventData existed only have their English text.+ return activity.excerpt || t("workspace:home.activity.updated");+}diff --git a/apps/web/src/components/home/home-projects.tsx b/apps/web/src/components/home/home-projects.tsxnew file mode 100644index 000000000..53d94a3ea--- /dev/null+++ b/apps/web/src/components/home/home-projects.tsx@@ -0,0 +1,73 @@+import { Link } from "@tanstack/react-router";+import { useTranslation } from "react-i18next";+import icons from "@/constants/project-icons";+import useGetProjects from "@/hooks/queries/project/use-get-projects";+import { SectionHeader } from "./section-header";++type HomeProjectsProps = {+ workspaceId: string;+};++const VISIBLE_PROJECTS = 3;++export function HomeProjects({ workspaceId }: HomeProjectsProps) {+ const { t } = useTranslation();+ const { data: projects } = useGetProjects({ workspaceId });++ if (!projects?.length) return null;++ return (+ <section className="flex flex-col gap-3">+ <SectionHeader+ title={t("workspace:home.projects.title")}+ action={+ <Link+ to="/dashboard/workspace/$workspaceId/projects"+ params={{ workspaceId }}+ className="shrink-0 font-medium text-[13px] text-muted-foreground hover:text-foreground"+ >+ {t("workspace:home.projects.all")}+ </Link>+ }+ />+ <div className="grid gap-3 sm:grid-cols-3">+ {projects.slice(0, VISIBLE_PROJECTS).map((project) => {+ const ProjectIcon =+ icons[project.icon as keyof typeof icons] || icons.Layout;+ const { completionPercentage, totalTasks } = project.statistics;++ return (+ <Link+ key={project.id}+ to="/dashboard/workspace/$workspaceId/project/$projectId/board"+ params={{ workspaceId, projectId: project.id }}+ className="flex flex-col gap-3.5 rounded-lg border border-border p-3.5 outline-none transition-colors hover:bg-accent/40 focus-visible:ring-2 focus-visible:ring-ring"+ >+ <div className="flex items-center gap-2">+ <ProjectIcon+ aria-hidden="true"+ className="size-4 shrink-0 text-muted-foreground"+ />+ <span className="min-w-0 flex-1 truncate font-medium text-foreground text-sm">+ {project.name}+ </span>+ <span className="text-muted-foreground text-xs tabular-nums">+ {completionPercentage}%+ </span>+ </div>+ <div className="h-1 overflow-hidden rounded-full bg-muted">+ <div+ className="h-full rounded-full bg-foreground/80"+ style={{ width: `${completionPercentage}%` }}+ />+ </div>+ <span className="text-muted-foreground text-xs">+ {t("workspace:home.projects.tasks", { count: totalTasks })}+ </span>+ </Link>+ );+ })}+ </div>+ </section>+ );+}diff --git a/apps/web/src/components/home/section-header.tsx b/apps/web/src/components/home/section-header.tsxnew file mode 100644index 000000000..4db6ac3ca--- /dev/null+++ b/apps/web/src/components/home/section-header.tsx@@ -0,0 +1,23 @@+import type { ReactNode } from "react";++type SectionHeaderProps = {+ title: string;+ detail?: ReactNode;+ action?: ReactNode;+};++export function SectionHeader({ title, detail, action }: SectionHeaderProps) {+ return (+ <div className="flex items-center justify-between gap-3 border-border border-b pb-2.5">+ <div className="flex min-w-0 items-baseline gap-2">+ <h2 className="font-semibold text-[15px] text-foreground">{title}</h2>+ {detail && (+ <span className="truncate text-[13px] text-muted-foreground">+ {detail}+ </span>+ )}+ </div>+ {action}+ </div>+ );+}diff --git a/apps/web/src/components/home/up-next.tsx b/apps/web/src/components/home/up-next.tsxnew file mode 100644index 000000000..0aab696bb--- /dev/null+++ b/apps/web/src/components/home/up-next.tsx@@ -0,0 +1,84 @@+import { Link } from "@tanstack/react-router";+import { useTranslation } from "react-i18next";+import { AssignedTaskRow } from "@/components/my-work/assigned-task-row";+import { Skeleton } from "@/components/ui/skeleton";+import type { AssignedTask } from "@/fetchers/task/get-assigned-tasks";+import { SectionHeader } from "./section-header";++type UpNextProps = {+ tasks: AssignedTask[] | undefined;+ total: number;+ isLoading: boolean;+ isError: boolean;+ workspaceId: string;+};++const VISIBLE_TASKS = 5;++export function UpNext({+ tasks,+ total,+ isLoading,+ isError,+ workspaceId,+}: UpNextProps) {+ const { t } = useTranslation();++ return (+ <section>+ <SectionHeader+ title={t("workspace:home.upNext.title")}+ detail={+ total > 0+ ? t("workspace:home.upNext.assigned", { count: total })+ : undefined+ }+ action={+ total > 0 ? (+ <Link+ to="/dashboard/workspace/$workspaceId/my-tasks"+ params={{ workspaceId }}+ className="shrink-0 font-medium text-[13px] text-muted-foreground hover:text-foreground"+ >+ {t("workspace:home.upNext.viewAll")}+ </Link>+ ) : null+ }+ />++ {isLoading ? (+ <div className="flex flex-col">+ {[1, 2, 3].map((row) => (+ <div+ key={row}+ className="flex h-11 items-center gap-3 border-border/50 border-b px-1"+ >+ <Skeleton className="size-4 rounded-full" />+ <Skeleton className="h-3.5 w-14" />+ <Skeleton className="h-3.5 flex-1" />+ <Skeleton className="h-3.5 w-16" />+ </div>+ ))}+ </div>+ ) : isError ? (+ <p className="py-6 text-muted-foreground text-sm">+ {t("workspace:myWork.loadError")}+ </p>+ ) : !tasks?.length ? (+ <p className="py-6 text-muted-foreground text-sm">+ {t("workspace:myWork.empty")}+ </p>+ ) : (+ <div className="flex flex-col">+ {tasks.slice(0, VISIBLE_TASKS).map((task) => (+ <AssignedTaskRow+ key={task.id}+ task={task}+ workspaceId={workspaceId}+ />+ ))}+ </div>+ )}+ </section>+ );+}diff --git a/apps/web/src/components/home/week-strip.tsx b/apps/web/src/components/home/week-strip.tsxnew file mode 100644index 000000000..a625a5770--- /dev/null+++ b/apps/web/src/components/home/week-strip.tsx@@ -0,0 +1,104 @@+import { Link } from "@tanstack/react-router";+import { useMemo } from "react";+import { useTranslation } from "react-i18next";+import type { AssignedTask } from "@/fetchers/task/get-assigned-tasks";+import { cn } from "@/lib/cn";+import { formatDate } from "@/lib/format";+import { buildWeek } from "./build-week";++type WeekStripProps = {+ tasks: AssignedTask[];+ workspaceId: string;+};++const VISIBLE_TASKS_PER_DAY = 2;++export function WeekStrip({ tasks, workspaceId }: WeekStripProps) {+ const { t } = useTranslation();+ const week = useMemo(() => buildWeek(tasks), [tasks]);++ return (+ <div className="overflow-x-auto rounded-xl border border-border bg-card">+ <ol className="flex min-w-[46rem] divide-x divide-border/70">+ {week.map((day) => (+ <li+ key={day.date.toISOString()}+ className={cn(+ "flex min-h-28 min-w-0 flex-1 flex-col gap-2.5 px-3 py-3",+ day.isToday && "bg-muted/50",+ )}+ >+ <div className="flex items-center gap-1.5 text-xs">+ {day.isToday ? (+ <>+ <span className="font-semibold text-foreground">+ {t("workspace:myWork.due.today")}+ </span>+ {day.tasks.length > 0 && (+ <span className="flex size-4.5 items-center justify-center rounded-full bg-foreground font-semibold text-[11px] text-background tabular-nums">+ {day.tasks.length}+ </span>+ )}+ </>+ ) : (+ <>+ <span className="font-medium text-muted-foreground">+ {formatDate(day.date, { weekday: "short" })}+ </span>+ <span className="text-muted-foreground/80 tabular-nums">+ {formatDate(day.date, { day: "numeric" })}+ </span>+ </>+ )}+ </div>++ <div className="flex flex-col gap-1">+ {day.tasks.slice(0, VISIBLE_TASKS_PER_DAY).map((task) => (+ <Link+ key={task.id}+ to="/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId"+ params={{+ workspaceId,+ projectId: task.projectId,+ taskId: task.id,+ }}+ className={cn(+ "flex flex-col gap-0.5 rounded-md px-2 py-1.5 outline-none transition-colors focus-visible:ring-2 focus-visible:ring-ring",+ day.isPast+ ? "bg-destructive/8 hover:bg-destructive/12"+ : day.isToday+ ? "border border-border bg-background hover:bg-accent/50"+ : "bg-muted/70 hover:bg-muted",+ )}+ >+ <span+ className={cn(+ "font-medium text-[11px]",+ day.isPast+ ? "text-destructive-foreground"+ : "text-muted-foreground",+ )}+ >+ {day.isPast+ ? t("workspace:myWork.due.overdue")+ : `${task.projectSlug}-${task.number}`}+ </span>+ <span className="truncate text-foreground text-xs">+ {task.title}+ </span>+ </Link>+ ))}+ {day.tasks.length > VISIBLE_TASKS_PER_DAY && (+ <span className="px-2 font-medium text-[11px] text-muted-foreground">+ {t("workspace:home.week.more", {+ count: day.tasks.length - VISIBLE_TASKS_PER_DAY,+ })}+ </span>+ )}+ </div>+ </li>+ ))}+ </ol>+ </div>+ );+}diff --git a/apps/web/src/components/inbox/group-notifications.test.ts b/apps/web/src/components/inbox/group-notifications.test.tsnew file mode 100644index 000000000..b091ca7ab--- /dev/null+++ b/apps/web/src/components/inbox/group-notifications.test.ts@@ -0,0 +1,67 @@+import { describe, expect, it } from "vite-plus/test";+import type { Notification } from "@/types/notification";+import { filterNotifications, groupNotifications } from "./group-notifications";++const now = new Date(2026, 9, 2, 15, 0);++function notification(+ id: string,+ overrides: Partial<Notification> = {},+): Notification {+ return {+ id,+ userId: "user-1",+ title: null,+ content: null,+ type: "task_comment",+ isRead: false,+ resourceId: "task-1",+ resourceType: "task",+ eventData: null,+ createdAt: new Date(2026, 9, 2, 9).toISOString(),+ ...overrides,+ } as Notification;+}++describe("filterNotifications", () => {+ const notifications = [+ notification("unread-comment"),+ notification("read-mention", { type: "task_mention", isRead: true }),+ ];++ it("keeps everything for the all filter", () => {+ expect(filterNotifications(notifications, "all")).toHaveLength(2);+ });++ it("narrows to unread or to mentions", () => {+ expect(+ filterNotifications(notifications, "unread").map((item) => item.id),+ ).toEqual(["unread-comment"]);+ expect(+ filterNotifications(notifications, "mentions").map((item) => item.id),+ ).toEqual(["read-mention"]);+ });+});++describe("groupNotifications", () => {+ it("splits on the viewer's calendar day and keeps the order", () => {+ const { today, earlier } = groupNotifications(+ [+ notification("this-morning"),+ notification("just-after-midnight", {+ createdAt: new Date(2026, 9, 2, 0, 1).toISOString(),+ }),+ notification("last-night", {+ createdAt: new Date(2026, 9, 1, 23, 59).toISOString(),+ }),+ ],+ now,+ );++ expect(today.map((item) => item.id)).toEqual([+ "this-morning",+ "just-after-midnight",+ ]);+ expect(earlier.map((item) => item.id)).toEqual(["last-night"]);+ });+});diff --git a/apps/web/src/components/inbox/group-notifications.ts b/apps/web/src/components/inbox/group-notifications.tsnew file mode 100644index 000000000..9029f2356--- /dev/null+++ b/apps/web/src/components/inbox/group-notifications.ts@@ -0,0 +1,37 @@+import { isSameDay } from "date-fns";+import type { Notification } from "@/types/notification";++export type InboxFilter = "all" | "unread" | "mentions";++export function filterNotifications(+ notifications: Notification[],+ filter: InboxFilter,+) {+ if (filter === "unread") {+ return notifications.filter((notification) => !notification.isRead);+ }+ if (filter === "mentions") {+ return notifications.filter(+ (notification) => notification.type === "task_mention",+ );+ }+ return notifications;+}++export function groupNotifications(+ notifications: Notification[],+ now = new Date(),+) {+ const today: Notification[] = [];+ const earlier: Notification[] = [];++ for (const notification of notifications) {+ if (isSameDay(new Date(notification.createdAt), now)) {+ today.push(notification);+ } else {+ earlier.push(notification);+ }+ }++ return { today, earlier };+}diff --git a/apps/web/src/components/inbox/inbox-detail.tsx b/apps/web/src/components/inbox/inbox-detail.tsxnew file mode 100644index 000000000..813133c96--- /dev/null+++ b/apps/web/src/components/inbox/inbox-detail.tsx@@ -0,0 +1,87 @@+import { Link } from "@tanstack/react-router";+import { ArrowLeft, ArrowUpRight } from "lucide-react";+import { useTranslation } from "react-i18next";+import {+ getEventDataRecord,+ getNotificationContent,+ getNotificationTitle,+} from "@/components/notification/notification-text";+import { Button } from "@/components/ui/button";+import { formatDateTime, formatRelativeTime } from "@/lib/format";+import type { Notification } from "@/types/notification";+import { InboxTask } from "./inbox-task";+import { NotificationIcon } from "./notification-icon";++type InboxDetailProps = {+ notification: Notification;+ onBack: () => void;+};++export function InboxDetail({ notification, onBack }: InboxDetailProps) {+ const { t } = useTranslation();+ const eventData = getEventDataRecord(notification.eventData);+ const workspaceId =+ typeof eventData?.workspaceId === "string" ? eventData.workspaceId : null;+ const projectId =+ typeof eventData?.projectId === "string" ? eventData.projectId : null;+ const taskId =+ notification.resourceType === "task" ? notification.resourceId : null;+ const content = getNotificationContent(notification, t);++ return (+ <div className="flex h-full min-h-0 flex-col">+ <div className="flex h-12 shrink-0 items-center justify-between gap-2 border-border/60 border-b px-4 lg:px-8">+ <Button+ variant="ghost"+ size="xs"+ onClick={onBack}+ className="text-muted-foreground lg:hidden"+ >+ <ArrowLeft />+ {t("notifications:inbox.back")}+ </Button>+ <span className="hidden text-muted-foreground text-xs lg:block">+ <time+ dateTime={notification.createdAt}+ title={formatDateTime(notification.createdAt)}+ >+ {formatRelativeTime(notification.createdAt)}+ </time>+ </span>+ {taskId && workspaceId && projectId && (+ <Button+ variant="outline"+ size="xs"+ render={+ <Link+ to="/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId"+ params={{ workspaceId, projectId, taskId }}+ />+ }+ >+ {t("notifications:inbox.openTask")}+ <ArrowUpRight />+ </Button>+ )}+ </div>++ <div className="min-h-0 flex-1 overflow-y-auto">+ <div className="flex w-full max-w-3xl flex-col gap-7 px-4 py-8 lg:px-8">+ <div className="flex gap-2.5 rounded-lg bg-muted/50 px-3 py-2.5">+ <NotificationIcon type={notification.type} />+ <div className="flex min-w-0 flex-col gap-0.5">+ <p className="font-medium text-[13px] text-foreground">+ {getNotificationTitle(notification, t)}+ </p>+ {content && (+ <p className="text-[13px] text-muted-foreground">{content}</p>+ )}+ </div>+ </div>++ {taskId && <InboxTask key={taskId} taskId={taskId} />}+ </div>+ </div>+ </div>+ );+}diff --git a/apps/web/src/components/inbox/inbox-list-item.tsx b/apps/web/src/components/inbox/inbox-list-item.tsxnew file mode 100644index 000000000..2c014e632--- /dev/null+++ b/apps/web/src/components/inbox/inbox-list-item.tsx@@ -0,0 +1,86 @@+import { useTranslation } from "react-i18next";+import {+ getNotificationContent,+ getNotificationTitle,+} from "@/components/notification/notification-text";+import { cn } from "@/lib/cn";+import { formatDateTime, formatRelativeTime } from "@/lib/format";+import type { Notification } from "@/types/notification";+import { NotificationIcon } from "./notification-icon";++type InboxListItemProps = {+ notification: Notification;+ isSelected: boolean;+ onSelect: (notification: Notification) => void;+};++export function InboxListItem({+ notification,+ isSelected,+ onSelect,+}: InboxListItemProps) {+ const { t } = useTranslation();+ const content = getNotificationContent(notification, t);++ return (+ <li>+ <button+ type="button"+ aria-current={isSelected ? "true" : undefined}+ onClick={() => onSelect(notification)}+ className={cn(+ "flex w-full cursor-pointer gap-2.5 rounded-lg px-3 py-2.5 text-left outline-none transition-colors focus-visible:ring-2 focus-visible:ring-ring",+ isSelected ? "bg-accent" : "hover:bg-accent/50",+ )}+ >+ <NotificationIcon type={notification.type} />+ <span className="flex min-w-0 flex-1 flex-col gap-0.5">+ <span className="flex items-center gap-2">+ <span+ className={cn(+ "min-w-0 flex-1 truncate text-[13px]",+ notification.isRead+ ? "text-foreground/80"+ : "font-semibold text-foreground",+ )}+ >+ {getNotificationTitle(notification, t)}+ </span>+ <time+ dateTime={notification.createdAt}+ title={formatDateTime(notification.createdAt)}+ className="shrink-0 text-muted-foreground text-xs"+ >+ {formatRelativeTime(notification.createdAt)}+ </time>+ {/* Always takes its slot so times line up across read and unread rows. */}+ <span+ className={cn(+ "size-1.5 shrink-0 rounded-full",+ !notification.isRead && "bg-info",+ )}+ >+ {!notification.isRead && (+ <span className="sr-only">+ {t("notifications:inbox.unread")}+ </span>+ )}+ </span>+ </span>+ {content && (+ <span+ className={cn(+ "truncate text-[13px]",+ notification.isRead+ ? "text-muted-foreground/80"+ : "text-muted-foreground",+ )}+ >+ {content}+ </span>+ )}+ </span>+ </button>+ </li>+ );+}diff --git a/apps/web/src/components/inbox/inbox-list.tsx b/apps/web/src/components/inbox/inbox-list.tsxnew file mode 100644index 000000000..294be3126--- /dev/null+++ b/apps/web/src/components/inbox/inbox-list.tsx@@ -0,0 +1,186 @@+import { CheckCheck, Inbox, Trash2 } from "lucide-react";+import { useMemo, useState } from "react";+import { useTranslation } from "react-i18next";+import {+ AlertDialog,+ AlertDialogClose,+ AlertDialogContent,+ AlertDialogDescription,+ AlertDialogFooter,+ AlertDialogHeader,+ AlertDialogTitle,+} from "@/components/ui/alert-dialog";+import { Button } from "@/components/ui/button";+import useClearNotifications from "@/hooks/mutations/notification/use-clear-notifications";+import useMarkAllNotificationsAsRead from "@/hooks/mutations/notification/use-mark-all-notifications-as-read";+import { cn } from "@/lib/cn";+import type { Notification } from "@/types/notification";+import {+ filterNotifications,+ groupNotifications,+ type InboxFilter,+} from "./group-notifications";+import { InboxListItem } from "./inbox-list-item";++type InboxListProps = {+ notifications: Notification[];+ selectedId: string | undefined;+ onSelect: (notification: Notification) => void;+};++export function InboxList({+ notifications,+ selectedId,+ onSelect,+}: InboxListProps) {+ const { t } = useTranslation();+ const [filter, setFilter] = useState<InboxFilter>("all");+ const [showClearDialog, setShowClearDialog] = useState(false);+ const { mutate: markAllAsRead } = useMarkAllNotificationsAsRead();+ const { mutate: clearAll } = useClearNotifications();++ const unreadCount = notifications.filter(+ (notification) => !notification.isRead,+ ).length;+ const { today, earlier } = useMemo(+ () => groupNotifications(filterNotifications(notifications, filter)),+ [notifications, filter],+ );++ const filters: Array<{ value: InboxFilter; label: string; count?: number }> =+ [+ { value: "all", label: t("notifications:inbox.filters.all") },+ {+ value: "unread",+ label: t("notifications:inbox.filters.unread"),+ count: unreadCount,+ },+ { value: "mentions", label: t("notifications:inbox.filters.mentions") },+ ];++ const groups = [+ { id: "today", title: t("notifications:inbox.today"), items: today },+ { id: "earlier", title: t("notifications:inbox.earlier"), items: earlier },+ ].filter((group) => group.items.length > 0);++ return (+ <div className="flex h-full min-h-0 flex-col">+ <div className="flex h-12 shrink-0 items-center justify-between gap-2 border-border/60 border-b px-3">+ <fieldset className="inline-flex items-center gap-0.5 rounded-lg bg-muted/70 p-0.5">+ <legend className="sr-only">+ {t("notifications:inbox.filters.label")}+ </legend>+ {filters.map((option) => (+ <button+ key={option.value}+ type="button"+ aria-pressed={filter === option.value}+ onClick={() => setFilter(option.value)}+ className={cn(+ "flex h-6.5 cursor-pointer items-center gap-1.5 rounded-md px-2.5 font-medium text-[13px] outline-none transition-colors focus-visible:ring-2 focus-visible:ring-ring",+ filter === option.value+ ? "bg-background text-foreground shadow-xs"+ : "text-muted-foreground hover:text-foreground",+ )}+ >+ {option.label}+ {option.count ? (+ <span className="font-normal text-muted-foreground text-xs tabular-nums">+ {option.count}+ </span>+ ) : null}+ </button>+ ))}+ </fieldset>+ <div className="flex items-center gap-0.5">+ <Button+ variant="ghost"+ size="xs"+ disabled={unreadCount === 0}+ onClick={() => markAllAsRead()}+ className="text-muted-foreground"+ >+ <CheckCheck />+ {t("common:actions.markAllRead")}+ </Button>+ <Button+ variant="ghost"+ size="icon-xs"+ disabled={notifications.length === 0}+ onClick={() => setShowClearDialog(true)}+ className="text-muted-foreground"+ title={t("notifications:clearAll")}+ >+ <Trash2 />+ <span className="sr-only">{t("notifications:clearAll")}</span>+ </Button>+ </div>+ </div>++ <div className="min-h-0 flex-1 overflow-y-auto pb-3">+ {groups.length === 0 ? (+ <div className="flex flex-col items-center gap-1 px-6 py-16 text-center">+ <Inbox className="mb-1 size-5 text-muted-foreground/50" />+ <p className="text-muted-foreground text-sm">+ {notifications.length === 0+ ? t("notifications:emptyTitle")+ : t("notifications:inbox.emptyFilter")}+ </p>+ {notifications.length === 0 && (+ <p className="text-muted-foreground/70 text-xs">+ {t("notifications:emptySubtitle")}+ </p>+ )}+ </div>+ ) : (+ groups.map((group) => (+ <section key={group.id}>+ <h2 className="px-5 pt-3.5 pb-1.5 font-medium text-muted-foreground text-xs">+ {group.title}+ </h2>+ <ul className="flex flex-col gap-0.5 px-2">+ {group.items.map((notification) => (+ <InboxListItem+ key={notification.id}+ notification={notification}+ isSelected={notification.id === selectedId}+ onSelect={onSelect}+ />+ ))}+ </ul>+ </section>+ ))+ )}+ </div>++ <AlertDialog open={showClearDialog} onOpenChange={setShowClearDialog}>+ <AlertDialogContent>+ <AlertDialogHeader>+ <AlertDialogTitle>+ {t("notifications:clearDialogTitle")}+ </AlertDialogTitle>+ <AlertDialogDescription>+ {t("notifications:clearDialogDescription")}+ </AlertDialogDescription>+ </AlertDialogHeader>+ <AlertDialogFooter>+ <AlertDialogClose render={<Button variant="outline" size="sm" />}>+ {t("common:actions.cancel")}+ </AlertDialogClose>+ <AlertDialogClose+ render={+ <Button+ variant="destructive"+ size="sm"+ onClick={() => clearAll()}+ />+ }+ >+ {t("common:actions.clearAll")}+ </AlertDialogClose>+ </AlertDialogFooter>+ </AlertDialogContent>+ </AlertDialog>+ </div>+ );+}diff --git a/apps/web/src/components/inbox/inbox-task.tsx b/apps/web/src/components/inbox/inbox-task.tsxnew file mode 100644index 000000000..f1083c7b8--- /dev/null+++ b/apps/web/src/components/inbox/inbox-task.tsx@@ -0,0 +1,114 @@+import { useTranslation } from "react-i18next";+import Activity from "@/components/activity";+import CommentInput from "@/components/activity/comment-input";+import { isCommentActivity } from "@/components/activity/utils";+import { DueDateText } from "@/components/my-work/due-date-text";+import { Skeleton } from "@/components/ui/skeleton";+import { Timeline } from "@/components/ui/timeline";+import useGetActivitiesByTaskId from "@/hooks/queries/activity/use-get-activities-by-task-id";+import useGetTask from "@/hooks/queries/task/use-get-task";+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";+import { getColumnIcon } from "@/lib/column";+import { getPriorityLabel, getStatusLabel } from "@/lib/i18n/domain";+import { getPriorityIcon } from "@/lib/priority";++type InboxTaskProps = {+ taskId: string;+};++const VISIBLE_ACTIVITIES = 6;++// The task a notification points at, with enough of its thread to answer+// without leaving the inbox.+export function InboxTask({ taskId }: InboxTaskProps) {+ const { t } = useTranslation();+ const { data: task, isLoading, isError } = useGetTask(taskId);+ const { data: activities = [] } = useGetActivitiesByTaskId(taskId);+ const { canUpdateTasks } = useWorkspacePermission();++ if (isLoading) {+ return (+ <div className="flex flex-col gap-4">+ <Skeleton className="h-7 w-2/3" />+ <Skeleton className="h-4 w-1/2" />+ <Skeleton className="h-24 w-full" />+ </div>+ );+ }++ if (isError || !task) {+ return (+ <p className="text-muted-foreground text-sm">+ {t("notifications:inbox.taskUnavailable")}+ </p>+ );+ }++ const recent = activities.slice(0, VISIBLE_ACTIVITIES);++ return (+ <div className="flex flex-col gap-7">+ <div className="flex flex-col gap-3.5">+ <h2 className="font-semibold text-2xl text-foreground tracking-tight">+ {task.title}+ </h2>+ <dl className="flex flex-wrap items-center gap-x-5 gap-y-2 text-[13px] text-foreground/85">+ <div className="flex items-center gap-1.5">+ <dt className="sr-only">{t("tasks:status.label")}</dt>+ <dd className="flex items-center gap-1.5">+ {getColumnIcon(task.status)}+ {getStatusLabel(task.status)}+ </dd>+ </div>+ <div className="flex items-center gap-1.5">+ <dt className="sr-only">{t("tasks:priority.label")}</dt>+ <dd className="flex items-center gap-1.5 [&_svg]:size-3.5">+ {getPriorityIcon(task.priority ?? "")}+ {getPriorityLabel(task.priority ?? "no-priority")}+ </dd>+ </div>+ {task.dueDate && (+ <div className="flex items-center gap-1.5">+ <dt className="sr-only">{t("tasks:dueDate.label")}</dt>+ <dd>+ <DueDateText dueDate={task.dueDate} className="text-[13px]" />+ </dd>+ </div>+ )}+ {task.assigneeName && (+ <div className="flex items-center gap-1.5">+ <dt className="sr-only">{t("tasks:assignee.label")}</dt>+ <dd>{task.assigneeName}</dd>+ </div>+ )}+ </dl>+ </div>++ <div className="flex flex-col gap-3 border-border/60 border-t pt-5">+ <h3 className="font-medium text-muted-foreground text-xs">+ {t("notifications:inbox.recentActivity")}+ </h3>+ {recent.length > 0 && (+ <Timeline>+ {recent.map((activity, index) => {+ const next = recent[index + 1];+ return (+ <Activity+ key={activity.id}+ activity={activity}+ step={recent.length - index}+ showConnector={+ !isCommentActivity(activity) &&+ Boolean(next) &&+ !isCommentActivity(next)+ }+ />+ );+ })}+ </Timeline>+ )}+ {canUpdateTasks() && <CommentInput taskId={taskId} />}+ </div>+ </div>+ );+}diff --git a/apps/web/src/components/inbox/notification-icon.tsx b/apps/web/src/components/inbox/notification-icon.tsxnew file mode 100644index 000000000..e907eb3a9--- /dev/null+++ b/apps/web/src/components/inbox/notification-icon.tsx@@ -0,0 +1,41 @@+import {+ AtSign,+ Bell,+ CalendarClock,+ CalendarX,+ History,+ type LucideIcon,+ MessageSquare,+ SquarePlus,+ Timer,+ UserRound,+} from "lucide-react";+import { cn } from "@/lib/cn";++const icons: Record<string, LucideIcon> = {+ task_mention: AtSign,+ task_comment: MessageSquare,+ task_assignee_changed: UserRound,+ task_status_changed: History,+ task_created: SquarePlus,+ due_date_reminder: CalendarClock,+ task_overdue: CalendarX,+ time_entry_created: Timer,+};++export function NotificationIcon({ type }: { type: string }) {+ const Icon = Object.hasOwn(icons, type) ? icons[type] : Bell;++ return (+ <span+ className={cn(+ "flex size-7 shrink-0 items-center justify-center rounded-full",+ type === "task_overdue"+ ? "bg-destructive/10 text-destructive-foreground"+ : "bg-muted text-muted-foreground",+ )}+ >+ <Icon aria-hidden="true" className="size-3.5" />+ </span>+ );+}diff --git a/apps/web/src/components/kanban-board/column/column-add-task.tsx b/apps/web/src/components/kanban-board/column/column-add-task.tsxnew file mode 100644index 000000000..ff8139397--- /dev/null+++ b/apps/web/src/components/kanban-board/column/column-add-task.tsx@@ -0,0 +1,39 @@+import { Plus } from "lucide-react";+import { useState } from "react";+import { useTranslation } from "react-i18next";+import CreateTaskModal from "@/components/shared/modals/create-task-modal";+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";+import useProjectStore from "@/store/project";++type ColumnAddTaskProps = {+ columnId: string;+};++export function ColumnAddTask({ columnId }: ColumnAddTaskProps) {+ const { t } = useTranslation();+ const { project } = useProjectStore();+ const { canCreateTasks } = useWorkspacePermission();+ const [isOpen, setIsOpen] = useState(false);++ if (!canCreateTasks()) return null;++ return (+ <>+ <button+ type="button"+ onClick={() => setIsOpen(true)}+ className="mt-1 flex h-9 w-full cursor-pointer items-center gap-2 rounded-lg px-3 text-[13px] text-muted-foreground outline-none transition-colors hover:bg-accent/50 hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"+ >+ <Plus aria-hidden="true" className="size-3.5" />+ {t("tasks:kanban.addTask")}+ </button>++ <CreateTaskModal+ open={isOpen}+ onClose={() => setIsOpen(false)}+ projectId={project?.id}+ status={columnId}+ />+ </>+ );+}diff --git a/apps/web/src/components/kanban-board/column/index.tsx b/apps/web/src/components/kanban-board/column/index.tsxindex 80238534e..ef2ba710a 100644--- a/apps/web/src/components/kanban-board/column/index.tsx+++ b/apps/web/src/components/kanban-board/column/index.tsx@@ -2,6 +2,7 @@ import { cva } from "class-variance-authority";import { useState } from "react";import { useBackgroundStore } from "@/store/background";import type { ProjectWithTasks } from "@/types/project";+import { ColumnAddTask } from "./column-add-task";import { ColumnDropzone } from "./column-dropzone";import { ColumnHeader } from "./column-header";@@ -74,12 +75,14 @@ function Column({disableCollectionActions={disableCollectionActions}/></div>- <div className="min-h-0 flex-1 overflow-y-auto overflow-x-hidden px-2 pt-1 pb-2 [-webkit-overflow-scrolling:touch]">+ <div className="min-h-0 flex-1 overflow-y-auto overflow-x-hidden p-2 [-webkit-overflow-scrolling:touch]"><ColumnDropzonecolumn={column}disableDragDrop={disableDragDrop}onIsOverChange={setIsDropzoneOver}/>+ {/* New work starts in an open column; finished ones only collect. */}+ {!column.isFinal && <ColumnAddTask columnId={column.id} />}</div></div>);diff --git a/apps/web/src/components/kanban-board/task-card.tsx b/apps/web/src/components/kanban-board/task-card.tsxindex ec3fd27e5..14f855ebd 100644--- a/apps/web/src/components/kanban-board/task-card.tsx+++ b/apps/web/src/components/kanban-board/task-card.tsx@@ -33,12 +33,14 @@ import { useDeleteTask } from "@/hooks/mutations/task/use-delete-task";import useGetCustomFieldValuesByProject from "@/hooks/queries/custom-field/use-get-custom-field-values-by-project";import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";import { useGetActiveWorkspaceUsers } from "@/hooks/queries/workspace-users/use-get-active-workspace-users";+import { cn } from "@/lib/cn";import {- dueDateStatusColors,+ type DueDateStatus,getDueDateStatus,isTaskCompleted,} from "@/lib/due-date-status";import { getInitials } from "@/lib/get-initials";+import { getPriorityLabel } from "@/lib/i18n/domain";import { getPriorityIcon } from "@/lib/priority";import { toast } from "@/lib/toast";import useBulkSelectionStore from "@/store/bulk-selection";@@ -48,6 +50,13 @@ import type Task from "@/types/task";import TaskCardContextMenuContent from "./task-card-context-menu/task-card-context-menu-content";import { TaskLabels } from "./task-labels";+const dueDateTextColors: Record<DueDateStatus, string> = {+ overdue: "text-destructive-foreground",+ "due-soon": "text-warning-foreground",+ "far-future": "text-muted-foreground",+ "no-due-date": "text-muted-foreground",+};+type TaskCardProps = {task: Task;disableDragDrop?: boolean;@@ -65,6 +74,9 @@ function TaskCard({ task, disableDragDrop = false }: TaskCardProps) {} = useSortable({ id: task.id, disabled: disableDragDrop });const { project } = useProjectStore();const taskIsCompleted = isTaskCompleted(task.status, project?.columns);+ const dueDateStatus = getDueDateStatus(task.dueDate, taskIsCompleted);+ const isOverdue = dueDateStatus === "overdue";+ const hasPriority = Boolean(task.priority) && task.priority !== "no-priority";const { data: workspace } = useActiveWorkspace();const { mutateAsync: deleteTask } = useDeleteTask();const navigate = useNavigate();@@ -211,20 +223,26 @@ function TaskCard({ task, disableDragDrop = false }: TaskCardProps) {<divonClick={handleTaskCardClick}onKeyDown={handleKeyDown}- className={`group relative rounded-lg border bg-background p-3 shadow-xs/5 transition-[background-color,border-color,box-shadow,scale] duration-150 ease-out active:scale-[0.98] ${- disableDragDrop ? "cursor-default" : "cursor-move"- } ${+ className={cn(+ "group relative rounded-lg border p-3 transition-[background-color,border-color,box-shadow,scale] duration-150 ease-out active:scale-[0.98]",+ disableDragDrop ? "cursor-default" : "cursor-move",+ // Finished work steps back so open cards draw the eye.+ taskIsCompleted+ ? "bg-background/60"+ : "bg-background shadow-xs/5",isDragging? "border-ring/40 bg-card shadow-lg"- : "hover:border-border/90 hover:bg-background hover:shadow-sm"- } ${+ : "hover:bg-background hover:shadow-sm",isTaskSelected? "border-ring/40 bg-accent/50 shadow-sm ring-1 ring-inset ring-ring/30"- : "border-border"- } ${isTaskFocused ? "ring-2 ring-inset ring-ring/50" : ""}`}+ : isOverdue+ ? "border-destructive/70 ring-[3px] ring-destructive/10"+ : "border-border hover:border-border/90",+ isTaskFocused && "ring-2 ring-inset ring-ring/50",+ )}>{showTaskNumbers && (- <div className="mb-2 text-[10px] font-mono text-muted-foreground/90">+ <div className="mb-2 font-medium text-[11px] text-muted-foreground/90">{project?.slug}-{task.number}</div>)}@@ -254,9 +272,14 @@ function TaskCard({ task, disableDragDrop = false }: TaskCardProps) {</div>)}- <div className="mb-2.5 pr-6">+ <div className={cn("pr-6", !taskIsCompleted && "mb-2.5")}><div- className="overflow-hidden break-words leading-5 font-medium text-foreground/95 text-[15px]"+ className={cn(+ "overflow-hidden break-words leading-5 font-medium text-[15px]",+ taskIsCompleted+ ? "text-muted-foreground"+ : "text-foreground/95",+ )}style={{display: "-webkit-box",WebkitLineClamp: 3,@@ -269,15 +292,23 @@ function TaskCard({ task, disableDragDrop = false }: TaskCardProps) {</div></div>- {showLabels && (+ {!taskIsCompleted && showLabels && Boolean(task.labels?.length) && (<div className="mb-2.5"><TaskLabels labels={task.labels ?? []} /></div>)}- <div className="flex flex-wrap items-center gap-1.5">- {showPriority && (- <span className="inline-flex items-center gap-1 rounded border border-border/70 bg-muted/55 px-2 py-1 text-[10px] font-medium text-muted-foreground h-5.5">+ <div+ className={cn(+ "flex flex-wrap items-center gap-x-2.5 gap-y-1.5 empty:hidden",+ taskIsCompleted && "hidden",+ )}+ >+ {showPriority && hasPriority && (+ <span+ className="inline-flex h-5.5 items-center"+ title={getPriorityLabel(task.priority ?? "")}+ >{getPriorityIcon(task.priority ?? "")}</span>)}@@ -351,16 +382,22 @@ function TaskCard({ task, disableDragDrop = false }: TaskCardProps) {{showDueDates && task.dueDate && (<div- className={`flex items-center gap-1 text-[10px] px-2 py-1 rounded h-5.5 ${dueDateStatusColors[getDueDateStatus(task.dueDate, taskIsCompleted)]}`}+ className={cn(+ "flex h-5.5 items-center gap-1 text-[10px]",+ isOverdue && "font-medium",+ dueDateTextColors[dueDateStatus],+ )}>- {getDueDateStatus(task.dueDate, taskIsCompleted) ===- "overdue" && <CalendarX className="w-3 h-3" />}- {getDueDateStatus(task.dueDate, taskIsCompleted) ===- "due-soon" && <CalendarClock className="w-3 h-3" />}- {(getDueDateStatus(task.dueDate, taskIsCompleted) ===- "far-future" ||- getDueDateStatus(task.dueDate, taskIsCompleted) ===- "no-due-date") && <Calendar className="w-3 h-3" />}+ {dueDateStatus === "overdue" && (+ <CalendarX className="w-3 h-3" />+ )}+ {dueDateStatus === "due-soon" && (+ <CalendarClock className="w-3 h-3" />+ )}+ {(dueDateStatus === "far-future" ||+ dueDateStatus === "no-due-date") && (+ <Calendar className="w-3 h-3" />+ )}<span>{format(new Date(task.dueDate), "MMM d")}</span></div>)}diff --git a/apps/web/src/components/kanban-board/task-labels.test.tsx b/apps/web/src/components/kanban-board/task-labels.test.tsxindex 37b59c774..be2851726 100644--- a/apps/web/src/components/kanban-board/task-labels.test.tsx+++ b/apps/web/src/components/kanban-board/task-labels.test.tsx@@ -28,7 +28,7 @@ describe("TaskLabels", () => {render(<TaskLabels labels={[{ id: "label-1", name, color: "purple" }]} />);const labelName = screen.getByText(name);- const badge = labelName.closest('[data-slot="badge"]');+ const badge = labelName.closest('[data-slot="task-label"]');expect(labelName).not.toHaveClass("max-w-20");expect(labelName).toHaveClass("min-w-0", "truncate");expect(labelName).toHaveAttribute("title", name);diff --git a/apps/web/src/components/kanban-board/task-labels.tsx b/apps/web/src/components/kanban-board/task-labels.tsxindex 6cf248b21..d21544a75 100644--- a/apps/web/src/components/kanban-board/task-labels.tsx+++ b/apps/web/src/components/kanban-board/task-labels.tsx@@ -1,5 +1,4 @@import { useTranslation } from "react-i18next";-import { Badge } from "@/components/ui/badge";import { localeCompareSort } from "@/lib/format";import { resolveLabelColor } from "@/lib/label-color";import type Task from "@/types/task";@@ -19,16 +18,16 @@ export function TaskLabels({);return (- <div className="flex min-w-0 flex-wrap gap-1">+ <div className="flex min-w-0 flex-wrap gap-x-2.5 gap-y-1">{sortedLabels.map((label) => (- <Badge+ <spankey={label.id}- variant="outline"- className="max-w-full min-w-0 px-2 py-0.5 text-[10px] flex items-center"+ data-slot="task-label"+ className="flex max-w-full min-w-0 items-center gap-1.5 font-medium text-[10px] text-foreground/85"><spanaria-hidden="true"- className="inline-block w-1.5 h-1.5 mr-1 shrink-0 rounded-full"+ className="inline-block size-1.5 shrink-0 rounded-full"style={{backgroundColor: resolveLabelColor(label.color),}}@@ -36,7 +35,7 @@ export function TaskLabels({<span className="min-w-0 truncate" title={label.name}>{label.name}</span>- </Badge>+ </span>))}</div>);diff --git a/apps/web/src/components/my-tasks/my-tasks-group-by.tsx b/apps/web/src/components/my-tasks/my-tasks-group-by.tsxnew file mode 100644index 000000000..806371e03--- /dev/null+++ b/apps/web/src/components/my-tasks/my-tasks-group-by.tsx@@ -0,0 +1,38 @@+import { useTranslation } from "react-i18next";+import { Button } from "@/components/ui/button";+import { cn } from "@/lib/cn";++export type MyTasksGroupBy = "dueDate" | "project";++type MyTasksGroupByProps = {+ value: MyTasksGroupBy;+ onChange: (value: MyTasksGroupBy) => void;+};++export function MyTasksGroupByToggle({ value, onChange }: MyTasksGroupByProps) {+ const { t } = useTranslation();+ const options: Array<{ value: MyTasksGroupBy; label: string }> = [+ { value: "dueDate", label: t("workspace:myTasks.groupBy.dueDate") },+ { value: "project", label: t("workspace:myTasks.groupBy.project") },+ ];++ return (+ <fieldset className="inline-flex items-center gap-0.5">+ <legend className="sr-only">+ {t("workspace:myTasks.groupBy.label")}+ </legend>+ {options.map((option) => (+ <Button+ key={option.value}+ variant={value === option.value ? "secondary" : "ghost"}+ size="xs"+ aria-pressed={value === option.value}+ onClick={() => onChange(option.value)}+ className={cn(value !== option.value && "text-muted-foreground")}+ >+ {option.label}+ </Button>+ ))}+ </fieldset>+ );+}diff --git a/apps/web/src/components/my-tasks/my-tasks-list.tsx b/apps/web/src/components/my-tasks/my-tasks-list.tsxnew file mode 100644index 000000000..10969f34f--- /dev/null+++ b/apps/web/src/components/my-tasks/my-tasks-list.tsx@@ -0,0 +1,84 @@+import { useMemo } from "react";+import { useTranslation } from "react-i18next";+import { AssignedTaskRow } from "@/components/my-work/assigned-task-row";+import type { DueBucket } from "@/components/my-work/due-bucket";+import {+ groupAssignedTasksByDueDate,+ groupAssignedTasksByProject,+} from "@/components/my-work/group-assigned-tasks";+import type { AssignedTask } from "@/fetchers/task/get-assigned-tasks";+import { cn } from "@/lib/cn";+import type { MyTasksGroupBy } from "./my-tasks-group-by";++type MyTasksListProps = {+ tasks: AssignedTask[];+ total: number;+ groupBy: MyTasksGroupBy;+ workspaceId: string;+};++export function MyTasksList({+ tasks,+ total,+ groupBy,+ workspaceId,+}: MyTasksListProps) {+ const { t } = useTranslation();+ const groups = useMemo(+ () =>+ groupBy === "project"+ ? groupAssignedTasksByProject(tasks)+ : groupAssignedTasksByDueDate(tasks),+ [tasks, groupBy],+ );++ const bucketTitles: Record<DueBucket, string> = {+ overdue: t("workspace:myWork.due.overdue"),+ today: t("workspace:myWork.due.today"),+ thisWeek: t("workspace:myWork.due.thisWeek"),+ later: t("workspace:myWork.due.later"),+ noDueDate: t("workspace:myWork.due.noDueDate"),+ };++ return (+ <div className="flex flex-col">+ {groups.map((group) => (+ <section key={group.id}>+ <h2 className="flex h-9 items-center gap-2 border-border/50 border-b bg-muted/40 px-5 text-[13px]">+ <span+ className={cn(+ "font-semibold",+ group.bucket === "overdue"+ ? "text-destructive-foreground"+ : "text-foreground",+ )}+ >+ {group.bucket ? bucketTitles[group.bucket] : group.title}+ </span>+ <span className="font-normal text-muted-foreground text-xs tabular-nums">+ {group.tasks.length}+ </span>+ </h2>+ <div className="flex flex-col px-4">+ {group.tasks.map((task) => (+ <AssignedTaskRow+ key={task.id}+ task={task}+ workspaceId={workspaceId}+ showLabels+ />+ ))}+ </div>+ </section>+ ))}+ {total > tasks.length && (+ <p className="px-5 py-3 text-muted-foreground text-xs">+ {t("workspace:myTasks.truncated", {+ shown: tasks.length,+ total,+ })}+ </p>+ )}+ </div>+ );+}diff --git a/apps/web/src/components/my-work/assigned-task-row.tsx b/apps/web/src/components/my-work/assigned-task-row.tsxnew file mode 100644index 000000000..755e0e127--- /dev/null+++ b/apps/web/src/components/my-work/assigned-task-row.tsx@@ -0,0 +1,67 @@+import { Link } from "@tanstack/react-router";+import type { AssignedTask } from "@/fetchers/task/get-assigned-tasks";+import { getColumnIcon } from "@/lib/column";+import { getStatusDisplayLabel } from "@/lib/i18n/domain";+import { resolveLabelColor } from "@/lib/label-color";+import { getPriorityIcon } from "@/lib/priority";+import { DueDateText } from "./due-date-text";++type AssignedTaskRowProps = {+ task: AssignedTask;+ workspaceId: string;+ showLabels?: boolean;+};++export function AssignedTaskRow({+ task,+ workspaceId,+ showLabels = false,+}: AssignedTaskRowProps) {+ return (+ <Link+ to="/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId"+ params={{ workspaceId, projectId: task.projectId, taskId: task.id }}+ className="flex h-11 items-center gap-3 border-border/50 border-b px-1 outline-none transition-colors hover:bg-accent/50 focus-visible:bg-accent/50"+ >+ <span className="flex w-4 shrink-0 justify-center [&_svg]:size-3.5">+ {getPriorityIcon(task.priority)}+ </span>+ <span+ className="shrink-0"+ title={getStatusDisplayLabel(task.status, task.statusName ?? undefined)}+ >+ {getColumnIcon(task.status, false, task.statusIcon)}+ </span>+ <span className="w-16 shrink-0 truncate font-medium text-muted-foreground text-xs">+ {task.projectSlug}-{task.number}+ </span>+ <span className="min-w-0 flex-1 truncate text-foreground text-sm">+ {task.title}+ </span>+ {showLabels && task.labels.length > 0 && (+ <span className="hidden w-44 shrink-0 items-center gap-2.5 overflow-hidden lg:flex">+ {task.labels.slice(0, 2).map((label) => (+ <span+ key={label.id}+ className="flex min-w-0 items-center gap-1.5 text-muted-foreground text-xs"+ >+ <span+ aria-hidden="true"+ className="size-1.5 shrink-0 rounded-full"+ style={{ backgroundColor: resolveLabelColor(label.color) }}+ />+ <span className="truncate">{label.name}</span>+ </span>+ ))}+ </span>+ )}+ <span className="hidden w-28 shrink-0 truncate text-muted-foreground text-xs sm:block">+ {task.projectName}+ </span>+ <DueDateText+ dueDate={task.dueDate}+ className="w-20 shrink-0 text-right"+ />+ </Link>+ );+}diff --git a/apps/web/src/components/my-work/due-bucket.ts b/apps/web/src/components/my-work/due-bucket.tsnew file mode 100644index 000000000..c4de79bf8--- /dev/null+++ b/apps/web/src/components/my-work/due-bucket.ts@@ -0,0 +1,25 @@+import { differenceInCalendarDays } from "date-fns";++export const DUE_BUCKETS = [+ "overdue",+ "today",+ "thisWeek",+ "later",+ "noDueDate",+] as const;++export type DueBucket = (typeof DUE_BUCKETS)[number];++// Calendar days in the viewer's timezone, so "today" flips at their midnight.+export function getDueBucket(+ dueDate: string | null,+ now = new Date(),+): DueBucket {+ if (!dueDate) return "noDueDate";++ const days = differenceInCalendarDays(new Date(dueDate), now);+ if (days < 0) return "overdue";+ if (days === 0) return "today";+ if (days <= 7) return "thisWeek";+ return "later";+}diff --git a/apps/web/src/components/my-work/due-date-text.tsx b/apps/web/src/components/my-work/due-date-text.tsxnew file mode 100644index 000000000..7deb9dc5c--- /dev/null+++ b/apps/web/src/components/my-work/due-date-text.tsx@@ -0,0 +1,41 @@+import { differenceInCalendarDays } from "date-fns";+import { useTranslation } from "react-i18next";+import { cn } from "@/lib/cn";+import { formatDate, formatDateShort } from "@/lib/format";++type DueDateTextProps = {+ dueDate: string | null;+ className?: string;+};++export function DueDateText({ dueDate, className }: DueDateTextProps) {+ const { t } = useTranslation();++ if (!dueDate) return null;++ const days = differenceInCalendarDays(new Date(dueDate), new Date());+ const text =+ days === 0+ ? t("workspace:myWork.due.today")+ : days === 1+ ? t("workspace:myWork.due.tomorrow")+ : days > 1 && days <= 6+ ? formatDate(dueDate, { weekday: "long" })+ : formatDateShort(dueDate);++ return (+ <span+ className={cn(+ "text-xs tabular-nums",+ days < 0+ ? "font-medium text-destructive-foreground"+ : days === 0+ ? "font-medium text-foreground"+ : "text-muted-foreground",+ className,+ )}+ >+ {text}+ </span>+ );+}diff --git a/apps/web/src/components/my-work/group-assigned-tasks.test.ts b/apps/web/src/components/my-work/group-assigned-tasks.test.tsnew file mode 100644index 000000000..0acd21d0e--- /dev/null+++ b/apps/web/src/components/my-work/group-assigned-tasks.test.ts@@ -0,0 +1,90 @@+import { describe, expect, it } from "vite-plus/test";+import type { AssignedTask } from "@/fetchers/task/get-assigned-tasks";+import { getDueBucket } from "./due-bucket";+import {+ groupAssignedTasksByDueDate,+ groupAssignedTasksByProject,+} from "./group-assigned-tasks";++const now = new Date(2026, 9, 2, 15, 0);++function task(+ id: string,+ dueDate: Date | null,+ projectId = "project-1",+): AssignedTask {+ return {+ id,+ projectId,+ number: 1,+ title: id,+ status: "to-do",+ statusName: "To Do",+ statusIcon: null,+ priority: "medium",+ dueDate: dueDate ? dueDate.toISOString() : null,+ projectName: projectId,+ projectSlug: "WEB",+ projectIcon: null,+ labels: [],+ };+}++describe("getDueBucket", () => {+ it("uses calendar days rather than elapsed hours", () => {+ expect(getDueBucket(new Date(2026, 9, 2, 0, 5).toISOString(), now)).toBe(+ "today",+ );+ expect(getDueBucket(new Date(2026, 9, 1, 23, 55).toISOString(), now)).toBe(+ "overdue",+ );+ expect(getDueBucket(new Date(2026, 9, 3, 0, 5).toISOString(), now)).toBe(+ "thisWeek",+ );+ });++ it("separates the coming week from later work", () => {+ expect(getDueBucket(new Date(2026, 9, 9, 12).toISOString(), now)).toBe(+ "thisWeek",+ );+ expect(getDueBucket(new Date(2026, 9, 10, 12).toISOString(), now)).toBe(+ "later",+ );+ expect(getDueBucket(null, now)).toBe("noDueDate");+ });+});++describe("groupAssignedTasksByDueDate", () => {+ it("returns only the buckets in use, most urgent first", () => {+ const groups = groupAssignedTasksByDueDate(+ [+ task("undated", null),+ task("later", new Date(2026, 10, 1)),+ task("late", new Date(2026, 8, 30)),+ task("today", new Date(2026, 9, 2, 9)),+ ],+ now,+ );++ expect(groups.map((group) => group.bucket)).toEqual([+ "overdue",+ "today",+ "later",+ "noDueDate",+ ]);+ expect(groups[0].tasks.map((item) => item.id)).toEqual(["late"]);+ });+});++describe("groupAssignedTasksByProject", () => {+ it("keeps projects in the order their first task appears", () => {+ const groups = groupAssignedTasksByProject([+ task("a", null, "api"),+ task("b", null, "web"),+ task("c", null, "api"),+ ]);++ expect(groups.map((group) => group.id)).toEqual(["api", "web"]);+ expect(groups[0].tasks.map((item) => item.id)).toEqual(["a", "c"]);+ });+});diff --git a/apps/web/src/components/my-work/group-assigned-tasks.ts b/apps/web/src/components/my-work/group-assigned-tasks.tsnew file mode 100644index 000000000..77de240f2--- /dev/null+++ b/apps/web/src/components/my-work/group-assigned-tasks.ts@@ -0,0 +1,49 @@+import type { AssignedTask } from "@/fetchers/task/get-assigned-tasks";+import { DUE_BUCKETS, type DueBucket, getDueBucket } from "./due-bucket";++export type AssignedTaskGroup = {+ id: string;+ // Set for due-date groups; project groups are labelled by `title`.+ bucket?: DueBucket;+ title?: string;+ tasks: AssignedTask[];+};++export function groupAssignedTasksByDueDate(+ tasks: AssignedTask[],+ now = new Date(),+): AssignedTaskGroup[] {+ const byBucket = new Map<DueBucket, AssignedTask[]>();++ for (const task of tasks) {+ const bucket = getDueBucket(task.dueDate, now);+ const group = byBucket.get(bucket) ?? [];+ group.push(task);+ byBucket.set(bucket, group);+ }++ return DUE_BUCKETS.flatMap((bucket) => {+ const group = byBucket.get(bucket);+ return group ? [{ id: bucket, bucket, tasks: group }] : [];+ });+}++// Groups appear in the order their first task does, which keeps the project+// with the most pressing work on top.+export function groupAssignedTasksByProject(+ tasks: AssignedTask[],+): AssignedTaskGroup[] {+ const byProject = new Map<string, AssignedTaskGroup>();++ for (const task of tasks) {+ const group = byProject.get(task.projectId) ?? {+ id: task.projectId,+ title: task.projectName,+ tasks: [],+ };+ group.tasks.push(task);+ byProject.set(task.projectId, group);+ }++ return [...byProject.values()];+}diff --git a/apps/web/src/components/nav-main.tsx b/apps/web/src/components/nav-main.tsxindex 6ca846590..534fca7c4 100644--- a/apps/web/src/components/nav-main.tsx+++ b/apps/web/src/components/nav-main.tsx@@ -1,93 +1,133 @@-import { useNavigate } from "@tanstack/react-router";-import { ChevronRight } from "lucide-react";-import { useTranslation } from "react-i18next";+import { useLocation, useNavigate } from "@tanstack/react-router";import {- Collapsible,- CollapsiblePanel,- CollapsibleTrigger,-} from "@/components/ui/collapsible";+ CircleCheck,+ House,+ Inbox,+ type LucideIcon,+ Mail,+ Users,+} from "lucide-react";+import { useTranslation } from "react-i18next";import {SidebarGroup,SidebarGroupContent,- SidebarGroupLabel,SidebarMenu,SidebarMenuButton,SidebarMenuItem,} from "@/components/ui/sidebar";+import { shortcuts } from "@/constants/shortcuts";import { usePendingInvitations } from "@/hooks/queries/invitation/use-pending-invitations";+import useGetNotifications from "@/hooks/queries/notification/use-get-notifications";+import useGetAssignedTasks from "@/hooks/queries/task/use-get-assigned-tasks";import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";+import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";+import { cn } from "@/lib/cn";++type NavItem = {+ title: string;+ icon: LucideIcon;+ url: string;+ count?: number;+ emphasizeCount?: boolean;+};export function NavMain() {const { t } = useTranslation();const { data: workspace } = useActiveWorkspace();const navigate = useNavigate();+ const pathname = useLocation({+ select: (location) => location.pathname.replace(/\/+$/, ""),+ });const { data: invitations = [] } = usePendingInvitations();+ const { data: notifications = [] } = useGetNotifications();+ const { data: assignedTasks } = useGetAssignedTasks(workspace?.id);++ const inboxUrl = workspace+ ? `/dashboard/workspace/${workspace.id}/inbox`+ : undefined;++ useRegisterShortcuts({+ sequentialShortcuts: {+ [shortcuts.notification.prefix]: {+ [shortcuts.notification.open]: () => {+ if (inboxUrl) navigate({ to: inboxUrl });+ },+ },+ },+ });if (!workspace) return null;- const pendingCount = invitations.length;+ const homeUrl = `/dashboard/workspace/${workspace.id}`;+ const unreadCount = notifications.filter(+ (notification) => !notification.isRead,+ ).length;- const navItems = [+ const navItems: NavItem[] = [+ { title: t("navigation:sidebar.home"), icon: House, url: homeUrl },{- title: t("navigation:sidebar.projects"),- url: `/dashboard/workspace/${workspace.id}`,- isActive:- window.location.pathname === `/dashboard/workspace/${workspace.id}`,- badge: null,+ title: t("navigation:sidebar.inbox"),+ icon: Inbox,+ url: `${homeUrl}/inbox`,+ count: unreadCount,+ emphasizeCount: true,},{- title: t("navigation:sidebar.members"),- url: `/dashboard/workspace/${workspace.id}/members`,- isActive:- window.location.pathname ===- `/dashboard/workspace/${workspace.id}/members`,- badge: null,+ title: t("navigation:sidebar.myTasks"),+ icon: CircleCheck,+ url: `${homeUrl}/my-tasks`,+ count: assignedTasks?.total,},{- title: t("navigation:sidebar.invitations"),- url: "/dashboard/invitations",- isActive: window.location.pathname === "/dashboard/invitations",- badge: pendingCount > 0 ? pendingCount : null,+ title: t("navigation:sidebar.members"),+ icon: Users,+ url: `${homeUrl}/members`,},];+ // Invitations to other workspaces only matter while one is waiting.+ if (invitations.length > 0) {+ navItems.push({+ title: t("navigation:sidebar.invitations"),+ icon: Mail,+ url: "/dashboard/invitations",+ count: invitations.length,+ emphasizeCount: true,+ });+ }+return (- <Collapsible defaultOpen className="group/collapsible">- <SidebarGroup className="gap-1 p-2">- <CollapsibleTrigger- className="data-panel-open:[&_svg]:rotate-90"- render={- <SidebarGroupLabel className="h-7 cursor-pointer justify-between px-0 text-sidebar-accent-foreground" />- }- >- <span>{t("navigation:sidebar.overview")}</span>- <ChevronRight className="h-3.5 w-3.5 text-sidebar-foreground/60 transition-transform duration-200" />- </CollapsibleTrigger>- <CollapsiblePanel>- <SidebarGroupContent>- <SidebarMenu className="gap-0.5">- {navItems.map((item) => (- <SidebarMenuItem key={item.url}>- <SidebarMenuButton- tooltip={item.title}- isActive={item.isActive}- size="default"- className="h-8 ps-3.5 text-sm hover:bg-transparent hover:text-sidebar-accent-foreground active:bg-transparent"- onClick={() => navigate({ to: item.url })}- >- <span>{item.title}</span>- {item.badge !== null && (- <span className="ml-auto flex h-5 min-w-5 items-center justify-center rounded-sm border border-sidebar-border/60 px-1 text-[11px] font-medium text-sidebar-foreground/80">- {item.badge}- </span>+ <SidebarGroup className="gap-1 p-2">+ <SidebarGroupContent>+ <SidebarMenu className="gap-0.5">+ {navItems.map((item) => (+ <SidebarMenuItem key={item.url}>+ <SidebarMenuButton+ tooltip={item.title}+ isActive={pathname === item.url}+ size="default"+ className="h-8 text-sm"+ onClick={() => navigate({ to: item.url })}+ >+ <item.icon aria-hidden="true" />+ <span>{item.title}</span>+ {item.count ? (+ <span+ className={cn(+ "ml-auto flex h-4.5 min-w-4.5 shrink-0 items-center justify-center rounded-full px-1 text-[11px] tabular-nums",+ item.emphasizeCount+ ? "bg-foreground font-semibold text-background"+ : "font-medium text-muted-foreground",)}- </SidebarMenuButton>- </SidebarMenuItem>- ))}- </SidebarMenu>- </SidebarGroupContent>- </CollapsiblePanel>- </SidebarGroup>- </Collapsible>+ >+ {item.count > 99 ? "99+" : item.count}+ </span>+ ) : null}+ </SidebarMenuButton>+ </SidebarMenuItem>+ ))}+ </SidebarMenu>+ </SidebarGroupContent>+ </SidebarGroup>);}diff --git a/apps/web/src/components/nav-projects.tsx b/apps/web/src/components/nav-projects.tsxindex ce09bad67..080d35194 100644--- a/apps/web/src/components/nav-projects.tsx+++ b/apps/web/src/components/nav-projects.tsx@@ -27,12 +27,14 @@ import {Folder,Forward,MoreHorizontal,+ Plus,Settings,Trash2,} from "lucide-react";import { type CSSProperties, type ReactNode, useState } from "react";import { createPortal } from "react-dom";import { useTranslation } from "react-i18next";+import { ProjectProgress } from "@/components/project-progress";import {Collapsible,CollapsiblePanel,@@ -47,6 +49,7 @@ import {} from "@/components/ui/menu";import {SidebarGroup,+ SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarMenu,@@ -54,6 +57,7 @@ import {SidebarMenuItem,useSidebar,} from "@/components/ui/sidebar";+import icons from "@/constants/project-icons";import useDeleteProject from "@/hooks/mutations/project/use-delete-project";import useReorderProjects from "@/hooks/mutations/project/use-reorder-projects";import useGetProjects from "@/hooks/queries/project/use-get-projects";@@ -218,12 +222,24 @@ export function NavProjects() {<CollapsibleTriggerclassName="data-panel-open:[&_svg]:rotate-90"render={- <SidebarGroupLabel className="h-7 cursor-pointer justify-between px-0 text-sidebar-accent-foreground" />+ <SidebarGroupLabel className="h-7 cursor-pointer justify-start gap-1 px-0 text-sidebar-accent-foreground" />}><span>{t("navigation:sidebar.projects")}</span><ChevronRight className="h-3.5 w-3.5 text-sidebar-foreground/60 transition-transform duration-200" /></CollapsibleTrigger>+ {canCreate && (+ <SidebarGroupAction+ className="top-2 right-2 text-sidebar-foreground/70"+ title={t("navigation:projectList.addProject")}+ onClick={() => setIsCreateProjectModalOpen(true)}+ >+ <Plus />+ <span className="sr-only">+ {t("navigation:projectList.addProject")}+ </span>+ </SidebarGroupAction>+ )}<CollapsiblePanel><SidebarGroupContent><DndContext@@ -243,6 +259,10 @@ export function NavProjects() {strategy={verticalListSortingStrategy}>{projects?.map((project) => {+ const ProjectIcon =+ icons[project.icon as keyof typeof icons] ||+ icons.Layout;+return (<SortableProjectItemkey={project.id}@@ -252,10 +272,20 @@ export function NavProjects() {<SidebarMenuButtonisActive={isCurrentProject(project.id)}size="default"- className="h-8 gap-0 ps-3.5 text-sm hover:bg-transparent hover:text-sidebar-accent-foreground active:bg-transparent"+ className="h-8 text-sm"onClick={() => handleProjectClick(project)}>- <span>{project.name}</span>+ <ProjectIcon aria-hidden="true" />+ <span className="min-w-0 flex-1 truncate">+ {project.name}+ </span>+ {/* Gives way to the row menu, which sits here on hover. */}+ <ProjectProgress+ percentage={+ project.statistics.completionPercentage+ }+ className="text-muted-foreground max-md:hidden group-focus-within/menu-item:opacity-0 group-hover/menu-item:opacity-0 group-has-data-[state=open]/menu-item:opacity-0"+ /></SidebarMenuButton><DropdownMenu>@@ -346,25 +376,13 @@ export function NavProjects() {);})}</SortableContext>-- {canCreate && (- <SidebarMenuItem className="mt-1">- <SidebarMenuButton- size="default"- className="h-8 ps-3.5 text-sm hover:bg-transparent hover:text-sidebar-accent-foreground active:bg-transparent"- onClick={() => setIsCreateProjectModalOpen(true)}- >- <span>{t("navigation:projectList.addProject")}</span>- </SidebarMenuButton>- </SidebarMenuItem>- )}</SidebarMenu>{/* Portalled: `SidebarContent` is `overflow-auto` and clips it. */}{createPortal(<DragOverlay dropAnimation={null}>{draggingProject ? (- <div className="flex h-8 w-(--sidebar-width) max-w-64 items-center rounded-lg border bg-sidebar not-dark:bg-clip-padding ps-3.5 pe-2 text-sm text-sidebar-accent-foreground shadow-lg/5">+ <div className="flex h-8 w-(--sidebar-width) max-w-64 items-center rounded-lg border bg-sidebar not-dark:bg-clip-padding px-2 text-sm text-sidebar-accent-foreground shadow-lg/5"><span className="truncate">{draggingProject.name}</span></div>) : null}diff --git a/apps/web/src/components/nav-secondary.tsx b/apps/web/src/components/nav-secondary.tsxnew file mode 100644index 000000000..ed694b05f--- /dev/null+++ b/apps/web/src/components/nav-secondary.tsx@@ -0,0 +1,54 @@+import { useNavigate } from "@tanstack/react-router";+import { Settings, UserPlus } from "lucide-react";+import { useState } from "react";+import { useTranslation } from "react-i18next";+import InviteTeamMemberModal from "@/components/team/invite-team-member-modal";+import {+ SidebarMenu,+ SidebarMenuButton,+ SidebarMenuItem,+} from "@/components/ui/sidebar";+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";++export function NavSecondary() {+ const { t } = useTranslation();+ const navigate = useNavigate();+ const { canInviteUsers } = useWorkspacePermission();+ const [isInviteOpen, setIsInviteOpen] = useState(false);++ return (+ <>+ <SidebarMenu className="gap-0.5">+ {canInviteUsers() && (+ <SidebarMenuItem>+ <SidebarMenuButton+ size="default"+ className="h-8 text-sm"+ onClick={() => setIsInviteOpen(true)}+ >+ <UserPlus aria-hidden="true" />+ <span>{t("navigation:sidebar.invitePeople")}</span>+ </SidebarMenuButton>+ </SidebarMenuItem>+ )}+ <SidebarMenuItem>+ <SidebarMenuButton+ size="default"+ className="h-8 text-sm"+ onClick={() =>+ navigate({ to: "/dashboard/settings/account/information" })+ }+ >+ <Settings aria-hidden="true" />+ <span>{t("navigation:userMenu.settings")}</span>+ </SidebarMenuButton>+ </SidebarMenuItem>+ </SidebarMenu>++ <InviteTeamMemberModal+ open={isInviteOpen}+ onClose={() => setIsInviteOpen(false)}+ />+ </>+ );+}diff --git a/apps/web/src/components/notification/notification-dropdown.tsx b/apps/web/src/components/notification/notification-dropdown.tsxdeleted file mode 100644index 3e894d02f..000000000--- a/apps/web/src/components/notification/notification-dropdown.tsx+++ /dev/null@@ -1,418 +0,0 @@-import { useNavigate } from "@tanstack/react-router";-import { Bell } from "lucide-react";-import { forwardRef, useCallback, useImperativeHandle, useState } from "react";-import { useTranslation } from "react-i18next";-import {- AlertDialog,- AlertDialogClose,- AlertDialogContent,- AlertDialogDescription,- AlertDialogFooter,- AlertDialogHeader,- AlertDialogTitle,-} from "@/components/ui/alert-dialog";-import { Button } from "@/components/ui/button";-import { KbdSequence } from "@/components/ui/kbd";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuItem,- DropdownMenuTrigger,-} from "@/components/ui/menu";-import {- Tooltip,- TooltipContent,- TooltipProvider,- TooltipTrigger,-} from "@/components/ui/tooltip";-import { shortcuts } from "@/constants/shortcuts";-import useClearNotifications from "@/hooks/mutations/notification/use-clear-notifications";-import useMarkAllNotificationsAsRead from "@/hooks/mutations/notification/use-mark-all-notifications-as-read";-import useMarkNotificationAsRead from "@/hooks/mutations/notification/use-mark-notification-as-read";-import useGetNotifications from "@/hooks/queries/notification/use-get-notifications";-import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";-import { cn } from "@/lib/cn";-import { formatRelativeTime } from "@/lib/format";-import { getStatusLabel } from "@/lib/i18n/domain";-import type { Notification } from "@/types/notification";--export type NotificationDropdownRef = {- toggle: () => void;-};--function getEventDataRecord(- eventData: unknown,-): Record<string, unknown> | null {- if (!eventData || typeof eventData !== "object" || Array.isArray(eventData)) {- return null;- }-- return eventData as Record<string, unknown>;-}--function getReminderLeadTime(- eventData: Record<string, unknown>,- t: (key: string, options?: Record<string, unknown>) => string,-) {- const minutes = Number(eventData.leadTimeMinutes ?? 1440);- if (minutes % 1440 === 0) {- return t("notifications:reminderLeadTime.days", {- count: minutes / 1440,- });- }- if (minutes % 60 === 0) {- return t("notifications:reminderLeadTime.hours", {- count: minutes / 60,- });- }- return t("notifications:reminderLeadTime.minutes", { count: minutes });-}--export function getNotificationTitle(- notification: Notification,- t: (key: string, options?: Record<string, unknown>) => string,-) {- const eventData = getEventDataRecord(notification.eventData);- if (eventData) {- switch (notification.type) {- case "task_created":- return t("notifications:events.task_created.title", {- ...eventData,- defaultValue: notification.title ?? notification.type,- });- case "workspace_created":- return t("notifications:events.workspace_created.title", {- ...eventData,- defaultValue: notification.title ?? notification.type,- });- case "task_status_changed":- return t("notifications:events.task_status_changed.title", {- ...eventData,- defaultValue: notification.title ?? notification.type,- });- case "task_assignee_changed":- return t("notifications:events.task_assignee_changed.title", {- ...eventData,- defaultValue: notification.title ?? notification.type,- });- case "time_entry_created":- return t("notifications:events.time_entry_created.title", {- ...eventData,- defaultValue: notification.title ?? notification.type,- });- case "task_mention":- return t("notifications:events.task_mention.title", {- ...eventData,- defaultValue: notification.title ?? notification.type,- });- case "task_comment":- return t("notifications:events.task_comment.title", {- ...eventData,- defaultValue: notification.title ?? notification.type,- });- case "due_date_reminder":- return t("notifications:events.due_date_reminder.title", {- ...eventData,- defaultValue: notification.title ?? notification.type,- });- case "task_overdue":- return t("notifications:events.task_overdue.title", {- ...eventData,- defaultValue: notification.title ?? notification.type,- });- default:- break;- }- }-- return notification.title ?? notification.type;-}--export function getNotificationContent(- notification: Notification,- t: (key: string, options?: Record<string, unknown>) => string,-) {- const eventData = getEventDataRecord(notification.eventData);- if (eventData) {- switch (notification.type) {- case "task_created":- return t("notifications:events.task_created.content", {- ...eventData,- defaultValue: notification.content ?? "",- });- case "workspace_created":- return t("notifications:events.workspace_created.content", {- ...eventData,- defaultValue: notification.content ?? "",- });- case "task_status_changed":- return t("notifications:events.task_status_changed.content", {- ...eventData,- oldStatus: getStatusLabel(String(eventData.oldStatus ?? "")),- newStatus: getStatusLabel(String(eventData.newStatus ?? "")),- defaultValue: notification.content ?? "",- });- case "task_assignee_changed":- return t("notifications:events.task_assignee_changed.content", {- ...eventData,- defaultValue: notification.content ?? "",- });- case "time_entry_created":- return eventData.taskTitle- ? t("notifications:events.time_entry_created.contentWithTask", {- ...eventData,- defaultValue: notification.content ?? "",- })- : t("notifications:events.time_entry_created.contentWithoutTask", {- ...eventData,- defaultValue: notification.content ?? "",- });- case "task_mention":- return t("notifications:events.task_mention.content", {- ...eventData,- defaultValue: notification.content ?? "",- });- case "task_comment":- return t("notifications:events.task_comment.content", {- ...eventData,- defaultValue: notification.content ?? "",- });- case "due_date_reminder":- return t("notifications:events.due_date_reminder.content", {- ...eventData,- leadTime: getReminderLeadTime(eventData, t),- defaultValue: notification.content ?? "",- });- case "task_overdue":- return t("notifications:events.task_overdue.content", {- ...eventData,- defaultValue: notification.content ?? "",- });- default:- break;- }- }-- return notification.content ?? "";-}--const NotificationDropdown = forwardRef<NotificationDropdownRef>(- (_props, ref) => {- const { t } = useTranslation();- const navigate = useNavigate();- const { data: notifications } = useGetNotifications();- const [isOpen, setIsOpen] = useState(false);- const [showClearDialog, setShowClearDialog] = useState(false);-- const { mutate: markAllAsRead } = useMarkAllNotificationsAsRead();- const { mutate: clearAll } = useClearNotifications();- const { mutate: markAsRead } = useMarkNotificationAsRead();-- const handleNotificationClick = useCallback(- (notification: Notification) => {- if (!notification.isRead) {- markAsRead(notification.id);- }-- const ed = getEventDataRecord(notification.eventData);- const workspaceId =- typeof ed?.workspaceId === "string" ? ed.workspaceId : null;- const projectId =- typeof ed?.projectId === "string" ? ed.projectId : null;- const taskId = notification.resourceId ?? null;-- if (- notification.resourceType === "task" &&- workspaceId &&- projectId &&- taskId- ) {- navigate({- to: "/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId",- params: { workspaceId, projectId, taskId },- });- }- },- [markAsRead, navigate],- );-- const unreadNotifications = notifications?.filter((n) => !n.isRead) || [];- const hasNotifications = notifications && notifications.length > 0;-- useImperativeHandle(ref, () => ({- toggle: () => setIsOpen(!isOpen),- }));-- const handleClearAll = () => {- clearAll();- setShowClearDialog(false);- };-- useRegisterShortcuts({- sequentialShortcuts: {- [shortcuts.notification.prefix]: {- [shortcuts.notification.open]: () => setIsOpen(!isOpen),- },- },- });-- return (- <>- <DropdownMenu open={isOpen} onOpenChange={setIsOpen}>- <TooltipProvider>- <Tooltip>- <TooltipTrigger asChild>- <DropdownMenuTrigger asChild>- <Button variant="ghost" size="icon" className="relative">- <Bell className="h-4 w-4" />- {unreadNotifications.length > 0 && (- <span className="absolute -top-0.5 -right-0.5 flex h-3.5 min-w-3.5 items-center justify-center rounded-full bg-destructive px-1 text-[9px] font-semibold leading-none text-white ring-2 ring-sidebar transition-[scale,opacity] duration-200 ease-out starting:scale-75 starting:opacity-0 motion-reduce:starting:scale-100">- {unreadNotifications.length > 99- ? "99+"- : unreadNotifications.length}- </span>- )}- <span className="sr-only">- {t("navigation:notifications")}- </span>- </Button>- </DropdownMenuTrigger>- </TooltipTrigger>- <TooltipContent>- <p className="flex items-center gap-2">- <KbdSequence- keys={[- shortcuts.notification.prefix,- shortcuts.notification.open,- ]}- description={t("notifications:shortcuts.open")}- />- </p>- </TooltipContent>- </Tooltip>- </TooltipProvider>-- <DropdownMenuContent align="end" className="w-88 p-0">- <div className="overflow-hidden rounded-lg">- <div className="flex h-10 items-center justify-between border-border/50 border-b pr-2 pl-3">- <h3 className="font-medium text-sm">- {t("notifications:title")}- </h3>- {unreadNotifications.length > 0 && (- <DropdownMenuItem- closeOnClick={false}- onClick={() => markAllAsRead()}- className="min-h-0 w-auto cursor-pointer rounded-md px-1.5 py-1 text-muted-foreground text-xs sm:min-h-0 sm:text-xs data-highlighted:text-foreground"- >- {t("common:actions.markAllRead")}- </DropdownMenuItem>- )}- </div>-- <div className="relative max-h-80 overflow-y-auto p-1">- {!hasNotifications ? (- <div className="flex flex-col items-center gap-1 py-10 text-center">- <Bell className="mb-1 size-5 text-muted-foreground/40" />- <p className="text-muted-foreground text-sm">- {t("notifications:emptyTitle")}- </p>- <p className="text-muted-foreground/60 text-xs">- {t("notifications:emptySubtitle")}- </p>- </div>- ) : (- notifications.map((notification) => {- const content = getNotificationContent(notification, t);- return (- <DropdownMenuItem- key={notification.id}- onClick={() => handleNotificationClick(notification)}- className="cursor-pointer items-start rounded-md px-2.5 py-2"- >- <div className="min-w-0 flex-1">- <div className="flex items-center gap-2">- <span- className={cn(- "truncate text-sm transition-colors duration-150",- notification.isRead- ? "text-muted-foreground"- : "font-medium text-foreground",- )}- >- {getNotificationTitle(notification, t)}- </span>- <span className="ml-auto shrink-0 text-[11px] text-muted-foreground/70">- {formatRelativeTime(notification.createdAt)}- </span>- {!notification.isRead && (- <span className="size-1.5 shrink-0 rounded-full bg-info" />- )}- </div>- {content && (- <p- className={cn(- "mt-0.5 line-clamp-1 text-xs transition-colors duration-150",- notification.isRead- ? "text-muted-foreground/60"- : "text-muted-foreground",- )}- >- {content}- </p>- )}- </div>- </DropdownMenuItem>- );- })- )}- </div>- {hasNotifications && (- <div className="border-border/50 border-t p-1">- <DropdownMenuItem- onClick={() => setShowClearDialog(true)}- className="min-h-0 cursor-pointer justify-center rounded-md px-2 py-1 text-muted-foreground/70 text-xs sm:min-h-0 sm:text-xs data-highlighted:text-destructive"- >- {t("notifications:clearAll")}- </DropdownMenuItem>- </div>- )}- </div>- </DropdownMenuContent>- </DropdownMenu>-- <AlertDialog open={showClearDialog} onOpenChange={setShowClearDialog}>- <AlertDialogContent>- <AlertDialogHeader>- <AlertDialogTitle>- {t("notifications:clearDialogTitle")}- </AlertDialogTitle>- <AlertDialogDescription>- {t("notifications:clearDialogDescription")}- </AlertDialogDescription>- </AlertDialogHeader>- <AlertDialogFooter>- <AlertDialogClose render={<Button variant="outline" size="sm" />}>- {t("common:actions.cancel")}- </AlertDialogClose>- <AlertDialogClose- render={- <Button- variant="destructive"- size="sm"- onClick={handleClearAll}- />- }- >- {t("common:actions.clearAll")}- </AlertDialogClose>- </AlertDialogFooter>- </AlertDialogContent>- </AlertDialog>- </>- );- },-);--NotificationDropdown.displayName = "NotificationDropdown";--export default NotificationDropdown;diff --git a/apps/web/src/components/notification/notification-dropdown.test.ts b/apps/web/src/components/notification/notification-text.test.tssimilarity index 98%rename from apps/web/src/components/notification/notification-dropdown.test.tsrename to apps/web/src/components/notification/notification-text.test.tsindex 341a89eab..bd0aa252f 100644--- a/apps/web/src/components/notification/notification-dropdown.test.ts+++ b/apps/web/src/components/notification/notification-text.test.ts@@ -3,7 +3,7 @@ import type { Notification } from "@/types/notification";import {getNotificationContent,getNotificationTitle,-} from "./notification-dropdown";+} from "./notification-text";const t = (key: string, options?: Record<string, unknown>) => {if (key === "notifications:reminderLeadTime.days") {diff --git a/apps/web/src/components/notification/notification-text.ts b/apps/web/src/components/notification/notification-text.tsnew file mode 100644index 000000000..d6d7ac77f--- /dev/null+++ b/apps/web/src/components/notification/notification-text.ts@@ -0,0 +1,158 @@+import { getStatusLabel } from "@/lib/i18n/domain";+import type { Notification } from "@/types/notification";++export function getEventDataRecord(+ eventData: unknown,+): Record<string, unknown> | null {+ if (!eventData || typeof eventData !== "object" || Array.isArray(eventData)) {+ return null;+ }++ return eventData as Record<string, unknown>;+}++function getReminderLeadTime(+ eventData: Record<string, unknown>,+ t: (key: string, options?: Record<string, unknown>) => string,+) {+ const minutes = Number(eventData.leadTimeMinutes ?? 1440);+ if (minutes % 1440 === 0) {+ return t("notifications:reminderLeadTime.days", {+ count: minutes / 1440,+ });+ }+ if (minutes % 60 === 0) {+ return t("notifications:reminderLeadTime.hours", {+ count: minutes / 60,+ });+ }+ return t("notifications:reminderLeadTime.minutes", { count: minutes });+}++export function getNotificationTitle(+ notification: Notification,+ t: (key: string, options?: Record<string, unknown>) => string,+) {+ const eventData = getEventDataRecord(notification.eventData);+ if (eventData) {+ switch (notification.type) {+ case "task_created":+ return t("notifications:events.task_created.title", {+ ...eventData,+ defaultValue: notification.title ?? notification.type,+ });+ case "workspace_created":+ return t("notifications:events.workspace_created.title", {+ ...eventData,+ defaultValue: notification.title ?? notification.type,+ });+ case "task_status_changed":+ return t("notifications:events.task_status_changed.title", {+ ...eventData,+ defaultValue: notification.title ?? notification.type,+ });+ case "task_assignee_changed":+ return t("notifications:events.task_assignee_changed.title", {+ ...eventData,+ defaultValue: notification.title ?? notification.type,+ });+ case "time_entry_created":+ return t("notifications:events.time_entry_created.title", {+ ...eventData,+ defaultValue: notification.title ?? notification.type,+ });+ case "task_mention":+ return t("notifications:events.task_mention.title", {+ ...eventData,+ defaultValue: notification.title ?? notification.type,+ });+ case "task_comment":+ return t("notifications:events.task_comment.title", {+ ...eventData,+ defaultValue: notification.title ?? notification.type,+ });+ case "due_date_reminder":+ return t("notifications:events.due_date_reminder.title", {+ ...eventData,+ defaultValue: notification.title ?? notification.type,+ });+ case "task_overdue":+ return t("notifications:events.task_overdue.title", {+ ...eventData,+ defaultValue: notification.title ?? notification.type,+ });+ default:+ break;+ }+ }++ return notification.title ?? notification.type;+}++export function getNotificationContent(+ notification: Notification,+ t: (key: string, options?: Record<string, unknown>) => string,+) {+ const eventData = getEventDataRecord(notification.eventData);+ if (eventData) {+ switch (notification.type) {+ case "task_created":+ return t("notifications:events.task_created.content", {+ ...eventData,+ defaultValue: notification.content ?? "",+ });+ case "workspace_created":+ return t("notifications:events.workspace_created.content", {+ ...eventData,+ defaultValue: notification.content ?? "",+ });+ case "task_status_changed":+ return t("notifications:events.task_status_changed.content", {+ ...eventData,+ oldStatus: getStatusLabel(String(eventData.oldStatus ?? "")),+ newStatus: getStatusLabel(String(eventData.newStatus ?? "")),+ defaultValue: notification.content ?? "",+ });+ case "task_assignee_changed":+ return t("notifications:events.task_assignee_changed.content", {+ ...eventData,+ defaultValue: notification.content ?? "",+ });+ case "time_entry_created":+ return eventData.taskTitle+ ? t("notifications:events.time_entry_created.contentWithTask", {+ ...eventData,+ defaultValue: notification.content ?? "",+ })+ : t("notifications:events.time_entry_created.contentWithoutTask", {+ ...eventData,+ defaultValue: notification.content ?? "",+ });+ case "task_mention":+ return t("notifications:events.task_mention.content", {+ ...eventData,+ defaultValue: notification.content ?? "",+ });+ case "task_comment":+ return t("notifications:events.task_comment.content", {+ ...eventData,+ defaultValue: notification.content ?? "",+ });+ case "due_date_reminder":+ return t("notifications:events.due_date_reminder.content", {+ ...eventData,+ leadTime: getReminderLeadTime(eventData, t),+ defaultValue: notification.content ?? "",+ });+ case "task_overdue":+ return t("notifications:events.task_overdue.content", {+ ...eventData,+ defaultValue: notification.content ?? "",+ });+ default:+ break;+ }+ }++ return notification.content ?? "";+}diff --git a/apps/web/src/components/project-progress.tsx b/apps/web/src/components/project-progress.tsxnew file mode 100644index 000000000..8e9ab9842--- /dev/null+++ b/apps/web/src/components/project-progress.tsx@@ -0,0 +1,44 @@+import { cn } from "@/lib/cn";++type ProjectProgressProps = {+ percentage: number;+ className?: string;+};++const RADIUS = 2.25;+const CIRCUMFERENCE = 2 * Math.PI * RADIUS;++// A filled wedge rather than a ring: a partial ring reads as a spinner.+export function ProjectProgress({+ percentage,+ className,+}: ProjectProgressProps) {+ const clamped = Math.min(100, Math.max(0, percentage));++ return (+ <svg+ aria-hidden="true"+ viewBox="0 0 14 14"+ className={cn("size-3.5 shrink-0", className)}+ >+ <circle+ cx="7"+ cy="7"+ r="6"+ fill="none"+ stroke="currentColor"+ strokeWidth="1.5"+ />+ <circle+ cx="7"+ cy="7"+ r={RADIUS}+ fill="none"+ stroke="currentColor"+ strokeWidth={RADIUS * 2}+ strokeDasharray={`${(clamped / 100) * CIRCUMFERENCE} ${CIRCUMFERENCE}`}+ transform="rotate(-90 7 7)"+ />+ </svg>+ );+}diff --git a/apps/web/src/components/search.tsx b/apps/web/src/components/search.tsxindex 520b246bd..efb2e3ae3 100644--- a/apps/web/src/components/search.tsx+++ b/apps/web/src/components/search.tsx@@ -4,7 +4,14 @@ import { SearchIcon } from "lucide-react";import { useState } from "react";import { useTranslation } from "react-i18next";import SearchCommandMenu from "@/components/search-command-menu";-import { SidebarGroup } from "@/components/ui/sidebar";+import { Button } from "@/components/ui/button";+import { KbdSequence } from "@/components/ui/kbd";+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from "@/components/ui/tooltip";import { shortcuts } from "@/constants/shortcuts";import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";@@ -21,28 +28,32 @@ export default function Search() {});return (- <SidebarGroup className="pb-1">- <button- className="inline-flex h-8 w-full cursor-pointer rounded-md border border-input bg-background px-2 py-1.5 text-foreground text-sm shadow-xs outline-none transition-[color,box-shadow] placeholder:text-muted-foreground/70 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50"- onClick={() => setOpen(true)}- type="button"- >- <span className="flex grow items-center">- <SearchIcon- aria-hidden="true"- className="-ms-1 me-3 text-muted-foreground/80"- size={16}- />- <span className="font-normal text-muted-foreground/70">- {t("navigation:commandPalette.search")}- </span>- </span>- <kbd className="-me-0.5 ms-6 inline-flex h-4 max-h-full items-center rounded border border-border/70 bg-background px-1 font-[inherit] font-medium text-[0.625rem] text-muted-foreground/60">- {shortcuts.search.prefix}- </kbd>- </button>+ <>+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="icon"+ className="size-8 shrink-0 text-muted-foreground hover:bg-sidebar-accent/70"+ onClick={() => setOpen(true)}+ >+ <SearchIcon aria-hidden="true" className="size-4" />+ <span className="sr-only">+ {t("navigation:commandPalette.search")}+ </span>+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <p className="flex items-center gap-2 text-[10px]">+ {t("navigation:commandPalette.search")}+ <KbdSequence keys={[shortcuts.search.prefix]} />+ </p>+ </TooltipContent>+ </Tooltip>+ </TooltipProvider><SearchCommandMenu open={open} setOpen={setOpen} />- </SidebarGroup>+ </>);}diff --git a/apps/web/src/components/workspace-switcher.tsx b/apps/web/src/components/workspace-switcher.tsxindex e164dc3d5..53c500ff7 100644--- a/apps/web/src/components/workspace-switcher.tsx+++ b/apps/web/src/components/workspace-switcher.tsx@@ -2,7 +2,7 @@ import { useNavigate } from "@tanstack/react-router";import { ChevronDown } from "lucide-react";import * as React from "react";import { useTranslation } from "react-i18next";-import NotificationDropdown from "@/components/notification/notification-dropdown";+import Search from "@/components/search";import {DropdownMenu,DropdownMenuContent,@@ -36,7 +36,6 @@ export function WorkspaceSwitcher() {const { t } = useTranslation();const { data: workspace } = useActiveWorkspace();- // User-scoped WebSocket for real-time events (e.g. NOTIFICATION_CREATED)const { data: workspaces } = useGetWorkspaces();const { data: session } = authClient.useSession();const { data: config } = useGetConfig();@@ -200,8 +199,8 @@ export function WorkspaceSwitcher() {</SidebarMenuItem></SidebarMenu>- <div className="flex items-center gap-1">- <NotificationDropdown />+ <div className="flex items-center gap-0.5">+ <Search /><div className="h-8 w-8 shrink-0"><UserAvatar /></div>diff --git a/apps/web/src/fetchers/activity/get-workspace-activities.ts b/apps/web/src/fetchers/activity/get-workspace-activities.tsnew file mode 100644index 000000000..b0239b35c--- /dev/null+++ b/apps/web/src/fetchers/activity/get-workspace-activities.ts@@ -0,0 +1,22 @@+import { client } from "@kaneo/libs";+import type { InferResponseType } from "hono/client";+import { HttpError } from "@/lib/http-error";++export type WorkspaceActivity = InferResponseType<+ (typeof client)["activity"]["workspace"][":workspaceId"]["$get"],+ 200+>[number];++async function getWorkspaceActivities(workspaceId: string) {+ const response = await client.activity.workspace[":workspaceId"].$get({+ param: { workspaceId },+ });++ if (!response.ok) {+ throw new HttpError(response.status, await response.text());+ }++ return response.json();+}++export default getWorkspaceActivities;diff --git a/apps/web/src/fetchers/task/get-assigned-tasks.ts b/apps/web/src/fetchers/task/get-assigned-tasks.tsnew file mode 100644index 000000000..106db60ae--- /dev/null+++ b/apps/web/src/fetchers/task/get-assigned-tasks.ts@@ -0,0 +1,22 @@+import { client } from "@kaneo/libs";+import type { InferResponseType } from "hono/client";+import { HttpError } from "@/lib/http-error";++export type AssignedTasks = InferResponseType<+ (typeof client)["task"]["assigned"]["$get"],+ 200+>;++export type AssignedTask = AssignedTasks["tasks"][number];++async function getAssignedTasks(workspaceId: string) {+ const response = await client.task.assigned.$get({ query: { workspaceId } });++ if (!response.ok) {+ throw new HttpError(response.status, await response.text());+ }++ return response.json();+}++export default getAssignedTasks;diff --git a/apps/web/src/hooks/mutations/task/use-bulk-operations.ts b/apps/web/src/hooks/mutations/task/use-bulk-operations.tsindex b96cea296..8de7785e0 100644--- a/apps/web/src/hooks/mutations/task/use-bulk-operations.ts+++ b/apps/web/src/hooks/mutations/task/use-bulk-operations.ts@@ -1,4 +1,5 @@import { useMutation, useQueryClient } from "@tanstack/react-query";+import { invalidateMyWork } from "@/lib/invalidate-my-work";import bulkOperation from "@/fetchers/task/bulk-operation";import deleteTask from "@/fetchers/task/delete-task";@@ -8,6 +9,7 @@ export function useBulkOperations() {const invalidateCommon = () => {queryClientRef.invalidateQueries({ queryKey: ["tasks"] });queryClientRef.invalidateQueries({ queryKey: ["projects"] });+ invalidateMyWork(queryClientRef);};const bulkDelete = useMutation({diff --git a/apps/web/src/hooks/mutations/task/use-create-task.ts b/apps/web/src/hooks/mutations/task/use-create-task.tsindex d67b92476..b421d98d8 100644--- a/apps/web/src/hooks/mutations/task/use-create-task.ts+++ b/apps/web/src/hooks/mutations/task/use-create-task.ts@@ -1,4 +1,5 @@import { useMutation, useQueryClient } from "@tanstack/react-query";+import { invalidateMyWork } from "@/lib/invalidate-my-work";import createTask, {type CreateTaskRequest,} from "@/fetchers/task/create-task";@@ -33,6 +34,7 @@ function useCreateTask() {draftAssetIds,),onSuccess: (_data, variables) => {+ invalidateMyWork(queryClient);trackFirstTask();void queryClient.invalidateQueries({queryKey: ["tasks", variables.projectId],diff --git a/apps/web/src/hooks/mutations/task/use-delete-task.ts b/apps/web/src/hooks/mutations/task/use-delete-task.tsindex 1900ca2d4..6132004fd 100644--- a/apps/web/src/hooks/mutations/task/use-delete-task.ts+++ b/apps/web/src/hooks/mutations/task/use-delete-task.ts@@ -1,4 +1,5 @@import { useMutation, useQueryClient } from "@tanstack/react-query";+import { invalidateMyWork } from "@/lib/invalidate-my-work";import deleteTask from "@/fetchers/task/delete-task";import useProjectStore from "@/store/project";import type { ProjectWithTasks } from "@/types/project";@@ -10,6 +11,7 @@ export function useDeleteTask() {return useMutation({mutationFn: deleteTask,onSuccess: (deletedTask) => {+ invalidateMyWork(queryClient);queryClient.setQueryData<ProjectWithTasks | undefined>(["tasks", deletedTask.projectId],(project) =>diff --git a/apps/web/src/hooks/mutations/task/use-duplicate-task.ts b/apps/web/src/hooks/mutations/task/use-duplicate-task.tsindex b9c6af2d3..2005a9085 100644--- a/apps/web/src/hooks/mutations/task/use-duplicate-task.ts+++ b/apps/web/src/hooks/mutations/task/use-duplicate-task.ts@@ -1,4 +1,5 @@import { useMutation, useQueryClient } from "@tanstack/react-query";+import { invalidateMyWork } from "@/lib/invalidate-my-work";import { useTranslation } from "react-i18next";import duplicateTask from "@/fetchers/task/duplicate-task";import { toast } from "@/lib/toast";@@ -10,6 +11,7 @@ export function useDuplicateTask() {return useMutation({mutationFn: duplicateTask,onSuccess: (task) => {+ invalidateMyWork(queryClient);toast.success(t("tasks:duplicate.success"));queryClient.invalidateQueries({queryKey: ["tasks", task.projectId],diff --git a/apps/web/src/hooks/mutations/task/use-move-task.ts b/apps/web/src/hooks/mutations/task/use-move-task.tsindex 801ebf5db..7fb72b263 100644--- a/apps/web/src/hooks/mutations/task/use-move-task.ts+++ b/apps/web/src/hooks/mutations/task/use-move-task.ts@@ -1,4 +1,5 @@import { useMutation, useQueryClient } from "@tanstack/react-query";+import { invalidateMyWork } from "@/lib/invalidate-my-work";import { useTranslation } from "react-i18next";import moveTask from "@/fetchers/task/move-task";import { toast } from "@/lib/toast";@@ -10,6 +11,7 @@ export function useMoveTask() {return useMutation({mutationFn: moveTask,onSuccess: (result, variables) => {+ invalidateMyWork(queryClient);toast.success(t("tasks:move.success"));queryClient.invalidateQueries({queryKey: ["external-links", variables.taskId],diff --git a/apps/web/src/hooks/mutations/task/use-update-task-assignee.ts b/apps/web/src/hooks/mutations/task/use-update-task-assignee.tsindex baad024f8..034e711ab 100644--- a/apps/web/src/hooks/mutations/task/use-update-task-assignee.ts+++ b/apps/web/src/hooks/mutations/task/use-update-task-assignee.ts@@ -1,4 +1,5 @@import { useMutation, useQueryClient } from "@tanstack/react-query";+import { invalidateMyWork } from "@/lib/invalidate-my-work";import updateTaskAssignee from "@/fetchers/task/update-task-assignee";import type Task from "@/types/task";@@ -8,6 +9,7 @@ export function useUpdateTaskAssignee() {return useMutation({mutationFn: (task: Task) => updateTaskAssignee(task.id, task),onSuccess: (_, variables) => {+ invalidateMyWork(queryClient);queryClient.invalidateQueries({queryKey: ["task", variables.id],});diff --git a/apps/web/src/hooks/mutations/task/use-update-task-due-date.ts b/apps/web/src/hooks/mutations/task/use-update-task-due-date.tsindex 702991da0..9f4bfb142 100644--- a/apps/web/src/hooks/mutations/task/use-update-task-due-date.ts+++ b/apps/web/src/hooks/mutations/task/use-update-task-due-date.ts@@ -3,6 +3,7 @@ import {markBoardCacheChanged,} from "@/lib/board-cache-version";import { useMutation, useQueryClient } from "@tanstack/react-query";+import { invalidateMyWork } from "@/lib/invalidate-my-work";import updateTaskDueDate from "@/fetchers/task/update-task-due-date";import type Task from "@/types/task";import { updateBoardTaskCache } from "@/lib/update-board-task-cache";@@ -19,6 +20,7 @@ export function useUpdateTaskDueDate() {};},onSuccess: (updated, variables, context) => {+ invalidateMyWork(queryClient);queryClient.invalidateQueries({queryKey: ["task", variables.id],});diff --git a/apps/web/src/hooks/mutations/task/use-update-task-status-priority.ts b/apps/web/src/hooks/mutations/task/use-update-task-status-priority.tsindex fed1edd2b..0c5f24f9f 100644--- a/apps/web/src/hooks/mutations/task/use-update-task-status-priority.ts+++ b/apps/web/src/hooks/mutations/task/use-update-task-status-priority.ts@@ -3,6 +3,7 @@ import {markBoardCacheChanged,} from "@/lib/board-cache-version";import { useMutation, useQueryClient } from "@tanstack/react-query";+import { invalidateMyWork } from "@/lib/invalidate-my-work";import updateTaskPriority from "@/fetchers/task/update-task-priority";import type Task from "@/types/task";import { updateBoardTaskCache } from "@/lib/update-board-task-cache";@@ -19,6 +20,7 @@ export function useUpdateTaskPriority() {};},onSuccess: (updated, variables, context) => {+ invalidateMyWork(queryClient);queryClient.invalidateQueries({queryKey: ["task", variables.id],});diff --git a/apps/web/src/hooks/mutations/task/use-update-task-status.ts b/apps/web/src/hooks/mutations/task/use-update-task-status.tsindex 53ae96631..e853d6ca2 100644--- a/apps/web/src/hooks/mutations/task/use-update-task-status.ts+++ b/apps/web/src/hooks/mutations/task/use-update-task-status.ts@@ -1,4 +1,5 @@import { useMutation, useQueryClient } from "@tanstack/react-query";+import { invalidateMyWork } from "@/lib/invalidate-my-work";import updateTaskStatus from "@/fetchers/task/update-task-status";import type Task from "@/types/task";@@ -8,6 +9,7 @@ export function useUpdateTaskStatus() {return useMutation({mutationFn: (task: Task) => updateTaskStatus(task.id, task),onSuccess: (_, variables) => {+ invalidateMyWork(queryClient);queryClient.invalidateQueries({queryKey: ["task", variables.id],});diff --git a/apps/web/src/hooks/mutations/task/use-update-task-title.ts b/apps/web/src/hooks/mutations/task/use-update-task-title.tsindex a38f0eac1..4dfa4a91a 100644--- a/apps/web/src/hooks/mutations/task/use-update-task-title.ts+++ b/apps/web/src/hooks/mutations/task/use-update-task-title.ts@@ -3,6 +3,7 @@ import {markBoardCacheChanged,} from "@/lib/board-cache-version";import { useMutation, useQueryClient } from "@tanstack/react-query";+import { invalidateMyWork } from "@/lib/invalidate-my-work";import updateTaskTitle from "@/fetchers/task/update-task-title";import type Task from "@/types/task";import { updateBoardTaskCache } from "@/lib/update-board-task-cache";@@ -19,6 +20,7 @@ export function useUpdateTaskTitle() {};},onSuccess: (updated, variables, context) => {+ invalidateMyWork(queryClient);queryClient.invalidateQueries({queryKey: ["task", variables.id],});diff --git a/apps/web/src/hooks/mutations/task/use-update-task.ts b/apps/web/src/hooks/mutations/task/use-update-task.tsindex e6f4ad111..d9cb958d8 100644--- a/apps/web/src/hooks/mutations/task/use-update-task.ts+++ b/apps/web/src/hooks/mutations/task/use-update-task.ts@@ -1,4 +1,5 @@import { useMutation, useQueryClient } from "@tanstack/react-query";+import { invalidateMyWork } from "@/lib/invalidate-my-work";import updateTask from "@/fetchers/task/update-task";import type Task from "@/types/task";@@ -8,6 +9,7 @@ export function useUpdateTask() {return useMutation({mutationFn: (task: Task) => updateTask(task.id, task),onSuccess: (_, variables) => {+ invalidateMyWork(queryClient);queryClient.invalidateQueries({queryKey: ["task", variables.id],});diff --git a/apps/web/src/hooks/queries/activity/use-get-workspace-activities.ts b/apps/web/src/hooks/queries/activity/use-get-workspace-activities.tsnew file mode 100644index 000000000..1ade928de--- /dev/null+++ b/apps/web/src/hooks/queries/activity/use-get-workspace-activities.ts@@ -0,0 +1,15 @@+import { useQuery } from "@tanstack/react-query";+import getWorkspaceActivities from "@/fetchers/activity/get-workspace-activities";++function useGetWorkspaceActivities(workspaceId: string | undefined) {+ return useQuery({+ queryKey: ["workspace-activity", workspaceId],+ queryFn: () => getWorkspaceActivities(workspaceId ?? ""),+ enabled: Boolean(workspaceId),+ // The app default skips refetching on mount; these lists go stale while+ // the user works elsewhere.+ refetchOnMount: "always",+ });+}++export default useGetWorkspaceActivities;diff --git a/apps/web/src/hooks/queries/task/use-get-assigned-tasks.ts b/apps/web/src/hooks/queries/task/use-get-assigned-tasks.tsnew file mode 100644index 000000000..ffedc81e5--- /dev/null+++ b/apps/web/src/hooks/queries/task/use-get-assigned-tasks.ts@@ -0,0 +1,15 @@+import { useQuery } from "@tanstack/react-query";+import getAssignedTasks from "@/fetchers/task/get-assigned-tasks";++function useGetAssignedTasks(workspaceId: string | undefined) {+ return useQuery({+ queryKey: ["assigned-tasks", workspaceId],+ queryFn: () => getAssignedTasks(workspaceId ?? ""),+ enabled: Boolean(workspaceId),+ // The app default skips refetching on mount; these lists go stale while+ // the user works elsewhere.+ refetchOnMount: "always",+ });+}++export default useGetAssignedTasks;diff --git a/apps/web/src/hooks/use-user-websocket.ts b/apps/web/src/hooks/use-user-websocket.tsindex da4d0ad32..a0a518691 100644--- a/apps/web/src/hooks/use-user-websocket.ts+++ b/apps/web/src/hooks/use-user-websocket.ts@@ -134,6 +134,10 @@ export function useUserWebSocket() {}if (message.type === "NOTIFICATION_CREATED") {queryClient.invalidateQueries({ queryKey: ["notifications"] });+ // Home and My tasks sit outside any project socket; a notification+ // is their signal that the caller's work changed.+ queryClient.invalidateQueries({ queryKey: ["assigned-tasks"] });+ queryClient.invalidateQueries({ queryKey: ["workspace-activity"] });}} catch {// Ignore malformed messagesdiff --git a/apps/web/src/lib/invalidate-my-work.ts b/apps/web/src/lib/invalidate-my-work.tsnew file mode 100644index 000000000..ccfbf73bd--- /dev/null+++ b/apps/web/src/lib/invalidate-my-work.ts@@ -0,0 +1,8 @@+import type { QueryClient } from "@tanstack/react-query";++// The sidebar count, Home and My tasks read the caller's assigned tasks across+// projects, so any task change can move them even though no board cache does.+export function invalidateMyWork(queryClient: QueryClient) {+ void queryClient.invalidateQueries({ queryKey: ["assigned-tasks"] });+ void queryClient.invalidateQueries({ queryKey: ["workspace-activity"] });+}diff --git a/apps/web/src/routeTree.gen.ts b/apps/web/src/routeTree.gen.tsindex f127b4e8c..44f7535e1 100644--- a/apps/web/src/routeTree.gen.ts+++ b/apps/web/src/routeTree.gen.ts@@ -50,7 +50,10 @@ import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRouteImporimport { Route as LayoutAuthenticatedDashboardSettingsWorkspaceLabelsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace/labels'import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceRolesRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace/roles'import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index'+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdInboxRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/inbox'import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members'+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/my-tasks'+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/projects'import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search'import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/calendar'import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/general'@@ -292,12 +295,30 @@ const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute =path: '/',getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,} as any)+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdInboxRoute =+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdInboxRouteImport.update({+ id: '/inbox',+ path: '/inbox',+ getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,+ } as any)const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute =LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImport.update({id: '/members',path: '/members',getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,} as any)+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRoute =+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRouteImport.update({+ id: '/my-tasks',+ path: '/my-tasks',+ getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,+ } as any)+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRoute =+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRouteImport.update({+ id: '/projects',+ path: '/projects',+ getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,+ } as any)const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute =LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport.update({id: '/search',@@ -438,7 +459,10 @@ export interface FileRoutesByFullPath {'/dashboard/settings/workspace/general': typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute'/dashboard/settings/workspace/labels': typeof LayoutAuthenticatedDashboardSettingsWorkspaceLabelsRoute'/dashboard/settings/workspace/roles': typeof LayoutAuthenticatedDashboardSettingsWorkspaceRolesRoute+ '/dashboard/workspace/$workspaceId/inbox': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdInboxRoute'/dashboard/workspace/$workspaceId/members': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute+ '/dashboard/workspace/$workspaceId/my-tasks': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRoute+ '/dashboard/workspace/$workspaceId/projects': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRoute'/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute'/dashboard/workspace/$workspaceId/': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute'/dashboard/settings/projects/$projectId/calendar': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute@@ -489,7 +513,10 @@ export interface FileRoutesByTo {'/dashboard/settings/workspace/general': typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute'/dashboard/settings/workspace/labels': typeof LayoutAuthenticatedDashboardSettingsWorkspaceLabelsRoute'/dashboard/settings/workspace/roles': typeof LayoutAuthenticatedDashboardSettingsWorkspaceRolesRoute+ '/dashboard/workspace/$workspaceId/inbox': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdInboxRoute'/dashboard/workspace/$workspaceId/members': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute+ '/dashboard/workspace/$workspaceId/my-tasks': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRoute+ '/dashboard/workspace/$workspaceId/projects': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRoute'/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute'/dashboard/workspace/$workspaceId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute'/dashboard/settings/projects/$projectId/calendar': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute@@ -546,7 +573,10 @@ export interface FileRoutesById {'/_layout/_authenticated/dashboard/settings/workspace/general': typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute'/_layout/_authenticated/dashboard/settings/workspace/labels': typeof LayoutAuthenticatedDashboardSettingsWorkspaceLabelsRoute'/_layout/_authenticated/dashboard/settings/workspace/roles': typeof LayoutAuthenticatedDashboardSettingsWorkspaceRolesRoute+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/inbox': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdInboxRoute'/_layout/_authenticated/dashboard/workspace/$workspaceId/members': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/my-tasks': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRoute+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/projects': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRoute'/_layout/_authenticated/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute'/_layout/_authenticated/dashboard/workspace/$workspaceId/': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute'/_layout/_authenticated/dashboard/settings/projects/$projectId/calendar': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute@@ -602,7 +632,10 @@ export interface FileRouteTypes {| '/dashboard/settings/workspace/general'| '/dashboard/settings/workspace/labels'| '/dashboard/settings/workspace/roles'+ | '/dashboard/workspace/$workspaceId/inbox'| '/dashboard/workspace/$workspaceId/members'+ | '/dashboard/workspace/$workspaceId/my-tasks'+ | '/dashboard/workspace/$workspaceId/projects'| '/dashboard/workspace/$workspaceId/search'| '/dashboard/workspace/$workspaceId/'| '/dashboard/settings/projects/$projectId/calendar'@@ -653,7 +686,10 @@ export interface FileRouteTypes {| '/dashboard/settings/workspace/general'| '/dashboard/settings/workspace/labels'| '/dashboard/settings/workspace/roles'+ | '/dashboard/workspace/$workspaceId/inbox'| '/dashboard/workspace/$workspaceId/members'+ | '/dashboard/workspace/$workspaceId/my-tasks'+ | '/dashboard/workspace/$workspaceId/projects'| '/dashboard/workspace/$workspaceId/search'| '/dashboard/workspace/$workspaceId'| '/dashboard/settings/projects/$projectId/calendar'@@ -709,7 +745,10 @@ export interface FileRouteTypes {| '/_layout/_authenticated/dashboard/settings/workspace/general'| '/_layout/_authenticated/dashboard/settings/workspace/labels'| '/_layout/_authenticated/dashboard/settings/workspace/roles'+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/inbox'| '/_layout/_authenticated/dashboard/workspace/$workspaceId/members'+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/my-tasks'+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/projects'| '/_layout/_authenticated/dashboard/workspace/$workspaceId/search'| '/_layout/_authenticated/dashboard/workspace/$workspaceId/'| '/_layout/_authenticated/dashboard/settings/projects/$projectId/calendar'@@ -1025,6 +1064,13 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImportparentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute}+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/inbox': {+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/inbox'+ path: '/inbox'+ fullPath: '/dashboard/workspace/$workspaceId/inbox'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdInboxRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute+ }'/_layout/_authenticated/dashboard/workspace/$workspaceId/members': {id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/members'path: '/members'@@ -1032,6 +1078,20 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImportparentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute}+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/my-tasks': {+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/my-tasks'+ path: '/my-tasks'+ fullPath: '/dashboard/workspace/$workspaceId/my-tasks'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute+ }+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/projects': {+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/projects'+ path: '/projects'+ fullPath: '/dashboard/workspace/$workspaceId/projects'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute+ }'/_layout/_authenticated/dashboard/workspace/$workspaceId/search': {id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/search'path: '/search'@@ -1237,7 +1297,10 @@ const LayoutAuthenticatedDashboardSettingsRouteWithChildren =)interface LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteChildren {+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdInboxRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdInboxRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRoute+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute@@ -1250,8 +1313,14 @@ interface LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteChildren {const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteChildren: LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteChildren ={+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdInboxRoute:+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdInboxRoute,LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute:LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute,+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRoute:+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRoute,+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRoute:+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRoute,LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute:LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute,LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute:diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId.tsxindex bb24262f4..09c40c2dc 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId.tsx@@ -1,36 +1,8 @@-import { createFileRoute, Outlet, redirect } from "@tanstack/react-router";-import getProjects from "@/fetchers/project/get-projects";+import { createFileRoute, Outlet } from "@tanstack/react-router";export const Route = createFileRoute("/_layout/_authenticated/dashboard/workspace/$workspaceId",)({- beforeLoad: async ({ params, location, context }) => {- const currentPath = location.pathname.replace(/\/+$/, "");- const workspacePath = `/dashboard/workspace/${params.workspaceId}`;-- if (currentPath !== workspacePath) return;-- let projects: Awaited<ReturnType<typeof getProjects>> | undefined;- try {- projects = await context.queryClient.fetchQuery({- queryKey: ["projects", params.workspaceId],- queryFn: () => getProjects({ workspaceId: params.workspaceId }),- });- } catch {- return;- }-- if (projects?.length !== 1) return;-- throw redirect({- to: "/dashboard/workspace/$workspaceId/project/$projectId/board",- params: {- workspaceId: params.workspaceId,- projectId: projects[0].id,- },- replace: true,- });- },component: RouteComponent,});diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/inbox.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/inbox.tsxnew file mode 100644index 000000000..1e5785f50--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/inbox.tsx@@ -0,0 +1,72 @@+import { createFileRoute } from "@tanstack/react-router";+import { Inbox } from "lucide-react";+import { useState } from "react";+import { useTranslation } from "react-i18next";+import WorkspaceLayout from "@/components/common/workspace-layout";+import { InboxDetail } from "@/components/inbox/inbox-detail";+import { InboxList } from "@/components/inbox/inbox-list";+import PageTitle from "@/components/page-title";+import useMarkNotificationAsRead from "@/hooks/mutations/notification/use-mark-notification-as-read";+import useGetNotifications from "@/hooks/queries/notification/use-get-notifications";+import { cn } from "@/lib/cn";+import type { Notification } from "@/types/notification";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/inbox",+)({+ component: RouteComponent,+});++function RouteComponent() {+ const { t } = useTranslation();+ const { data: notifications = [] } = useGetNotifications();+ const { mutate: markAsRead } = useMarkNotificationAsRead();+ const [selectedId, setSelectedId] = useState<string>();++ const selected = notifications.find(+ (notification) => notification.id === selectedId,+ );++ const handleSelect = (notification: Notification) => {+ setSelectedId(notification.id);+ if (!notification.isRead) markAsRead(notification.id);+ };++ return (+ <>+ <PageTitle title={t("notifications:inbox.pageTitle")} />+ <WorkspaceLayout title={t("notifications:inbox.pageTitle")}>+ <div className="flex h-full min-h-0">+ {/* One pane at a time below lg: the list, or the opened notification. */}+ <div+ className={cn(+ "w-full shrink-0 border-border/60 lg:block lg:w-[26rem] lg:border-r",+ selected && "hidden",+ )}+ >+ <InboxList+ notifications={notifications}+ selectedId={selected?.id}+ onSelect={handleSelect}+ />+ </div>+ <div className={cn("min-w-0 flex-1", !selected && "hidden lg:block")}>+ {selected ? (+ <InboxDetail+ notification={selected}+ onBack={() => setSelectedId(undefined)}+ />+ ) : (+ <div className="flex h-full flex-col items-center justify-center gap-2 text-center">+ <Inbox className="size-5 text-muted-foreground/50" />+ <p className="text-muted-foreground text-sm">+ {t("notifications:inbox.selectPrompt")}+ </p>+ </div>+ )}+ </div>+ </div>+ </WorkspaceLayout>+ </>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index.tsxindex da5bea633..3490de2a9 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index.tsx@@ -1,66 +1,20 @@-import {- closestCenter,- DndContext,- type DragEndEvent,- MouseSensor,- TouchSensor,- useSensor,- useSensors,-} from "@dnd-kit/core";-import {- restrictToParentElement,- restrictToVerticalAxis,-} from "@dnd-kit/modifiers";-import {- arrayMove,- SortableContext,- useSortable,- verticalListSortingStrategy,-} from "@dnd-kit/sortable";-import { CSS } from "@dnd-kit/utilities";-import { createFileRoute, useNavigate } from "@tanstack/react-router";-import { LayoutGrid, Plus } from "lucide-react";-import {- type CSSProperties,- type ReactNode,- useEffect,- useMemo,- useState,-} from "react";+import { createFileRoute } from "@tanstack/react-router";+import { Plus } from "lucide-react";+import { useState } from "react";import { useTranslation } from "react-i18next";import { TrialExpiredCallout } from "@/components/billing/trial-expired-callout";import WorkspaceLayout from "@/components/common/workspace-layout";+import { ActivityFeed } from "@/components/home/activity-feed";+import { getDayPart } from "@/components/home/day-part";+import { HomeProjects } from "@/components/home/home-projects";+import { UpNext } from "@/components/home/up-next";+import { WeekStrip } from "@/components/home/week-strip";import PageTitle from "@/components/page-title";-import CreateProjectModal from "@/components/shared/modals/create-project-modal";-import { Badge } from "@/components/ui/badge";+import CreateTaskModal from "@/components/shared/modals/create-task-modal";import { Button } from "@/components/ui/button";-import {- Empty,- EmptyContent,- EmptyDescription,- EmptyHeader,- EmptyMedia,- EmptyTitle,-} from "@/components/ui/empty";-import { Progress } from "@/components/ui/progress";-import { Skeleton } from "@/components/ui/skeleton";-import {- Table,- TableBody,- TableCell,- TableHead,- TableHeader,- TableRow,-} from "@/components/ui/table";-import icons from "@/constants/project-icons";-import { shortcuts } from "@/constants/shortcuts";-import useReorderProjects from "@/hooks/mutations/project/use-reorder-projects";-import useGetProjects from "@/hooks/queries/project/use-get-projects";-import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";+import useGetAssignedTasks from "@/hooks/queries/task/use-get-assigned-tasks";import { useWorkspacePermission } from "@/hooks/use-workspace-permission";-import { formatDateMedium } from "@/lib/format";-import { toast } from "@/lib/toast";-import { cn } from "@/lib/utils";+import { formatDate } from "@/lib/format";export const Route = createFileRoute("/_layout/_authenticated/dashboard/workspace/$workspaceId/",@@ -68,399 +22,76 @@ export const Route = createFileRoute(component: RouteComponent,});-function SortableProjectRow({- id,- canReorder,- onClick,- children,-}: {- id: string;- canReorder: boolean;- onClick: () => void;- children: ReactNode;-}) {- const {- listeners,- setNodeRef,- transform,- transition,- isDragging,- isSorting,- } = useSortable({- id,- disabled: !canReorder,- // The reorder already moves the row; animating the index change too- // replays the same move from a stale offset.- animateLayoutChanges: () => false,- // dnd-kit defaults to `ease`; this is the app's curve.- transition: { duration: 200, easing: "var(--ease-out)" },- });-- const style: CSSProperties = {- transform: CSS.Transform.toString(transform),- // Only while a drag is live, or the dropped row eases back from the drop- // point over a list that has already reordered.- transition: isSorting ? transition : undefined,- };-- return (- // `listeners` without `attributes`: the latter puts role="button" and a tab- // stop on the row.- <TableRow- ref={setNodeRef}- style={style}- data-kaneo-sortable=""- className={cn(- "group/row cursor-pointer",- isDragging && "relative z-10 bg-muted shadow-md",- )}- onClick={onClick}- {...(canReorder ? listeners : {})}- >- {children}- </TableRow>- );-}-function RouteComponent() {const { t } = useTranslation();- const [isCreateProjectOpen, setIsCreateProjectOpen] = useState(false);const { workspaceId } = Route.useParams();- const navigate = useNavigate();- const { data: projects, isLoading } = useGetProjects({- workspaceId,- });- const reorderProjects = useReorderProjects();-- // React state, not the query cache: dnd-kit clears its transforms with a- // setState in the same handler, while a cache write notifies a task later,- // leaving a frame with the transforms gone and the rows not yet moved.- const [droppedOrder, setDroppedOrder] = useState<string[] | null>(null);-- const orderedProjects = useMemo(() => {- if (!projects || !droppedOrder) return projects;-- const rank = new Map(droppedOrder.map((id, index) => [id, index]));-- return [...projects].sort(- (a, b) =>- (rank.get(a.id) ?? Number.MAX_SAFE_INTEGER) -- (rank.get(b.id) ?? Number.MAX_SAFE_INTEGER),- );- }, [projects, droppedOrder]);-- // Released once the server agrees, or a reorder made elsewhere stays pinned.- useEffect(() => {- if (!droppedOrder || !projects) return;- if (projects.map((project) => project.id).join() === droppedOrder.join()) {- setDroppedOrder(null);- }- }, [projects, droppedOrder]);-- const { canCreateProjects, canUpdateProjects } = useWorkspacePermission();- const canCreate = canCreateProjects();- // Matches the API, which gates /project/reorder on `project: ["update"]`- // alone — not the create+update+delete bundle.- const canReorder = canUpdateProjects();-- // Below these thresholds the row is still a link and the page still scrolls;- // above them the gesture becomes a drag.- const sensors = useSensors(- useSensor(MouseSensor, {- activationConstraint: { distance: 8 },- }),- useSensor(TouchSensor, {- activationConstraint: { delay: 200, tolerance: 8 },- }),- );-- const handleDragStart = () => {- document.body.classList.add("kaneo-dragging");- };-- const handleDragEnd = (event: DragEndEvent) => {- const { active, over } = event;-- document.body.classList.remove("kaneo-dragging");-- if (!over || active.id === over.id || !orderedProjects) return;-- const oldIndex = orderedProjects.findIndex(- (project) => project.id === active.id,- );- const newIndex = orderedProjects.findIndex(- (project) => project.id === over.id,- );-- if (oldIndex === -1 || newIndex === -1) return;-- const reordered = arrayMove(orderedProjects, oldIndex, newIndex);-- setDroppedOrder(reordered.map((project) => project.id));-- reorderProjects(workspaceId, reordered, {- onError: () => {- setDroppedOrder(null);- toast.error(t("workspace:projects.reorderError"));- },- });- };-- const handleCreateProject = () => {- if (!canCreate) return;- setIsCreateProjectOpen(true);- };-- useRegisterShortcuts({- sequentialShortcuts: {- [shortcuts.project.prefix]: {- [shortcuts.project.create]: handleCreateProject,- },- },- });-- const handleProjectClick = (projectId: string) => {- navigate({- to: "/dashboard/workspace/$workspaceId/project/$projectId/board",- params: { workspaceId, projectId },- });+ const {+ data: assigned,+ isLoading,+ isError,+ } = useGetAssignedTasks(workspaceId);+ const { canCreateTasks } = useWorkspacePermission();+ const [isCreateTaskOpen, setIsCreateTaskOpen] = useState(false);++ const greetings = {+ morning: t("workspace:home.greeting.morning"),+ afternoon: t("workspace:home.greeting.afternoon"),+ evening: t("workspace:home.greeting.evening"),};- if (isLoading) {- return (- <>- <PageTitle title={t("workspace:projects.pageTitle")} />- <WorkspaceLayout- title={t("workspace:projects.pageTitle")}- headerActions={- canCreate ? (- <Button- variant="outline"- size="xs"- onClick={handleCreateProject}- className="gap-1"- >- <Plus className="w-3 h-3" />- {t("workspace:projects.createProject")}- </Button>- ) : null- }- >- <Table>- <TableHeader>- <TableRow>- <TableHead className="text-foreground font-medium">- {t("workspace:projects.title")}- </TableHead>- <TableHead className="text-foreground font-medium">- {t("workspace:projects.progress")}- </TableHead>- <TableHead className="text-foreground font-medium">- {t("workspace:projects.targetDate")}- </TableHead>- <TableHead className="text-foreground font-medium">- {t("workspace:projects.status")}- </TableHead>- </TableRow>- </TableHeader>- <TableBody>- {[1, 2, 3].map((i) => (- <TableRow key={i}>- <TableCell className="py-3">- <div className="flex items-center gap-3">- <Skeleton className="h-5 w-5" />- <Skeleton className="h-4 w-24" />- </div>- </TableCell>- <TableCell className="py-3">- <Skeleton className="h-2 w-20" />- </TableCell>- <TableCell className="py-3">- <Skeleton className="h-4 w-20" />- </TableCell>- <TableCell className="py-3">- <Skeleton className="h-5 w-16" />- </TableCell>- </TableRow>- ))}- </TableBody>- </Table>- </WorkspaceLayout>- </>- );- }-- if (!projects || projects.length === 0) {- return (- <>- <PageTitle title={t("workspace:projects.pageTitle")} />- <WorkspaceLayout- title={t("workspace:projects.pageTitle")}- headerActions={- canCreate ? (- <Button- variant="outline"- size="xs"- onClick={handleCreateProject}- className="gap-1"- >- <Plus className="w-3 h-3" />- {t("workspace:projects.createProject")}- </Button>- ) : null- }- >+ return (+ <>+ <PageTitle title={t("workspace:home.pageTitle")} />+ <WorkspaceLayout title={t("workspace:home.pageTitle")}>+ <div className="h-full overflow-y-auto"><TrialExpiredCallout workspaceId={workspaceId} className="m-4" />- <Empty className="min-h-[60vh]">- <EmptyHeader>- <EmptyMedia variant="icon">- <LayoutGrid />- </EmptyMedia>- <EmptyTitle>{t("workspace:projects.emptyTitle")}</EmptyTitle>- <EmptyDescription>- {canCreate- ? t("workspace:projects.emptyDescription")- : t("workspace:projects.emptyDescriptionReadOnly")}- </EmptyDescription>- </EmptyHeader>- <EmptyContent>- {canCreate && (- <Button onClick={handleCreateProject}>+ <div className="mx-auto flex w-full max-w-5xl flex-col gap-9 px-6 py-10 lg:px-10">+ <header className="flex items-end justify-between gap-4">+ <div className="flex flex-col gap-1.5">+ <p className="font-medium text-[13px] text-muted-foreground">+ {formatDate(new Date(), {+ weekday: "long",+ month: "long",+ day: "numeric",+ })}+ </p>+ <h1 className="font-semibold text-3xl text-foreground tracking-tight">+ {greetings[getDayPart()]}+ </h1>+ </div>+ {canCreateTasks() && (+ <Button size="sm" onClick={() => setIsCreateTaskOpen(true)}><Plus />- {t("workspace:projects.createProject")}+ {t("workspace:home.newTask")}</Button>)}- </EmptyContent>- </Empty>- </WorkspaceLayout>-- <CreateProjectModal- open={isCreateProjectOpen}- onClose={() => setIsCreateProjectOpen(false)}- />- </>- );- }-- return (- <>- <PageTitle title={t("workspace:projects.pageTitle")} />- <WorkspaceLayout- title={t("workspace:projects.pageTitle")}- headerActions={- canCreate ? (- <Button- variant="outline"- size="xs"- onClick={handleCreateProject}- className="gap-1"- >- <Plus className="w-3 h-3" />- {t("workspace:projects.createProject")}- </Button>- ) : null- }- >- <TrialExpiredCallout workspaceId={workspaceId} className="m-4" />- <DndContext- sensors={sensors}- collisionDetection={closestCenter}- modifiers={[restrictToVerticalAxis, restrictToParentElement]}- onDragStart={handleDragStart}- onDragEnd={handleDragEnd}- onDragCancel={() => document.body.classList.remove("kaneo-dragging")}- >- <Table>- <TableHeader className="p-4">- <TableRow>- <TableHead className="text-foreground font-medium">- {t("workspace:projects.title")}- </TableHead>- <TableHead className="text-foreground font-medium">- {t("workspace:projects.progress")}- </TableHead>- <TableHead className="text-foreground font-medium">- {t("workspace:projects.dueDate")}- </TableHead>- <TableHead className="text-foreground font-medium">- {t("workspace:projects.status")}- </TableHead>- </TableRow>- </TableHeader>- <TableBody>- <SortableContext- items={orderedProjects?.map((project) => project.id) ?? []}- strategy={verticalListSortingStrategy}- >- {orderedProjects?.map((project) => {- if (!project?.id || !project.statistics) return null;-- const IconComponent =- icons[project.icon as keyof typeof icons] || icons.Layout;-- const getStatusText = () => {- if (project.statistics.totalTasks === 0)- return t("workspace:projects.projectStatus.notStarted");- if (project.statistics.completionPercentage === 100)- return t("workspace:projects.projectStatus.complete");- return t("workspace:projects.projectStatus.inProgress");- };-- const getStatusVariant = () => {- if (project.statistics.totalTasks === 0) return "secondary";- if (project.statistics.completionPercentage === 100)- return "default";- return "outline";- };-- return (- <SortableProjectRow- key={project.id}- id={project.id}- canReorder={canReorder}- onClick={() => handleProjectClick(project.id)}- >- <TableCell className="py-3">- <div className="flex items-center gap-3">- <IconComponent className="w-5 h-5 text-muted-foreground" />- <span className="font-medium">{project.name}</span>- </div>- </TableCell>- <TableCell className="py-3">- <div className="flex items-center gap-2">- <Progress- value={project.statistics.completionPercentage}- className="w-16 h-2"- />- <span className="text-sm text-muted-foreground">- {project.statistics.completionPercentage}%- </span>- </div>- </TableCell>- <TableCell className="py-3">- <span className="text-sm text-muted-foreground">- {project.statistics.dueDate- ? formatDateMedium(project.statistics.dueDate)- : t("workspace:projects.noDueDate")}- </span>- </TableCell>- <TableCell className="py-3">- <Badge variant={getStatusVariant()}>- {getStatusText()}- </Badge>- </TableCell>- </SortableProjectRow>- );- })}- </SortableContext>- </TableBody>- </Table>- </DndContext>+ </header>++ <WeekStrip+ tasks={assigned?.tasks ?? []}+ workspaceId={workspaceId}+ />++ <div className="grid gap-10 lg:grid-cols-[minmax(0,1fr)_20rem]">+ <div className="flex min-w-0 flex-col gap-9">+ <UpNext+ tasks={assigned?.tasks}+ total={assigned?.total ?? 0}+ isLoading={isLoading}+ isError={isError}+ workspaceId={workspaceId}+ />+ <HomeProjects workspaceId={workspaceId} />+ </div>+ <ActivityFeed workspaceId={workspaceId} />+ </div>+ </div>+ </div></WorkspaceLayout>- <CreateProjectModal- open={isCreateProjectOpen}- onClose={() => setIsCreateProjectOpen(false)}+ <CreateTaskModal+ open={isCreateTaskOpen}+ onClose={() => setIsCreateTaskOpen(false)}/></>);diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/my-tasks.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/my-tasks.tsxnew file mode 100644index 000000000..27a102a57--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/my-tasks.tsx@@ -0,0 +1,92 @@+import { createFileRoute } from "@tanstack/react-router";+import { CircleCheck } from "lucide-react";+import { useState } from "react";+import { useTranslation } from "react-i18next";+import WorkspaceLayout from "@/components/common/workspace-layout";+import {+ type MyTasksGroupBy,+ MyTasksGroupByToggle,+} from "@/components/my-tasks/my-tasks-group-by";+import { MyTasksList } from "@/components/my-tasks/my-tasks-list";+import PageTitle from "@/components/page-title";+import {+ Empty,+ EmptyDescription,+ EmptyHeader,+ EmptyMedia,+ EmptyTitle,+} from "@/components/ui/empty";+import { Skeleton } from "@/components/ui/skeleton";+import useGetAssignedTasks from "@/hooks/queries/task/use-get-assigned-tasks";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/my-tasks",+)({+ component: RouteComponent,+});++function RouteComponent() {+ const { t } = useTranslation();+ const { workspaceId } = Route.useParams();+ const {+ data: assigned,+ isLoading,+ isError,+ } = useGetAssignedTasks(workspaceId);+ const [groupBy, setGroupBy] = useState<MyTasksGroupBy>("dueDate");++ return (+ <>+ <PageTitle title={t("workspace:myTasks.pageTitle")} />+ <WorkspaceLayout+ title={t("workspace:myTasks.pageTitle")}+ headerActions={+ assigned?.tasks.length ? (+ <MyTasksGroupByToggle value={groupBy} onChange={setGroupBy} />+ ) : null+ }+ >+ <div className="h-full overflow-y-auto">+ {isLoading ? (+ <div className="flex flex-col px-4">+ {[1, 2, 3, 4].map((row) => (+ <div+ key={row}+ className="flex h-11 items-center gap-3 border-border/50 border-b px-1"+ >+ <Skeleton className="size-4 rounded-full" />+ <Skeleton className="h-3.5 w-14" />+ <Skeleton className="h-3.5 flex-1" />+ <Skeleton className="h-3.5 w-16" />+ </div>+ ))}+ </div>+ ) : isError ? (+ <p className="p-6 text-muted-foreground text-sm">+ {t("workspace:myWork.loadError")}+ </p>+ ) : !assigned?.tasks.length ? (+ <Empty className="min-h-[60vh]">+ <EmptyHeader>+ <EmptyMedia variant="icon">+ <CircleCheck />+ </EmptyMedia>+ <EmptyTitle>{t("workspace:myWork.empty")}</EmptyTitle>+ <EmptyDescription>+ {t("workspace:myTasks.emptyDescription")}+ </EmptyDescription>+ </EmptyHeader>+ </Empty>+ ) : (+ <MyTasksList+ tasks={assigned.tasks}+ total={assigned.total}+ groupBy={groupBy}+ workspaceId={workspaceId}+ />+ )}+ </div>+ </WorkspaceLayout>+ </>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/projects.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/projects.tsxnew file mode 100644index 000000000..1bd0774ad--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/projects.tsx@@ -0,0 +1,467 @@+import {+ closestCenter,+ DndContext,+ type DragEndEvent,+ MouseSensor,+ TouchSensor,+ useSensor,+ useSensors,+} from "@dnd-kit/core";+import {+ restrictToParentElement,+ restrictToVerticalAxis,+} from "@dnd-kit/modifiers";+import {+ arrayMove,+ SortableContext,+ useSortable,+ verticalListSortingStrategy,+} from "@dnd-kit/sortable";+import { CSS } from "@dnd-kit/utilities";+import { createFileRoute, useNavigate } from "@tanstack/react-router";+import { LayoutGrid, Plus } from "lucide-react";+import {+ type CSSProperties,+ type ReactNode,+ useEffect,+ useMemo,+ useState,+} from "react";+import { useTranslation } from "react-i18next";+import { TrialExpiredCallout } from "@/components/billing/trial-expired-callout";+import WorkspaceLayout from "@/components/common/workspace-layout";+import PageTitle from "@/components/page-title";+import CreateProjectModal from "@/components/shared/modals/create-project-modal";+import { Badge } from "@/components/ui/badge";+import { Button } from "@/components/ui/button";+import {+ Empty,+ EmptyContent,+ EmptyDescription,+ EmptyHeader,+ EmptyMedia,+ EmptyTitle,+} from "@/components/ui/empty";+import { Progress } from "@/components/ui/progress";+import { Skeleton } from "@/components/ui/skeleton";+import {+ Table,+ TableBody,+ TableCell,+ TableHead,+ TableHeader,+ TableRow,+} from "@/components/ui/table";+import icons from "@/constants/project-icons";+import { shortcuts } from "@/constants/shortcuts";+import useReorderProjects from "@/hooks/mutations/project/use-reorder-projects";+import useGetProjects from "@/hooks/queries/project/use-get-projects";+import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";+import { formatDateMedium } from "@/lib/format";+import { toast } from "@/lib/toast";+import { cn } from "@/lib/utils";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/projects",+)({+ component: RouteComponent,+});++function SortableProjectRow({+ id,+ canReorder,+ onClick,+ children,+}: {+ id: string;+ canReorder: boolean;+ onClick: () => void;+ children: ReactNode;+}) {+ const {+ listeners,+ setNodeRef,+ transform,+ transition,+ isDragging,+ isSorting,+ } = useSortable({+ id,+ disabled: !canReorder,+ // The reorder already moves the row; animating the index change too+ // replays the same move from a stale offset.+ animateLayoutChanges: () => false,+ // dnd-kit defaults to `ease`; this is the app's curve.+ transition: { duration: 200, easing: "var(--ease-out)" },+ });++ const style: CSSProperties = {+ transform: CSS.Transform.toString(transform),+ // Only while a drag is live, or the dropped row eases back from the drop+ // point over a list that has already reordered.+ transition: isSorting ? transition : undefined,+ };++ return (+ // `listeners` without `attributes`: the latter puts role="button" and a tab+ // stop on the row.+ <TableRow+ ref={setNodeRef}+ style={style}+ data-kaneo-sortable=""+ className={cn(+ "group/row cursor-pointer",+ isDragging && "relative z-10 bg-muted shadow-md",+ )}+ onClick={onClick}+ {...(canReorder ? listeners : {})}+ >+ {children}+ </TableRow>+ );+}++function RouteComponent() {+ const { t } = useTranslation();+ const [isCreateProjectOpen, setIsCreateProjectOpen] = useState(false);+ const { workspaceId } = Route.useParams();+ const navigate = useNavigate();+ const { data: projects, isLoading } = useGetProjects({+ workspaceId,+ });+ const reorderProjects = useReorderProjects();++ // React state, not the query cache: dnd-kit clears its transforms with a+ // setState in the same handler, while a cache write notifies a task later,+ // leaving a frame with the transforms gone and the rows not yet moved.+ const [droppedOrder, setDroppedOrder] = useState<string[] | null>(null);++ const orderedProjects = useMemo(() => {+ if (!projects || !droppedOrder) return projects;++ const rank = new Map(droppedOrder.map((id, index) => [id, index]));++ return [...projects].sort(+ (a, b) =>+ (rank.get(a.id) ?? Number.MAX_SAFE_INTEGER) -+ (rank.get(b.id) ?? Number.MAX_SAFE_INTEGER),+ );+ }, [projects, droppedOrder]);++ // Released once the server agrees, or a reorder made elsewhere stays pinned.+ useEffect(() => {+ if (!droppedOrder || !projects) return;+ if (projects.map((project) => project.id).join() === droppedOrder.join()) {+ setDroppedOrder(null);+ }+ }, [projects, droppedOrder]);++ const { canCreateProjects, canUpdateProjects } = useWorkspacePermission();+ const canCreate = canCreateProjects();+ // Matches the API, which gates /project/reorder on `project: ["update"]`+ // alone — not the create+update+delete bundle.+ const canReorder = canUpdateProjects();++ // Below these thresholds the row is still a link and the page still scrolls;+ // above them the gesture becomes a drag.+ const sensors = useSensors(+ useSensor(MouseSensor, {+ activationConstraint: { distance: 8 },+ }),+ useSensor(TouchSensor, {+ activationConstraint: { delay: 200, tolerance: 8 },+ }),+ );++ const handleDragStart = () => {+ document.body.classList.add("kaneo-dragging");+ };++ const handleDragEnd = (event: DragEndEvent) => {+ const { active, over } = event;++ document.body.classList.remove("kaneo-dragging");++ if (!over || active.id === over.id || !orderedProjects) return;++ const oldIndex = orderedProjects.findIndex(+ (project) => project.id === active.id,+ );+ const newIndex = orderedProjects.findIndex(+ (project) => project.id === over.id,+ );++ if (oldIndex === -1 || newIndex === -1) return;++ const reordered = arrayMove(orderedProjects, oldIndex, newIndex);++ setDroppedOrder(reordered.map((project) => project.id));++ reorderProjects(workspaceId, reordered, {+ onError: () => {+ setDroppedOrder(null);+ toast.error(t("workspace:projects.reorderError"));+ },+ });+ };++ const handleCreateProject = () => {+ if (!canCreate) return;+ setIsCreateProjectOpen(true);+ };++ useRegisterShortcuts({+ sequentialShortcuts: {+ [shortcuts.project.prefix]: {+ [shortcuts.project.create]: handleCreateProject,+ },+ },+ });++ const handleProjectClick = (projectId: string) => {+ navigate({+ to: "/dashboard/workspace/$workspaceId/project/$projectId/board",+ params: { workspaceId, projectId },+ });+ };++ if (isLoading) {+ return (+ <>+ <PageTitle title={t("workspace:projects.pageTitle")} />+ <WorkspaceLayout+ title={t("workspace:projects.pageTitle")}+ headerActions={+ canCreate ? (+ <Button+ variant="outline"+ size="xs"+ onClick={handleCreateProject}+ className="gap-1"+ >+ <Plus className="w-3 h-3" />+ {t("workspace:projects.createProject")}+ </Button>+ ) : null+ }+ >+ <Table>+ <TableHeader>+ <TableRow>+ <TableHead className="text-foreground font-medium">+ {t("workspace:projects.title")}+ </TableHead>+ <TableHead className="text-foreground font-medium">+ {t("workspace:projects.progress")}+ </TableHead>+ <TableHead className="text-foreground font-medium">+ {t("workspace:projects.targetDate")}+ </TableHead>+ <TableHead className="text-foreground font-medium">+ {t("workspace:projects.status")}+ </TableHead>+ </TableRow>+ </TableHeader>+ <TableBody>+ {[1, 2, 3].map((i) => (+ <TableRow key={i}>+ <TableCell className="py-3">+ <div className="flex items-center gap-3">+ <Skeleton className="h-5 w-5" />+ <Skeleton className="h-4 w-24" />+ </div>+ </TableCell>+ <TableCell className="py-3">+ <Skeleton className="h-2 w-20" />+ </TableCell>+ <TableCell className="py-3">+ <Skeleton className="h-4 w-20" />+ </TableCell>+ <TableCell className="py-3">+ <Skeleton className="h-5 w-16" />+ </TableCell>+ </TableRow>+ ))}+ </TableBody>+ </Table>+ </WorkspaceLayout>+ </>+ );+ }++ if (!projects || projects.length === 0) {+ return (+ <>+ <PageTitle title={t("workspace:projects.pageTitle")} />+ <WorkspaceLayout+ title={t("workspace:projects.pageTitle")}+ headerActions={+ canCreate ? (+ <Button+ variant="outline"+ size="xs"+ onClick={handleCreateProject}+ className="gap-1"+ >+ <Plus className="w-3 h-3" />+ {t("workspace:projects.createProject")}+ </Button>+ ) : null+ }+ >+ <TrialExpiredCallout workspaceId={workspaceId} className="m-4" />+ <Empty className="min-h-[60vh]">+ <EmptyHeader>+ <EmptyMedia variant="icon">+ <LayoutGrid />+ </EmptyMedia>+ <EmptyTitle>{t("workspace:projects.emptyTitle")}</EmptyTitle>+ <EmptyDescription>+ {canCreate+ ? t("workspace:projects.emptyDescription")+ : t("workspace:projects.emptyDescriptionReadOnly")}+ </EmptyDescription>+ </EmptyHeader>+ <EmptyContent>+ {canCreate && (+ <Button onClick={handleCreateProject}>+ <Plus />+ {t("workspace:projects.createProject")}+ </Button>+ )}+ </EmptyContent>+ </Empty>+ </WorkspaceLayout>++ <CreateProjectModal+ open={isCreateProjectOpen}+ onClose={() => setIsCreateProjectOpen(false)}+ />+ </>+ );+ }++ return (+ <>+ <PageTitle title={t("workspace:projects.pageTitle")} />+ <WorkspaceLayout+ title={t("workspace:projects.pageTitle")}+ headerActions={+ canCreate ? (+ <Button+ variant="outline"+ size="xs"+ onClick={handleCreateProject}+ className="gap-1"+ >+ <Plus className="w-3 h-3" />+ {t("workspace:projects.createProject")}+ </Button>+ ) : null+ }+ >+ <TrialExpiredCallout workspaceId={workspaceId} className="m-4" />+ <DndContext+ sensors={sensors}+ collisionDetection={closestCenter}+ modifiers={[restrictToVerticalAxis, restrictToParentElement]}+ onDragStart={handleDragStart}+ onDragEnd={handleDragEnd}+ onDragCancel={() => document.body.classList.remove("kaneo-dragging")}+ >+ <Table>+ <TableHeader className="p-4">+ <TableRow>+ <TableHead className="text-foreground font-medium">+ {t("workspace:projects.title")}+ </TableHead>+ <TableHead className="text-foreground font-medium">+ {t("workspace:projects.progress")}+ </TableHead>+ <TableHead className="text-foreground font-medium">+ {t("workspace:projects.dueDate")}+ </TableHead>+ <TableHead className="text-foreground font-medium">+ {t("workspace:projects.status")}+ </TableHead>+ </TableRow>+ </TableHeader>+ <TableBody>+ <SortableContext+ items={orderedProjects?.map((project) => project.id) ?? []}+ strategy={verticalListSortingStrategy}+ >+ {orderedProjects?.map((project) => {+ if (!project?.id || !project.statistics) return null;++ const IconComponent =+ icons[project.icon as keyof typeof icons] || icons.Layout;++ const getStatusText = () => {+ if (project.statistics.totalTasks === 0)+ return t("workspace:projects.projectStatus.notStarted");+ if (project.statistics.completionPercentage === 100)+ return t("workspace:projects.projectStatus.complete");+ return t("workspace:projects.projectStatus.inProgress");+ };++ const getStatusVariant = () => {+ if (project.statistics.totalTasks === 0) return "secondary";+ if (project.statistics.completionPercentage === 100)+ return "default";+ return "outline";+ };++ return (+ <SortableProjectRow+ key={project.id}+ id={project.id}+ canReorder={canReorder}+ onClick={() => handleProjectClick(project.id)}+ >+ <TableCell className="py-3">+ <div className="flex items-center gap-3">+ <IconComponent className="w-5 h-5 text-muted-foreground" />+ <span className="font-medium">{project.name}</span>+ </div>+ </TableCell>+ <TableCell className="py-3">+ <div className="flex items-center gap-2">+ <Progress+ value={project.statistics.completionPercentage}+ className="w-16 h-2"+ />+ <span className="text-sm text-muted-foreground">+ {project.statistics.completionPercentage}%+ </span>+ </div>+ </TableCell>+ <TableCell className="py-3">+ <span className="text-sm text-muted-foreground">+ {project.statistics.dueDate+ ? formatDateMedium(project.statistics.dueDate)+ : t("workspace:projects.noDueDate")}+ </span>+ </TableCell>+ <TableCell className="py-3">+ <Badge variant={getStatusVariant()}>+ {getStatusText()}+ </Badge>+ </TableCell>+ </SortableProjectRow>+ );+ })}+ </SortableContext>+ </TableBody>+ </Table>+ </DndContext>+ </WorkspaceLayout>++ <CreateProjectModal+ open={isCreateProjectOpen}+ onClose={() => setIsCreateProjectOpen(false)}+ />+ </>+ );+}diff --git a/i18n/az-AZ.json b/i18n/az-AZ.jsonindex b6e41e6bd..a87d1377f 100644--- a/i18n/az-AZ.json+++ b/i18n/az-AZ.json@@ -1888,14 +1888,16 @@"close": "Bağla"}},- "notifications": "Bildirişlər","sidebar": {- "overview": "İcmal","projects": "Layihələr","members": "Üzvlər","invitations": "Dəvətlər","more": "Daha çox",- "backToBoard": "Lövhəyə qayıt"+ "backToBoard": "Lövhəyə qayıt",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Layihəyə bax",@@ -1980,7 +1982,6 @@}},"notifications": {- "title": "Bildirişlər","newCount_one": "{{count}} yeni","newCount_other": "{{count}} yeni","emptyTitle": "Hələ bildiriş yoxdur",@@ -1988,9 +1989,6 @@"clearAll": "Bütün bildirişləri təmizlə","clearDialogTitle": "Bütün bildirişlər təmizlənsin?","clearDialogDescription": "Bu, bütün bildirişləri həmişəlik siləcək. Bu əməliyyatı geri qaytara bilməzsiniz.",- "shortcuts": {- "open": "Bildirişləri aç"- },"reminderLeadTime": {"minutes_one": "{{count}} dəqiqə","minutes_other": "{{count}} dəqiqə",@@ -2037,6 +2035,24 @@"contentWithTask": "Tapşırıqda vaxtın izlənməsi başladı: {{taskTitle}}","contentWithoutTask": "Tapşırıqda vaxtın izlənməsi başladı"}+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2704,6 +2720,60 @@"submit": "İş sahəsi yarat","success": "İş sahəsi uğurla yaradıldı","error": "İş sahəsini yaratmaq alınmadı"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/de-DE.json b/i18n/de-DE.jsonindex 2e2b6a810..43cf8adad 100644--- a/i18n/de-DE.json+++ b/i18n/de-DE.json@@ -1888,14 +1888,16 @@"close": "Schließen"}},- "notifications": "Benachrichtigungen","sidebar": {- "overview": "Übersicht","projects": "Projekte","members": "Mitglieder","invitations": "Einladungen","more": "Mehr",- "backToBoard": "Zurück zum Board"+ "backToBoard": "Zurück zum Board",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Projekt ansehen",@@ -1980,7 +1982,6 @@}},"notifications": {- "title": "Benachrichtigungen","newCount_one": "{{count}} neu","newCount_other": "{{count}} neu","emptyTitle": "Noch keine Benachrichtigungen",@@ -1988,9 +1989,6 @@"clearAll": "Alle Benachrichtigungen löschen","clearDialogTitle": "Alle Benachrichtigungen löschen?","clearDialogDescription": "Dadurch werden alle Benachrichtigungen dauerhaft entfernt. Diese Aktion kann nicht rückgängig gemacht werden.",- "shortcuts": {- "open": "Benachrichtigungen öffnen"- },"reminderLeadTime": {"minutes_one": "{{count}} Minute","minutes_other": "{{count}} Minuten",@@ -2037,6 +2035,24 @@"contentWithTask": "Die Zeiterfassung für die Aufgabe \"{{taskTitle}}\" wurde gestartet","contentWithoutTask": "Die Zeiterfassung für eine Aufgabe wurde gestartet"}+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2704,6 +2720,60 @@"submit": "Workspace erstellen","success": "Workspace erfolgreich erstellt","error": "Workspace konnte nicht erstellt werden"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/el-GR.json b/i18n/el-GR.jsonindex baf05c612..b43ecafc4 100644--- a/i18n/el-GR.json+++ b/i18n/el-GR.json@@ -1888,14 +1888,16 @@"close": "Κλείσιμο"}},- "notifications": "Ειδοποιήσεις","sidebar": {- "overview": "Επισκόπηση","projects": "Έργα","members": "Μέλη","invitations": "Προσκλήσεις","more": "Περισσότερα",- "backToBoard": "Επιστροφή στον πίνακα"+ "backToBoard": "Επιστροφή στον πίνακα",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Προβολή έργου",@@ -1980,7 +1982,6 @@}},"notifications": {- "title": "Ειδοποιήσεις","newCount_one": "{{count}} νέα","newCount_other": "{{count}} νέα","emptyTitle": "Δεν υπάρχουν ακόμα ειδοποιήσεις",@@ -1988,9 +1989,6 @@"clearAll": "Εκκαθάριση όλων των ειδοποιήσεων","clearDialogTitle": "Εκκαθάριση όλων των ειδοποιήσεων;","clearDialogDescription": "Αυτό θα αφαιρέσει οριστικά όλες τις ειδοποιήσεις. Δεν μπορείτε να αναιρέσετε αυτήν την ενέργεια.",- "shortcuts": {- "open": "Άνοιγμα ειδοποιήσεων"- },"events": {"task_created": {"title": "Δημιουργήθηκε νέα εργασία",@@ -2037,6 +2035,24 @@"hours_other": "{{count}} ώρες","days_one": "{{count}} ημέρα","days_other": "{{count}} ημέρες"+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2704,6 +2720,60 @@"submit": "Δημιουργία χώρου εργασίας","success": "Ο χώρος εργασίας δημιουργήθηκε με επιτυχία","error": "Αποτυχία δημιουργίας χώρου εργασίας"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/en-US.json b/i18n/en-US.jsonindex 52859108a..683cfdfcf 100644--- a/i18n/en-US.json+++ b/i18n/en-US.json@@ -1888,14 +1888,16 @@"close": "Close"}},- "notifications": "Notifications","sidebar": {- "overview": "Overview","projects": "Projects","members": "Members","invitations": "Invitations","more": "More",- "backToBoard": "Back to board"+ "backToBoard": "Back to board",+ "home": "Home",+ "inbox": "Inbox",+ "myTasks": "My tasks",+ "invitePeople": "Invite people"},"projectList": {"viewProject": "View Project",@@ -1980,7 +1982,6 @@}},"notifications": {- "title": "Notifications","newCount_one": "{{count}} new","newCount_other": "{{count}} new","emptyTitle": "No notifications yet",@@ -1988,9 +1989,6 @@"clearAll": "Clear all notifications","clearDialogTitle": "Clear all notifications?","clearDialogDescription": "This will permanently remove all notifications. You can't undo this action.",- "shortcuts": {- "open": "Open notifications"- },"reminderLeadTime": {"minutes_one": "{{count}} minute","minutes_other": "{{count}} minutes",@@ -2037,6 +2035,24 @@"contentWithTask": "Time tracking started on task: {{taskTitle}}","contentWithoutTask": "Time tracking started on a task"}+ },+ "inbox": {+ "pageTitle": "Inbox",+ "unread": "Unread",+ "today": "Today",+ "earlier": "Earlier",+ "filters": {+ "label": "Filter notifications",+ "all": "All",+ "unread": "Unread",+ "mentions": "Mentions"+ },+ "emptyFilter": "Nothing here",+ "selectPrompt": "Select a notification to read it",+ "back": "Inbox",+ "openTask": "Open task",+ "recentActivity": "Recent activity",+ "taskUnavailable": "This task is no longer available."}},"activity": {@@ -2704,6 +2720,60 @@"submit": "Create workspace","success": "Workspace created successfully","error": "Failed to create workspace"+ },+ "home": {+ "pageTitle": "Home",+ "greeting": {+ "morning": "Good morning",+ "afternoon": "Good afternoon",+ "evening": "Good evening"+ },+ "newTask": "New task",+ "week": {+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ },+ "upNext": {+ "title": "Up next",+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "viewAll": "View all"+ },+ "projects": {+ "title": "Your projects",+ "all": "All projects",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks"+ },+ "activity": {+ "title": "Activity",+ "commented": "commented",+ "updated": "updated the task",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded."+ }+ },+ "myWork": {+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded.",+ "due": {+ "overdue": "Overdue",+ "today": "Today",+ "tomorrow": "Tomorrow",+ "thisWeek": "This week",+ "later": "Later",+ "noDueDate": "No due date"+ }+ },+ "myTasks": {+ "pageTitle": "My tasks",+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "label": "Group by",+ "dueDate": "Due date",+ "project": "Project"+ },+ "truncated": "Showing the first {{shown}} of {{total}} tasks."}},"team": {diff --git a/i18n/es-ES.json b/i18n/es-ES.jsonindex 32309df6f..d318a0a62 100644--- a/i18n/es-ES.json+++ b/i18n/es-ES.json@@ -1895,14 +1895,16 @@"close": "Cerrar"}},- "notifications": "Notificaciones","sidebar": {- "overview": "Vista general","projects": "Proyectos","members": "Miembros","invitations": "Invitaciones","more": "Más",- "backToBoard": "Volver al tablero"+ "backToBoard": "Volver al tablero",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Ver Proyecto",@@ -1987,7 +1989,6 @@}},"notifications": {- "title": "Notificationes","newCount_one": "{{count}} nueva","newCount_other": "{{count}} nuevas","emptyTitle": "Ninguna notificación todavía",@@ -1995,9 +1996,6 @@"clearAll": "Borrar todas las notificaciones","clearDialogTitle": "¿Borrar notificaciones?","clearDialogDescription": "Esto eliminará todas las notificaciones. Esta acción no puede deshacerse.",- "shortcuts": {- "open": "Abrir notificaciones"- },"events": {"task_created": {"title": "Se ha creado una nueva tarea",@@ -2048,7 +2046,25 @@"hours_many": "{{count}} horas","minutes_many": "{{count}} minutos"},- "newCount_many": "{{count}} nuevas"+ "newCount_many": "{{count}} nuevas",+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"+ }},"activity": {"assignedToSelf": "se ha asignado la tarea a sí mismo",@@ -2717,6 +2733,63 @@"submit": "Crear espacio de trabajo","success": "Espacio de trabajo creado correctamente","error": "Error al crear espacio de trabajo"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_many": "{{count}} tasks",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_many": "{{count}} assigned to you",+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_many": "+{{count}} more",+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/fr-FR.json b/i18n/fr-FR.jsonindex 14c227b39..932d27944 100644--- a/i18n/fr-FR.json+++ b/i18n/fr-FR.json@@ -1895,14 +1895,16 @@"close": "Fermer"}},- "notifications": "Notifications","sidebar": {- "overview": "Vue d'ensemble","projects": "Projets","members": "Membres","invitations": "Invitations","more": "Plus",- "backToBoard": "Retour au tableau"+ "backToBoard": "Retour au tableau",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Voir le projet",@@ -1987,7 +1989,6 @@}},"notifications": {- "title": "Notifications","newCount_one": "{{count}} nouvelle","newCount_other": "{{count}} nouvelles","emptyTitle": "Aucune notification pour le moment",@@ -1995,9 +1996,6 @@"clearAll": "Effacer toutes les notifications","clearDialogTitle": "Effacer toutes les notifications?","clearDialogDescription": "Cela supprimera définitivement toutes les notifications. Vous ne pouvez pas annuler cette action.",- "shortcuts": {- "open": "Ouvrir les notifications"- },"events": {"task_created": {"title": "Nouvelle tâche créée",@@ -2048,7 +2046,25 @@"days_many": "{{count}} jours","hours_many": "{{count}} heures"},- "newCount_many": "{{count}} nouvelles"+ "newCount_many": "{{count}} nouvelles",+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"+ }},"activity": {"assignedToSelf": "s'est assigné la tâche",@@ -2717,6 +2733,63 @@"submit": "Créer un workspace","success": "Workspace créé avec succès","error": "Échec de la création du workspace"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_many": "{{count}} tasks",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_many": "{{count}} assigned to you",+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_many": "+{{count}} more",+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/hi-IN.json b/i18n/hi-IN.jsonindex 49def7810..3d5290cb8 100644--- a/i18n/hi-IN.json+++ b/i18n/hi-IN.json@@ -1888,14 +1888,16 @@"close": "बंद करें"}},- "notifications": "सूचनाएँ","sidebar": {- "overview": "अवलोकन","projects": "प्रोजेक्ट","members": "सदस्य","invitations": "निमंत्रण","more": "और",- "backToBoard": "बोर्ड पर वापस जाएँ"+ "backToBoard": "बोर्ड पर वापस जाएँ",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "प्रोजेक्ट देखें",@@ -1980,7 +1982,6 @@}},"notifications": {- "title": "सूचनाएँ","newCount_one": "{{count}} नई","newCount_other": "{{count}} नई","emptyTitle": "अभी तक कोई सूचना नहीं",@@ -1988,9 +1989,6 @@"clearAll": "सभी सूचनाएँ साफ़ करें","clearDialogTitle": "सभी सूचनाएँ साफ़ करें?","clearDialogDescription": "यह सभी सूचनाओं को स्थायी रूप से हटा देगा। यह कार्रवाई पूर्ववत नहीं की जा सकती।",- "shortcuts": {- "open": "सूचनाएँ खोलें"- },"reminderLeadTime": {"minutes_one": "{{count}} मिनट","minutes_other": "{{count}} मिनट",@@ -2037,6 +2035,24 @@"contentWithTask": "कार्य पर समय ट्रैकिंग शुरू: {{taskTitle}}","contentWithoutTask": "एक कार्य पर समय ट्रैकिंग शुरू"}+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2704,6 +2720,60 @@"submit": "वर्कस्पेस बनाएँ","success": "वर्कस्पेस सफलतापूर्वक बनाया गया","error": "वर्कस्पेस बनाने में विफल"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/id-ID.json b/i18n/id-ID.jsonindex 34c72a940..35bb97b9a 100644--- a/i18n/id-ID.json+++ b/i18n/id-ID.json@@ -1881,14 +1881,16 @@"close": "Tutup"}},- "notifications": "Notifikasi","sidebar": {- "overview": "Ringkasan","projects": "Proyek","members": "Anggota","invitations": "Undangan","more": "Lainnya",- "backToBoard": "Kembali ke papan"+ "backToBoard": "Kembali ke papan",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Lihat Proyek",@@ -1973,16 +1975,12 @@}},"notifications": {- "title": "Notifikasi","newCount_other": "{{count}} baru","emptyTitle": "Belum ada notifikasi","emptySubtitle": "Pembaruan dan aktivitas akan muncul di sini.","clearAll": "Hapus semua notifikasi","clearDialogTitle": "Hapus semua notifikasi?","clearDialogDescription": "Ini akan menghapus semua notifikasi secara permanen. Anda tidak dapat membatalkan tindakan ini.",- "shortcuts": {- "open": "Buka notifikasi"- },"events": {"task_created": {"title": "Tugas Baru Dibuat",@@ -2026,6 +2024,24 @@"minutes_other": "{{count}} menit","hours_other": "{{count}} jam","days_other": "{{count}} hari"+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2691,6 +2707,57 @@"submit": "Buat ruang kerja","success": "Ruang kerja berhasil dibuat","error": "Gagal membuat ruang kerja"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/it-IT.json b/i18n/it-IT.jsonindex 7f3efb3b8..799c54813 100644--- a/i18n/it-IT.json+++ b/i18n/it-IT.json@@ -1895,14 +1895,16 @@"close": "Chiudi"}},- "notifications": "Notifiche","sidebar": {- "overview": "Panoramica","projects": "Progetti","members": "Membri","invitations": "Inviti","more": "Altro",- "backToBoard": "Torna alla board"+ "backToBoard": "Torna alla board",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Vedi Progetto",@@ -1987,7 +1989,6 @@}},"notifications": {- "title": "Notifiche","newCount_one": "{{count}} nuova","newCount_other": "{{count}} nuove","emptyTitle": "Nessuna notifica ancora",@@ -1995,9 +1996,6 @@"clearAll": "Cancella tutte le notifiche","clearDialogTitle": "Cancellare tutte le notifiche?","clearDialogDescription": "Questo rimuoverà permanentemente tutte le notifiche. Non puoi annullare questa azione.",- "shortcuts": {- "open": "Apri notifiche"- },"reminderLeadTime": {"minutes_one": "{{count}} minuto","minutes_other": "{{count}} minuti",@@ -2048,7 +2046,25 @@"contentWithoutTask": "Tracciamento tempo iniziato su un'attività"}},- "newCount_many": "{{count}} nuove"+ "newCount_many": "{{count}} nuove",+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"+ }},"activity": {"assignedToSelf": "ha assegnato l'attività a sé stesso",@@ -2717,6 +2733,63 @@"submit": "Crea workspace","success": "Workspace creato con successo","error": "Creazione workspace fallita"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_many": "{{count}} tasks",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_many": "{{count}} assigned to you",+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_many": "+{{count}} more",+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/ja-JP.json b/i18n/ja-JP.jsonindex 08f3c3376..163920b13 100644--- a/i18n/ja-JP.json+++ b/i18n/ja-JP.json@@ -1881,14 +1881,16 @@"close": "閉じる"}},- "notifications": "通知","sidebar": {- "overview": "概要","projects": "プロジェクト","members": "メンバー","invitations": "招待","more": "その他",- "backToBoard": "ボードに戻る"+ "backToBoard": "ボードに戻る",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "プロジェクトを表示",@@ -1973,16 +1975,12 @@}},"notifications": {- "title": "通知","newCount_other": "{{count}} 件の新着","emptyTitle": "通知はまだありません","emptySubtitle": "更新やアクティビティがここに表示されます。","clearAll": "すべての通知を消去","clearDialogTitle": "すべての通知を消去しますか?","clearDialogDescription": "これにより、すべての通知が完全に削除されます。この操作は取り消せません。",- "shortcuts": {- "open": "通知を開く"- },"reminderLeadTime": {"minutes_other": "{{count}} 分","hours_other": "{{count}} 時間",@@ -2026,6 +2024,24 @@"contentWithTask": "タスク「{{taskTitle}}」の時間計測を開始しました","contentWithoutTask": "タスクの時間計測を開始しました"}+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2691,6 +2707,57 @@"submit": "ワークスペースを作成","success": "ワークスペースを作成しました","error": "ワークスペースの作成に失敗しました"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/ko-KR.json b/i18n/ko-KR.jsonindex 7c242be9d..aa7c8d085 100644--- a/i18n/ko-KR.json+++ b/i18n/ko-KR.json@@ -1881,14 +1881,16 @@"close": "닫기"}},- "notifications": "알림","sidebar": {- "overview": "개요","projects": "프로젝트","members": "멤버","invitations": "초대","more": "더 보기",- "backToBoard": "보드로 돌아가기"+ "backToBoard": "보드로 돌아가기",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "프로젝트 보기",@@ -1973,16 +1975,12 @@}},"notifications": {- "title": "알림","newCount_other": "새 알림 {{count}}개","emptyTitle": "아직 알림이 없습니다","emptySubtitle": "여기서 업데이트와 활동을 확인할 수 있습니다.","clearAll": "모든 알림 지우기","clearDialogTitle": "모든 알림을 지우시겠습니까?","clearDialogDescription": "모든 알림이 영구적으로 제거됩니다. 이 작업은 취소할 수 없습니다.",- "shortcuts": {- "open": "알림 열기"- },"events": {"task_created": {"title": "새 작업 생성됨",@@ -2026,6 +2024,24 @@"minutes_other": "{{count}}분","hours_other": "{{count}}시간","days_other": "{{count}}일"+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2691,6 +2707,57 @@"submit": "워크스페이스 만들기","success": "워크스페이스가 생성되었습니다","error": "워크스페이스 생성에 실패했습니다"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/mk-MK.json b/i18n/mk-MK.jsonindex 13bceff6a..c1d16cbca 100644--- a/i18n/mk-MK.json+++ b/i18n/mk-MK.json@@ -1888,14 +1888,16 @@"close": "Затвори"}},- "notifications": "Известувања","sidebar": {- "overview": "Преглед","projects": "Проекти","members": "Членови","invitations": "Покани","more": "Повеќе",- "backToBoard": "Назад на табла"+ "backToBoard": "Назад на табла",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Погледни проект",@@ -1980,7 +1982,6 @@}},"notifications": {- "title": "Известувања","newCount_one": "{{count}} ново","newCount_other": "{{count}} нови","emptyTitle": "Нема известувања засега",@@ -1988,9 +1989,6 @@"clearAll": "Исчисти ги сите известувања","clearDialogTitle": "Исчисти ги сите известувања?","clearDialogDescription": "Ова трајно ќе ги отстрани сите известувања. Не можеш да ја вратиш оваа акција.",- "shortcuts": {- "open": "Отвори известувања"- },"events": {"task_created": {"title": "Нова задача е креирана",@@ -2037,6 +2035,24 @@"hours_other": "{{count}} часа","days_one": "{{count}} ден","days_other": "{{count}} дена"+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2704,6 +2720,60 @@"submit": "Креирај работен простор","success": "Работниот простор е успешно креиран","error": "Неуспешно креирање на работен простор"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/nl-NL.json b/i18n/nl-NL.jsonindex 5ee86c730..deb77e5e8 100644--- a/i18n/nl-NL.json+++ b/i18n/nl-NL.json@@ -1888,14 +1888,16 @@"close": "Sluiten"}},- "notifications": "Meldingen","sidebar": {- "overview": "Overzicht","projects": "Projecten","members": "Leden","invitations": "Uitnodigingen","more": "Meer",- "backToBoard": "Terug naar bord"+ "backToBoard": "Terug naar bord",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Project bekijken",@@ -1980,7 +1982,6 @@}},"notifications": {- "title": "Meldingen","newCount_one": "{{count}} nieuw","newCount_other": "{{count}} nieuw","emptyTitle": "Nog geen meldingen",@@ -1988,9 +1989,6 @@"clearAll": "Alle meldingen wissen","clearDialogTitle": "Alle meldingen wissen?","clearDialogDescription": "Dit zal alle meldingen permanent verwijderen. Dit kan niet ongedaan worden gemaakt.",- "shortcuts": {- "open": "Meldingen openen"- },"events": {"task_created": {"title": "Nieuwe taak aangemaakt",@@ -2037,6 +2035,24 @@"hours_other": "{{count}} uur","days_one": "{{count}} dag","days_other": "{{count}} dagen"+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2704,6 +2720,60 @@"submit": "Werkruimte maken","success": "Werkruimte succesvol aangemaakt","error": "Aanmaken werkruimte mislukt"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/pl-PL.json b/i18n/pl-PL.jsonindex 30f04f317..5ed4265da 100644--- a/i18n/pl-PL.json+++ b/i18n/pl-PL.json@@ -445,14 +445,16 @@"close": "Zamknij"}},- "notifications": "Powiadomienia","sidebar": {- "overview": "Przegląd","projects": "Projekty","members": "Członkowie","invitations": "Zaproszenia","more": "Więcej",- "backToBoard": "Wróć do tablicy"+ "backToBoard": "Wróć do tablicy",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Zobacz projekt",@@ -537,7 +539,6 @@}},"notifications": {- "title": "Powiadomienia","newCount_one": "{{count}} nowe","newCount_few": "{{count}} nowe","newCount_many": "{{count}} nowych",@@ -547,9 +548,6 @@"clearAll": "Wyczyść wszystkie powiadomienia","clearDialogTitle": "Wyczyścić wszystkie powiadomienia?","clearDialogDescription": "To trwale usunie wszystkie powiadomienia. Nie można tego cofnąć.",- "shortcuts": {- "open": "Otwórz powiadomienia"- },"reminderLeadTime": {"minutes_one": "{{count}} minuta","minutes_few": "{{count}} minuty",@@ -602,6 +600,24 @@"contentWithTask": "Rozpoczęto śledzenie czasu dla zadania: {{taskTitle}}","contentWithoutTask": "Rozpoczęto śledzenie czasu dla zadania"}+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"workspace": {@@ -659,6 +675,66 @@"submit": "Utwórz obszar roboczy","success": "Obszar roboczy został utworzony","error": "Nie udało się utworzyć obszaru roboczego"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_few": "{{count}} tasks",+ "tasks_many": "{{count}} tasks",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_few": "{{count}} assigned to you",+ "assigned_many": "{{count}} assigned to you",+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_few": "+{{count}} more",+ "more_many": "+{{count}} more",+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/pt-BR.json b/i18n/pt-BR.jsonindex bb0be842e..0301ca244 100644--- a/i18n/pt-BR.json+++ b/i18n/pt-BR.json@@ -1895,14 +1895,16 @@"close": "Fechar"}},- "notifications": "Notificações","sidebar": {- "overview": "Visão geral","projects": "Projetos","members": "Membros","invitations": "Convites","more": "Mais",- "backToBoard": "Voltar ao quadro"+ "backToBoard": "Voltar ao quadro",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Ver projeto",@@ -1987,7 +1989,6 @@}},"notifications": {- "title": "Notificações","newCount_one": "{{count}} nova","newCount_other": "{{count}} novas","emptyTitle": "Ainda não há notificações",@@ -1995,9 +1996,6 @@"clearAll": "Limpar todas as notificações","clearDialogTitle": "Limpar todas as notificações?","clearDialogDescription": "Isso removerá permanentemente todas as notificações. Você não pode desfazer esta ação.",- "shortcuts": {- "open": "Abrir notificações"- },"reminderLeadTime": {"minutes_one": "{{count}} minuto","minutes_other": "{{count}} minutos",@@ -2048,7 +2046,25 @@"contentWithoutTask": "Registro de tempo iniciado em uma tarefa"}},- "newCount_many": "{{count}} novas"+ "newCount_many": "{{count}} novas",+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"+ }},"activity": {"assignedToSelf": "atribuiu a tarefa a si mesmo",@@ -2717,6 +2733,63 @@"submit": "Criar espaço de trabalho","success": "Espaço de trabalho criado com sucesso","error": "Falha ao criar espaço de trabalho"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_many": "{{count}} tasks",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_many": "{{count}} assigned to you",+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_many": "+{{count}} more",+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/ru-RU.json b/i18n/ru-RU.jsonindex bf021afe0..a8d649f63 100644--- a/i18n/ru-RU.json+++ b/i18n/ru-RU.json@@ -1910,14 +1910,16 @@"close": "Закрыть"}},- "notifications": "Уведомления","sidebar": {- "overview": "Обзор","projects": "Проекты","members": "Участники","invitations": "Приглашения","more": "Ещё",- "backToBoard": "Назад к доске"+ "backToBoard": "Назад к доске",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Открыть проект",@@ -2002,7 +2004,6 @@}},"notifications": {- "title": "Уведомления","newCount_one": "{{count}} новое","newCount_few": "{{count}} новых","newCount_many": "{{count}} новых",@@ -2012,9 +2013,6 @@"clearAll": "Очистить все уведомления","clearDialogTitle": "Очистить все уведомления?","clearDialogDescription": "Все уведомления будут безвозвратно удалены. Это действие нельзя отменить.",- "shortcuts": {- "open": "Открыть уведомления"- },"events": {"task_created": {"title": "Создана новая задача",@@ -2067,6 +2065,24 @@"days_few": "{{count}} дня","days_many": "{{count}} дней","days_other": "{{count}} дней"+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2786,6 +2802,66 @@"submit": "Создать рабочую область","success": "Рабочая область успешно создана","error": "Не удалось создать рабочую область"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_few": "{{count}} tasks",+ "tasks_many": "{{count}} tasks",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_few": "{{count}} assigned to you",+ "assigned_many": "{{count}} assigned to you",+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_few": "+{{count}} more",+ "more_many": "+{{count}} more",+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/schema.json b/i18n/schema.jsonindex 1bb46dcd7..372be9d9c 100644--- a/i18n/schema.json+++ b/i18n/schema.json@@ -7628,16 +7628,10 @@"footer"]},- "notifications": {- "type": "string"- },"sidebar": {"type": "object","additionalProperties": false,"properties": {- "overview": {- "type": "string"- },"projects": {"type": "string"},@@ -7652,15 +7646,30 @@},"backToBoard": {"type": "string"+ },+ "home": {+ "type": "string"+ },+ "inbox": {+ "type": "string"+ },+ "myTasks": {+ "type": "string"+ },+ "invitePeople": {+ "type": "string"}},"required": [- "overview","projects","members","invitations","more",- "backToBoard"+ "backToBoard",+ "home",+ "inbox",+ "myTasks",+ "invitePeople"]},"projectList": {@@ -7984,7 +7993,6 @@},"required": ["commandPalette",- "notifications","sidebar","projectList","search",@@ -8000,9 +8008,6 @@"type": "object","additionalProperties": false,"properties": {- "title": {- "type": "string"- },"newCount_one": {"type": "string"},@@ -8036,16 +8041,6 @@"clearDialogDescription": {"type": "string"},- "shortcuts": {- "type": "object",- "additionalProperties": false,- "properties": {- "open": {- "type": "string"- }- },- "required": ["open"]- },"reminderLeadTime": {"type": "object","additionalProperties": false,@@ -8243,18 +8238,85 @@"task_overdue","time_entry_created"]+ },+ "inbox": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "pageTitle": {+ "type": "string"+ },+ "unread": {+ "type": "string"+ },+ "today": {+ "type": "string"+ },+ "earlier": {+ "type": "string"+ },+ "filters": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "label": {+ "type": "string"+ },+ "all": {+ "type": "string"+ },+ "unread": {+ "type": "string"+ },+ "mentions": {+ "type": "string"+ }+ },+ "required": ["label", "all", "unread", "mentions"]+ },+ "emptyFilter": {+ "type": "string"+ },+ "selectPrompt": {+ "type": "string"+ },+ "back": {+ "type": "string"+ },+ "openTask": {+ "type": "string"+ },+ "recentActivity": {+ "type": "string"+ },+ "taskUnavailable": {+ "type": "string"+ }+ },+ "required": [+ "pageTitle",+ "unread",+ "today",+ "earlier",+ "filters",+ "emptyFilter",+ "selectPrompt",+ "back",+ "openTask",+ "recentActivity",+ "taskUnavailable"+ ]}},"required": [- "title","emptyTitle","emptySubtitle","clearAll","clearDialogTitle","clearDialogDescription",- "shortcuts","reminderLeadTime",- "events"+ "events",+ "inbox"]},"activity": {@@ -10745,6 +10807,16 @@},"descriptionLoadError": {"type": "string"+ },+ "board": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "reorderFailed": {+ "type": "string"+ }+ },+ "required": ["reorderFailed"]}},"required": [@@ -10786,7 +10858,8 @@"descriptionSearchError","descriptionRetry","descriptionLoading",- "descriptionLoadError"+ "descriptionLoadError",+ "board"]},"invitations": {@@ -11130,9 +11203,238 @@"success","error"]+ },+ "home": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "pageTitle": {+ "type": "string"+ },+ "greeting": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "morning": {+ "type": "string"+ },+ "afternoon": {+ "type": "string"+ },+ "evening": {+ "type": "string"+ }+ },+ "required": ["morning", "afternoon", "evening"]+ },+ "newTask": {+ "type": "string"+ },+ "week": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "more_one": {+ "type": "string"+ },+ "more_zero": {+ "type": "string"+ },+ "more_two": {+ "type": "string"+ },+ "more_few": {+ "type": "string"+ },+ "more_many": {+ "type": "string"+ },+ "more_other": {+ "type": "string"+ }+ },+ "required": []+ },+ "upNext": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "title": {+ "type": "string"+ },+ "assigned_one": {+ "type": "string"+ },+ "assigned_zero": {+ "type": "string"+ },+ "assigned_two": {+ "type": "string"+ },+ "assigned_few": {+ "type": "string"+ },+ "assigned_many": {+ "type": "string"+ },+ "assigned_other": {+ "type": "string"+ },+ "viewAll": {+ "type": "string"+ }+ },+ "required": ["title", "viewAll"]+ },+ "projects": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "title": {+ "type": "string"+ },+ "all": {+ "type": "string"+ },+ "tasks_one": {+ "type": "string"+ },+ "tasks_zero": {+ "type": "string"+ },+ "tasks_two": {+ "type": "string"+ },+ "tasks_few": {+ "type": "string"+ },+ "tasks_many": {+ "type": "string"+ },+ "tasks_other": {+ "type": "string"+ }+ },+ "required": ["title", "all"]+ },+ "activity": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "title": {+ "type": "string"+ },+ "commented": {+ "type": "string"+ },+ "updated": {+ "type": "string"+ },+ "empty": {+ "type": "string"+ },+ "loadError": {+ "type": "string"+ }+ },+ "required": [+ "title",+ "commented",+ "updated",+ "empty",+ "loadError"+ ]+ }+ },+ "required": [+ "pageTitle",+ "greeting",+ "newTask",+ "week",+ "upNext",+ "projects",+ "activity"+ ]+ },+ "myWork": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "empty": {+ "type": "string"+ },+ "loadError": {+ "type": "string"+ },+ "due": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "overdue": {+ "type": "string"+ },+ "today": {+ "type": "string"+ },+ "tomorrow": {+ "type": "string"+ },+ "thisWeek": {+ "type": "string"+ },+ "later": {+ "type": "string"+ },+ "noDueDate": {+ "type": "string"+ }+ },+ "required": [+ "overdue",+ "today",+ "tomorrow",+ "thisWeek",+ "later",+ "noDueDate"+ ]+ }+ },+ "required": ["empty", "loadError", "due"]+ },+ "myTasks": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "pageTitle": {+ "type": "string"+ },+ "emptyDescription": {+ "type": "string"+ },+ "groupBy": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "label": {+ "type": "string"+ },+ "dueDate": {+ "type": "string"+ },+ "project": {+ "type": "string"+ }+ },+ "required": ["label", "dueDate", "project"]+ },+ "truncated": {+ "type": "string"+ }+ },+ "required": ["pageTitle", "emptyDescription", "groupBy", "truncated"]}},- "required": ["projects", "search", "create"]+ "required": ["projects", "search", "create", "home", "myWork", "myTasks"]},"team": {"type": "object",diff --git a/i18n/tr-TR.json b/i18n/tr-TR.jsonindex f90caaccd..3f138b9af 100644--- a/i18n/tr-TR.json+++ b/i18n/tr-TR.json@@ -1888,14 +1888,16 @@"close": "Kapat"}},- "notifications": "Bildirimler","sidebar": {- "overview": "Genel Bakış","projects": "Projeler","members": "Üyeler","invitations": "Davetler","more": "Daha fazla",- "backToBoard": "Panoya dön"+ "backToBoard": "Panoya dön",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Projeyi Görüntüle",@@ -1980,7 +1982,6 @@}},"notifications": {- "title": "Bildirimler","newCount_one": "{{count}} yeni","newCount_other": "{{count}} yeni","emptyTitle": "Henüz bildirim yok",@@ -1988,9 +1989,6 @@"clearAll": "Tüm bildirimleri temizle","clearDialogTitle": "Tüm bildirimler temizlensin mi?","clearDialogDescription": "Bu, tüm bildirimleri kalıcı olarak kaldıracak. Bu işlemi geri alamazsınız.",- "shortcuts": {- "open": "Bildirimleri aç"- },"events": {"task_created": {"title": "Yeni Talep Oluşturuldu",@@ -2037,6 +2035,24 @@"hours_other": "{{count}} saat","days_one": "{{count}} gün","days_other": "{{count}} gün"+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2704,6 +2720,60 @@"submit": "Çalışma alanı oluştur","success": "Çalışma alanı başarıyla oluşturuldu","error": "Çalışma alanı oluşturulamadı"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/uk-UA.json b/i18n/uk-UA.jsonindex c62439c99..e78ac5d78 100644--- a/i18n/uk-UA.json+++ b/i18n/uk-UA.json@@ -1902,14 +1902,16 @@"close": "Закрити"}},- "notifications": "Сповіщення","sidebar": {- "overview": "Огляд","projects": "Проєкти","members": "Учасники","invitations": "Запрошення","more": "Більше",- "backToBoard": "Назад до дошки"+ "backToBoard": "Назад до дошки",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Переглянути проєкт",@@ -1994,7 +1996,6 @@}},"notifications": {- "title": "Сповіщення","newCount_one": "{{count}} нове","newCount_few": "{{count}} нових","newCount_many": "{{count}} нових",@@ -2004,9 +2005,6 @@"clearAll": "Очистити всі сповіщення","clearDialogTitle": "Очистити всі сповіщення?","clearDialogDescription": "Це назавжди видалить усі сповіщення. Цю дію неможливо скасувати.",- "shortcuts": {- "open": "Відкрити сповіщення"- },"events": {"task_created": {"title": "Створено нове завдання",@@ -2059,6 +2057,24 @@"days_few": "{{count}} дні","days_many": "{{count}} днів","days_other": "{{count}} днів"+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2730,6 +2746,66 @@"submit": "Створити робочий простір","success": "Робочий простір успішно створено","error": "Не вдалося створити робочий простір"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_few": "{{count}} tasks",+ "tasks_many": "{{count}} tasks",+ "tasks_one": "{{count}} task",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_few": "{{count}} assigned to you",+ "assigned_many": "{{count}} assigned to you",+ "assigned_one": "{{count}} assigned to you",+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_few": "+{{count}} more",+ "more_many": "+{{count}} more",+ "more_one": "+{{count}} more",+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/vi-VN.json b/i18n/vi-VN.jsonindex aed5b46d8..629d3b8a5 100644--- a/i18n/vi-VN.json+++ b/i18n/vi-VN.json@@ -1881,14 +1881,16 @@"close": "Đóng"}},- "notifications": "Thông báo","sidebar": {- "overview": "Tổng quan","projects": "Dự án","members": "Thành viên","invitations": "Lời mời","more": "Thêm",- "backToBoard": "Quay lại bảng"+ "backToBoard": "Quay lại bảng",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "Xem dự án",@@ -1973,16 +1975,12 @@}},"notifications": {- "title": "Thông báo","newCount_other": "{{count}} mới","emptyTitle": "Chưa có thông báo nào","emptySubtitle": "Bạn sẽ thấy các cập nhật và hoạt động ở đây.","clearAll": "Xóa tất cả thông báo","clearDialogTitle": "Xóa tất cả thông báo?","clearDialogDescription": "Thao tác này sẽ xóa vĩnh viễn tất cả thông báo. Bạn không thể hoàn tác hành động này.",- "shortcuts": {- "open": "Mở thông báo"- },"reminderLeadTime": {"minutes_other": "{{count}} phút","hours_other": "{{count}} giờ",@@ -2026,6 +2024,24 @@"contentWithTask": "Đã bắt đầu theo dõi thời gian trên công việc: {{taskTitle}}","contentWithoutTask": "Đã bắt đầu theo dõi thời gian trên một công việc"}+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2691,6 +2707,57 @@"submit": "Tạo không gian làm việc","success": "Tạo không gian làm việc thành công","error": "Không thể tạo không gian làm việc"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {diff --git a/i18n/zh-CN.json b/i18n/zh-CN.jsonindex 5514c343a..474074a70 100644--- a/i18n/zh-CN.json+++ b/i18n/zh-CN.json@@ -1881,14 +1881,16 @@"close": "关闭"}},- "notifications": "通知","sidebar": {- "overview": "概览","projects": "项目","members": "成员","invitations": "邀请","more": "更多",- "backToBoard": "返回看板"+ "backToBoard": "返回看板",+ "home": "Home",+ "inbox": "Inbox",+ "invitePeople": "Invite people",+ "myTasks": "My tasks"},"projectList": {"viewProject": "查看项目",@@ -1973,16 +1975,12 @@}},"notifications": {- "title": "通知","newCount_other": "{{count}} 条新通知","emptyTitle": "暂无通知","emptySubtitle": "更新和活动将显示在这里。","clearAll": "清空所有通知","clearDialogTitle": "清空所有通知?","clearDialogDescription": "这将永久删除所有通知,此操作不可撤销。",- "shortcuts": {- "open": "打开通知"- },"reminderLeadTime": {"minutes_other": "{{count}} 分钟","hours_other": "{{count}} 小时",@@ -2026,6 +2024,24 @@"contentWithTask": "已开始为任务 {{taskTitle}} 计时","contentWithoutTask": "已开始为某个任务计时"}+ },+ "inbox": {+ "back": "Inbox",+ "earlier": "Earlier",+ "emptyFilter": "Nothing here",+ "filters": {+ "all": "All",+ "label": "Filter notifications",+ "mentions": "Mentions",+ "unread": "Unread"+ },+ "openTask": "Open task",+ "pageTitle": "Inbox",+ "recentActivity": "Recent activity",+ "selectPrompt": "Select a notification to read it",+ "taskUnavailable": "This task is no longer available.",+ "today": "Today",+ "unread": "Unread"}},"activity": {@@ -2691,6 +2707,57 @@"submit": "创建工作区","success": "工作区创建成功","error": "工作区创建失败"+ },+ "home": {+ "activity": {+ "commented": "commented",+ "empty": "Nothing has happened in the last 30 days.",+ "loadError": "Activity couldn't be loaded.",+ "title": "Activity",+ "updated": "updated the task"+ },+ "greeting": {+ "afternoon": "Good afternoon",+ "evening": "Good evening",+ "morning": "Good morning"+ },+ "newTask": "New task",+ "pageTitle": "Home",+ "projects": {+ "all": "All projects",+ "tasks_other": "{{count}} tasks",+ "title": "Your projects"+ },+ "upNext": {+ "assigned_other": "{{count}} assigned to you",+ "title": "Up next",+ "viewAll": "View all"+ },+ "week": {+ "more_other": "+{{count}} more"+ }+ },+ "myTasks": {+ "emptyDescription": "Tasks assigned to you across this workspace show up here.",+ "groupBy": {+ "dueDate": "Due date",+ "label": "Group by",+ "project": "Project"+ },+ "pageTitle": "My tasks",+ "truncated": "Showing the first {{shown}} of {{total}} tasks."+ },+ "myWork": {+ "due": {+ "later": "Later",+ "noDueDate": "No due date",+ "overdue": "Overdue",+ "thisWeek": "This week",+ "today": "Today",+ "tomorrow": "Tomorrow"+ },+ "empty": "Nothing assigned to you",+ "loadError": "Your tasks couldn't be loaded."}},"team": {