Address work product review feedback

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-07-06 16:29:48 +00:00
1 parent fe73622cc0
commit a701855519
5 files changed
+6 -2

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

@@ -111,7 +111,6 @@ function githubPullRequestIdentity(url: string): { externalId: string; title: st
} catch {
return null;
}
return null;
}
function shortSha(value: string) {
+4 -1
View File
@@ -5,6 +5,8 @@ import type { IssueWorkProduct } from "@paperclipai/shared";
type IssueWorkProductRow = typeof issueWorkProducts.$inferSelect;
const EXECUTION_WORKSPACE_WORK_PRODUCTS_LIMIT = 200;
function toIssueWorkProduct(row: IssueWorkProductRow): IssueWorkProduct {
return {
id: row.id,
@@ -52,7 +54,8 @@ export function workProductService(db: Db) {
eq(issueWorkProducts.executionWorkspaceId, executionWorkspaceId),
),
)
.orderBy(desc(issueWorkProducts.isPrimary), desc(issueWorkProducts.updatedAt));
.orderBy(desc(issueWorkProducts.isPrimary), desc(issueWorkProducts.updatedAt))
.limit(EXECUTION_WORKSPACE_WORK_PRODUCTS_LIMIT);
return rows.map(toIssueWorkProduct);
},
+2
View File
@@ -177,6 +177,7 @@ function boardRoutes() {
<Route path="routines/:routineId/:section" element={<RoutineDetail />} />
<Route path="execution-workspaces/:workspaceId" element={<ExecutionWorkspaceDetail />} />
<Route path="execution-workspaces/:workspaceId/services" element={<ExecutionWorkspaceDetail />} />
<Route path="execution-workspaces/:workspaceId/work-products" element={<ExecutionWorkspaceDetail />} />
<Route path="execution-workspaces/:workspaceId/configuration" element={<ExecutionWorkspaceDetail />} />
<Route path="execution-workspaces/:workspaceId/runtime-logs" element={<ExecutionWorkspaceDetail />} />
<Route path="execution-workspaces/:workspaceId/issues" element={<ExecutionWorkspaceDetail />} />
@@ -440,6 +441,7 @@ export function App() {
<Route path="workspaces" element={<UnprefixedBoardRedirect />} />
<Route path="execution-workspaces/:workspaceId" element={<UnprefixedBoardRedirect />} />
<Route path="execution-workspaces/:workspaceId/services" element={<UnprefixedBoardRedirect />} />
<Route path="execution-workspaces/:workspaceId/work-products" element={<UnprefixedBoardRedirect />} />
<Route path="execution-workspaces/:workspaceId/configuration" element={<UnprefixedBoardRedirect />} />
<Route path="execution-workspaces/:workspaceId/runtime-logs" element={<UnprefixedBoardRedirect />} />
<Route path="execution-workspaces/:workspaceId/issues" element={<UnprefixedBoardRedirect />} />