mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 17:45:53 +01:00
Rename attention page to Decisions
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
d86096a720
commit
5129db46f7
5 files changed
+10
-6
No files matched your search
+4
-1
@@ -215,7 +215,8 @@ function boardRoutes() {
|
||||
<Route path="board-chat" element={<BoardChat />} />
|
||||
<Route path="artifacts" element={<Artifacts />} />
|
||||
</Route>
|
||||
<Route path="attention" element={<WhatNeedsMe />} />
|
||||
<Route path="decisions" element={<WhatNeedsMe />} />
|
||||
<Route path="attention" element={<Navigate to="../decisions" replace />} />
|
||||
<Route path="inbox" element={<InboxRootRedirect />} />
|
||||
<Route path="inbox/mine" element={<Inbox />} />
|
||||
<Route path="inbox/recent" element={<Inbox />} />
|
||||
@@ -466,6 +467,8 @@ export function App() {
|
||||
<Route path="pipelines/:pipelineId/items/:caseId" element={<UnprefixedBoardRedirect />} />
|
||||
<Route path="pipelines/:pipelineId/cases/:caseId" element={<UnprefixedBoardRedirect />} />
|
||||
<Route path="artifacts" element={<UnprefixedBoardRedirect />} />
|
||||
<Route path="decisions" element={<UnprefixedBoardRedirect />} />
|
||||
<Route path="attention" element={<UnprefixedBoardRedirect />} />
|
||||
<Route path="u/:userSlug" element={<UnprefixedBoardRedirect />} />
|
||||
<Route path="skills/studio" element={<UnprefixedBoardRedirect />} />
|
||||
<Route path="skills/studio/new" element={<UnprefixedBoardRedirect />} />
|
||||
|
||||
@@ -3,7 +3,7 @@ import { api } from "./client";
|
||||
|
||||
export const attentionApi = {
|
||||
/**
|
||||
* Fetch the ranked "What needs me" attention feed for a company. The server
|
||||
* Fetch the ranked Decisions attention feed for a company. The server
|
||||
* unions every attention source (approvals, interactions, recovery, reviews,
|
||||
* failures, budget…) into one ranked queue with the §0 contract.
|
||||
*/
|
||||
|
||||
@@ -192,8 +192,8 @@ export function Sidebar() {
|
||||
})()}
|
||||
<SidebarNavItem to="/dashboard" label="Dashboard" icon={LayoutDashboard} liveCount={liveRunCount} />
|
||||
<SidebarNavItem
|
||||
to="/attention"
|
||||
label="What needs me"
|
||||
to="/decisions"
|
||||
label="Decisions"
|
||||
icon={ListChecks}
|
||||
badge={attentionCount}
|
||||
badgeLabel="decisions"
|
||||
|
||||
@@ -18,6 +18,7 @@ const BOARD_ROUTE_ROOTS = new Set([
|
||||
"usage",
|
||||
"activity",
|
||||
"attention",
|
||||
"decisions",
|
||||
"inbox",
|
||||
"board-chat",
|
||||
"artifacts",
|
||||
|
||||
@@ -336,7 +336,7 @@ function Queue({
|
||||
return (
|
||||
<div className="max-w-3xl space-y-4 p-6">
|
||||
<div className="flex items-center justify-between gap-2">
|
||||
<h1 className="text-xl font-bold">What needs me</h1>
|
||||
<h1 className="text-xl font-bold">Decisions</h1>
|
||||
<div className="flex items-center gap-2">
|
||||
{count > 0 && (
|
||||
<span className="text-sm text-muted-foreground">
|
||||
@@ -436,7 +436,7 @@ function Queue({
|
||||
}
|
||||
|
||||
const meta: Meta<typeof Queue> = {
|
||||
title: "Pages/What needs me",
|
||||
title: "Pages/Decisions",
|
||||
component: Queue,
|
||||
parameters: { layout: "fullscreen" },
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user