Added progress view and unified terminology around urgency vs time

This commit is contained in:
2026-02-17 18:06:34 -06:00
parent 09240e8f89
commit 1a24165975
4 changed files with 54 additions and 4 deletions
+5 -3
View File
@@ -1,5 +1,5 @@
import { type Component, For, Show } from "solid-js";
import { LayoutDashboard, ListTodo, Settings, Clock, ArrowUpCircle, PanelLeftClose, Snowflake, Pickaxe, ChevronDown, Gauge, TrendingUp, Users, Box } from "lucide-solid";
import { LayoutDashboard, ListTodo, Settings, Clock, ArrowUpCircle, PanelLeftClose, Snowflake, Pickaxe, ChevronDown, Gauge, TrendingUp, Users, Box, BarChart3 } from "lucide-solid";
import { cn } from "@/lib/utils";
import { Button } from "./ui/button";
import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover";
@@ -16,11 +16,12 @@ interface NavItem {
// Desktop nav items (all)
const desktopNavItems: NavItem[] = [
{ icon: ListTodo, label: "Focus", view: "critical" },
{ icon: Clock, label: "Time", view: "urgency" },
{ icon: Clock, label: "Urgency", view: "urgency" },
{ icon: ArrowUpCircle, label: "Priority", view: "priority" },
{ icon: LayoutDashboard, label: "Matrix", view: "matrix" },
{ icon: Snowflake, label: "Snowball", view: "snowball" },
{ icon: Pickaxe, label: "Dig In", view: "dig_in" },
{ icon: BarChart3, label: "Progress", view: "progress" },
];
// Mobile nav groups
@@ -37,13 +38,14 @@ const mobileNavGroups: MobileNavGroup[] = [
{
icon: TrendingUp, label: "Value", items: [
{ icon: ArrowUpCircle, label: "Priority", view: "priority" },
{ icon: Clock, label: "Time", view: "urgency" },
{ icon: Clock, label: "Urgency", view: "urgency" },
]
},
{
icon: Gauge, label: "Flow", items: [
{ icon: Snowflake, label: "Snowball", view: "snowball" },
{ icon: Pickaxe, label: "Dig In", view: "dig_in" },
{ icon: BarChart3, label: "Progress", view: "progress" },
]
},
{ icon: Settings, label: "Settings", view: "settings" },
+1 -1
View File
@@ -205,7 +205,7 @@ export const TaskDetail: Component<TaskDetailProps> = (props) => {
{/* Urgency */}
<div class="flex items-center gap-1 group shrink-0">
<span class="text-[0.625rem] uppercase font-bold tracking-wider text-muted-foreground/70 hidden sm:inline">Time</span>
<span class="text-[0.625rem] uppercase font-bold tracking-wider text-muted-foreground/70 hidden sm:inline">Urgency</span>
<Select<any>
value={currentUrgency()}
onChange={(val: string | null) => val && updateUrgency(val)}