mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-06 15:52:22 +01:00
Carry the landed-parent milestone integration into native progress
Complete verified native-progress patch remains byte-identical while preserving every updated parent path. Co-Authored-By: Paperclip <noreply@paperclip.ing> * commit '1d056f68c5b1005933b9e12de8745bf1c4cbeeca': fix(server): recover Teams attempts from saved claim deadlines (#17592) fix(ui): remove duplicate audit links from agent overview (#17867)
This commit is contained in:
commit
6f365285f5
2 files changed
+3
-17
No files matched your search
@@ -1882,21 +1882,6 @@ export function AgentOverview({
|
||||
</div>
|
||||
)}
|
||||
</section>
|
||||
|
||||
<section className="space-y-3" aria-labelledby="agent-audit-links-heading">
|
||||
<h3 id="agent-audit-links-heading" className="text-sm font-medium">Audit</h3>
|
||||
<div className="grid gap-2 sm:grid-cols-2 lg:grid-cols-4">
|
||||
{(["activity", "runs", "costs", "budgets"] as const).map((section) => (
|
||||
<Link
|
||||
key={section}
|
||||
to={agentScopedAuditHref(agent.id, section)}
|
||||
className="rounded-lg border border-border px-3 py-2 text-sm font-medium capitalize hover:bg-accent"
|
||||
>
|
||||
{section}
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ describe("AgentOverview", () => {
|
||||
expect(markup).not.toContain("old-runtime-model");
|
||||
});
|
||||
|
||||
it("prioritizes identity, capability, runtime, skills, tasks, and scoped Audit entry points", () => {
|
||||
it("prioritizes identity, capability, runtime, skills, and tasks without duplicating sidebar Audit links", () => {
|
||||
const agent = {
|
||||
id: "agent-1",
|
||||
companyId: "company-1",
|
||||
@@ -90,7 +90,8 @@ describe("AgentOverview", () => {
|
||||
expect(markup).toContain("Design Guide");
|
||||
expect(markup).toContain("Simplify agent information architecture");
|
||||
expect(markup).toContain("PAP-42");
|
||||
expect(markup).toContain('href="/activity/costs?agentId=agent-1"');
|
||||
expect(markup).not.toContain("agent-audit-links-heading");
|
||||
expect(markup).not.toContain("agentId=agent-1");
|
||||
expect(markup).not.toContain("Run Activity");
|
||||
expect(markup).not.toContain("Tasks by Status");
|
||||
expect(markup).not.toContain("Created by");
|
||||
|
||||
Reference in new issue
Block a user