From a7f7bb830c87a13269c23a384f0aef6e1d23df79 Mon Sep 17 00:00:00 2001 From: XingY Date: Wed, 5 Aug 2026 19:57:46 -0700 Subject: [PATCH 1/6] Update success msg --- packages/components/package-lock.json | 70 +------------------ packages/components/package.json | 2 +- packages/components/src/internal/actions.ts | 1 + .../internal/components/entities/actions.ts | 26 ++++++- 4 files changed, 27 insertions(+), 72 deletions(-) diff --git a/packages/components/package-lock.json b/packages/components/package-lock.json index f8e56b5f8a..c4f81cd8b1 100644 --- a/packages/components/package-lock.json +++ b/packages/components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@labkey/components", - "version": "7.54.1", + "version": "7.54.2-fb-issue1323.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@labkey/components", - "version": "7.54.1", + "version": "7.54.2-fb-issue1323.0", "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "@hello-pangea/dnd": "18.0.1", @@ -2563,9 +2563,6 @@ "arm" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2587,9 +2584,6 @@ "arm" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2611,9 +2605,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2635,9 +2626,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2659,9 +2647,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2683,9 +2668,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2838,9 +2820,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2855,9 +2834,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2872,9 +2848,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2889,9 +2862,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2906,9 +2876,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2923,9 +2890,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -3861,9 +3825,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3878,9 +3839,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -3895,9 +3853,6 @@ "loong64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3912,9 +3867,6 @@ "loong64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -3929,9 +3881,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3946,9 +3895,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3963,9 +3909,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -3980,9 +3923,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3997,9 +3937,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -4014,9 +3951,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ diff --git a/packages/components/package.json b/packages/components/package.json index db985ade26..6841c99d7a 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@labkey/components", - "version": "7.54.1", + "version": "7.54.2-fb-issue1323.0", "description": "Components, models, actions, and utility functions for LabKey applications and pages", "sideEffects": false, "files": [ diff --git a/packages/components/src/internal/actions.ts b/packages/components/src/internal/actions.ts index cf386951ac..06d05e9d4d 100644 --- a/packages/components/src/internal/actions.ts +++ b/packages/components/src/internal/actions.ts @@ -54,6 +54,7 @@ export type DataTypeRowIdsFromTransactionIds = { dataTypes?: string[]; rowIds: string[]; typeNameRowCounts?: Record; + typeNameRows?: Record; }; type GetTransactionRowIdsResponse = { diff --git a/packages/components/src/internal/components/entities/actions.ts b/packages/components/src/internal/components/entities/actions.ts index 9c79186983..88679761a6 100644 --- a/packages/components/src/internal/components/entities/actions.ts +++ b/packages/components/src/internal/components/entities/actions.ts @@ -1578,7 +1578,8 @@ export function getSampleTypesFromTransactionIds( } export async function getDataClassesFromTransactionIds( - transactionAuditId: number | string + transactionAuditId: number | string, + includeDataRows?: boolean, ): Promise { const results = await getDataTypesFromTransactionId( transactionAuditId, @@ -1589,7 +1590,7 @@ export async function getDataClassesFromTransactionIds( if (!results.rowIds.length) return { ...results, typeNameRowCounts: {} }; - const { dataTypeRowCounts, dataTypes } = results; + const { dataTypeRowCounts, dataTypes, rowIds } = results; const dataTypeLcMap = Object.fromEntries((dataTypes ?? []).map(dt => [dt.toLowerCase(), dt])); const typeNameRowCounts: Record = {}; @@ -1608,5 +1609,24 @@ export async function getDataClassesFromTransactionIds( }); } - return { ...results, typeNameRowCounts }; + if (!includeDataRows) + return { ...results, typeNameRowCounts }; + + const typeNameRows: Record = {}; + const dataRows = await selectRows({ + schemaQuery: SCHEMAS.EXP_TABLES.DATA, + columns: ['DataClass/Name', 'RowId'], + filterArray: [Filter.create('rowId', rowIds, Filter.Types.IN)], + containerFilter: Query.containerFilter.currentPlusProjectAndShared, + }); + + dataRows.rows.forEach(row => { + const dataClass = caseInsensitive(row, 'DataClass/Name')?.value; + const rowId = caseInsensitive(row, 'RowId').value; + if (!typeNameRows[dataClass]) + typeNameRows[dataClass] = []; + typeNameRows[dataClass].push({ rowId }); + }); + + return { ...results, typeNameRowCounts, typeNameRows }; } From 1962d4f6669bd18ccecf741d627a0a7ec8d204c8 Mon Sep 17 00:00:00 2001 From: XingY Date: Wed, 5 Aug 2026 20:30:48 -0700 Subject: [PATCH 2/6] schema --- packages/components/package-lock.json | 4 ++-- packages/components/package.json | 2 +- packages/components/src/internal/schemas.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/components/package-lock.json b/packages/components/package-lock.json index c4f81cd8b1..21bed1faec 100644 --- a/packages/components/package-lock.json +++ b/packages/components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@labkey/components", - "version": "7.54.2-fb-issue1323.0", + "version": "7.54.2-fb-issue1323.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@labkey/components", - "version": "7.54.2-fb-issue1323.0", + "version": "7.54.2-fb-issue1323.2", "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "@hello-pangea/dnd": "18.0.1", diff --git a/packages/components/package.json b/packages/components/package.json index 6841c99d7a..8202157321 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@labkey/components", - "version": "7.54.2-fb-issue1323.0", + "version": "7.54.2-fb-issue1323.2", "description": "Components, models, actions, and utility functions for LabKey applications and pages", "sideEffects": false, "files": [ diff --git a/packages/components/src/internal/schemas.ts b/packages/components/src/internal/schemas.ts index dd1f73575e..1f087cca47 100644 --- a/packages/components/src/internal/schemas.ts +++ b/packages/components/src/internal/schemas.ts @@ -105,6 +105,7 @@ export const SAMPLE_SETS = { const SAMPLE_MANAGEMENT_SCHEMA = 'samplemanagement'; export const SAMPLE_MANAGEMENT = { SCHEMA: SAMPLE_MANAGEMENT_SCHEMA, + ALL_SOURCES: new SchemaQuery(SAMPLE_MANAGEMENT_SCHEMA, 'AllSources'), SAMPLE_TYPE_INSIGHTS: new SchemaQuery(SAMPLE_MANAGEMENT_SCHEMA, 'SampleTypeInsights'), SAMPLE_STATUS_COUNTS: new SchemaQuery(SAMPLE_MANAGEMENT_SCHEMA, 'SampleStatusCounts'), SOURCE_SAMPLES: new SchemaQuery(SAMPLE_MANAGEMENT_SCHEMA, 'SourceSamples'), From 56d28ef3eda2a3d4201f0a8597cdf2d666b5db27 Mon Sep 17 00:00:00 2001 From: XingY Date: Mon, 10 Aug 2026 11:38:39 -0700 Subject: [PATCH 3/6] code review --- .../src/internal/components/entities/actions.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/components/src/internal/components/entities/actions.ts b/packages/components/src/internal/components/entities/actions.ts index 88679761a6..2755bddc8e 100644 --- a/packages/components/src/internal/components/entities/actions.ts +++ b/packages/components/src/internal/components/entities/actions.ts @@ -1614,7 +1614,7 @@ export async function getDataClassesFromTransactionIds( const typeNameRows: Record = {}; const dataRows = await selectRows({ - schemaQuery: SCHEMAS.EXP_TABLES.DATA, + schemaQuery: SCHEMAS.EXP_TABLES.DATA.detailView, columns: ['DataClass/Name', 'RowId'], filterArray: [Filter.create('rowId', rowIds, Filter.Types.IN)], containerFilter: Query.containerFilter.currentPlusProjectAndShared, @@ -1622,10 +1622,12 @@ export async function getDataClassesFromTransactionIds( dataRows.rows.forEach(row => { const dataClass = caseInsensitive(row, 'DataClass/Name')?.value; - const rowId = caseInsensitive(row, 'RowId').value; - if (!typeNameRows[dataClass]) - typeNameRows[dataClass] = []; - typeNameRows[dataClass].push({ rowId }); + if (dataClass) { + const rowId = caseInsensitive(row, 'RowId').value; + if (!typeNameRows[dataClass]) + typeNameRows[dataClass] = []; + typeNameRows[dataClass].push({ rowId }); + } }); return { ...results, typeNameRowCounts, typeNameRows }; From 545af5456ede2b2b797e8c401e7fd030e9173c2a Mon Sep 17 00:00:00 2001 From: XingY Date: Mon, 10 Aug 2026 11:42:11 -0700 Subject: [PATCH 4/6] code review --- packages/components/package-lock.json | 4 ++-- packages/components/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/package-lock.json b/packages/components/package-lock.json index 8d0375679f..5de2f87d9b 100644 --- a/packages/components/package-lock.json +++ b/packages/components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@labkey/components", - "version": "7.54.3-fb-issue1323.0", + "version": "7.54.3-fb-issue1323.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@labkey/components", - "version": "7.54.3-fb-issue1323.0", + "version": "7.54.3-fb-issue1323.1", "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "@hello-pangea/dnd": "18.0.1", diff --git a/packages/components/package.json b/packages/components/package.json index 84c6f350f8..49b9920fdb 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@labkey/components", - "version": "7.54.3-fb-issue1323.0", + "version": "7.54.3-fb-issue1323.1", "description": "Components, models, actions, and utility functions for LabKey applications and pages", "sideEffects": false, "files": [ From 5f1e44b4f4349aec4781845c4c95c6ffc47f13d3 Mon Sep 17 00:00:00 2001 From: XingY Date: Tue, 11 Aug 2026 14:49:32 -0700 Subject: [PATCH 5/6] hide Job button for All tab when applicable, fix bolding registry name in msg --- packages/components/package-lock.json | 4 ++-- packages/components/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/package-lock.json b/packages/components/package-lock.json index 5de2f87d9b..de56d90ee6 100644 --- a/packages/components/package-lock.json +++ b/packages/components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@labkey/components", - "version": "7.54.3-fb-issue1323.1", + "version": "7.54.3-fb-issue1323.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@labkey/components", - "version": "7.54.3-fb-issue1323.1", + "version": "7.54.3-fb-issue1323.3", "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "@hello-pangea/dnd": "18.0.1", diff --git a/packages/components/package.json b/packages/components/package.json index 49b9920fdb..a9201982ef 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@labkey/components", - "version": "7.54.3-fb-issue1323.1", + "version": "7.54.3-fb-issue1323.3", "description": "Components, models, actions, and utility functions for LabKey applications and pages", "sideEffects": false, "files": [ From 708c09625f2533d7094b7a34348087befe5326db Mon Sep 17 00:00:00 2001 From: XingY Date: Wed, 12 Aug 2026 16:41:05 -0700 Subject: [PATCH 6/6] publish --- packages/components/package-lock.json | 4 ++-- packages/components/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/package-lock.json b/packages/components/package-lock.json index c4bbfbb015..17c3551a8d 100644 --- a/packages/components/package-lock.json +++ b/packages/components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@labkey/components", - "version": "7.55.1-fb-issue1323.0", + "version": "7.55.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@labkey/components", - "version": "7.55.1-fb-issue1323.0", + "version": "7.55.1", "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "@hello-pangea/dnd": "18.0.1", diff --git a/packages/components/package.json b/packages/components/package.json index 07509789d8..767ebfece5 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@labkey/components", - "version": "7.55.1-fb-issue1323.0", + "version": "7.55.1", "description": "Components, models, actions, and utility functions for LabKey applications and pages", "sideEffects": false, "files": [