diff --git a/ui/src/components/IssueDocumentAnnotations.test.tsx b/ui/src/components/IssueDocumentAnnotations.test.tsx index 8206956547c..140913b1341 100644 --- a/ui/src/components/IssueDocumentAnnotations.test.tsx +++ b/ui/src/components/IssueDocumentAnnotations.test.tsx @@ -134,6 +134,9 @@ function makeDoc(overrides: Partial = {}): IssueDocument { createdByUserId: "user-1", updatedByAgentId: null, updatedByUserId: "user-1", + lockedAt: null, + lockedByAgentId: null, + lockedByUserId: null, createdAt: new Date("2026-04-01T00:00:00Z"), updatedAt: new Date("2026-04-01T00:01:00Z"), ...overrides, diff --git a/ui/storybook/stories/document-annotations.stories.tsx b/ui/storybook/stories/document-annotations.stories.tsx index 7daa3185c9c..8b70ded6be9 100644 --- a/ui/storybook/stories/document-annotations.stories.tsx +++ b/ui/storybook/stories/document-annotations.stories.tsx @@ -216,6 +216,9 @@ const integratedDoc: IssueDocument = { createdByUserId: "user-1", updatedByAgentId: null, updatedByUserId: "user-1", + lockedAt: null, + lockedByAgentId: null, + lockedByUserId: null, createdAt: new Date("2026-05-12T09:00:00Z"), updatedAt: new Date("2026-05-12T10:01:00Z"), }; @@ -267,6 +270,9 @@ function makeIntegratedIssue(): Issue { createdByUserId: "user-1", updatedByAgentId: null, updatedByUserId: "user-1", + lockedAt: integratedDoc.lockedAt, + lockedByAgentId: integratedDoc.lockedByAgentId, + lockedByUserId: integratedDoc.lockedByUserId, createdAt: integratedDoc.createdAt, updatedAt: integratedDoc.updatedAt, },