Skip to content

Commit 9b58b1b

Browse files
committed
merge from develop and @labkey/components v7.38.3-moreAccessibility.12
2 parents 209045e + 0c95806 commit 9b58b1b

6 files changed

Lines changed: 20 additions & 6 deletions

File tree

packages/components/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@labkey/components",
3-
"version": "7.38.1-moreAccessibility.11",
3+
"version": "7.38.3-moreAccessibility.12",
44
"description": "Components, models, actions, and utility functions for LabKey applications and pages",
55
"sideEffects": false,
66
"files": [

packages/components/releaseNotes/components.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ Components, models, actions, and utility functions for LabKey applications and p
1212
- Add `labelId` getter method in `QueryColumn`
1313
- Add `data-fieldkey` to some labels to help with locators
1414

15+
### version 7.38.2
16+
*Released*: 27 May 2026
17+
- Update `getDefaultVisibleColumns` to remove columns that metadata eliminates from views
18+
19+
### version 7.38.1
20+
*Released*: 26 May 2026
21+
- GitHub Issue 1021: Sample Finder: Long names truncated in Search cards
22+
1523
### version 7.38.0
1624
*Released*: 21 May 2026
1725
- Accessibility improvements for app pages: Keyboard Interactions

packages/components/src/internal/components/entities/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const SampleTypeDataType: EntityDataType = {
141141
supportsCrossTypeImport: true,
142142
folderConfigurableDataType: 'SampleType',
143143
labelColorCol: 'labelcolor',
144-
extraFinderFields: ['storagepositionnumber'],
144+
extraFinderFields: ['storagepositionnumber', 'storageterminallocation'],
145145
};
146146

147147
export const SampleParentDataType = {

packages/components/src/internal/query/api.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@ export function getDefaultVisibleColumns(options: GetQueryDetailsOptions): Promi
182182
const rawColumnMap = response.columns;
183183
Object.keys(rawColumnMap).forEach(fieldKey => {
184184
const rawColumn = rawColumnMap[fieldKey];
185-
columns.push(applyColumnMetadata(schemaQuery, rawColumn));
185+
const updatedColumn = applyColumnMetadata(schemaQuery, rawColumn);
186+
if (!updatedColumn.removeFromViews) {
187+
columns.push(updatedColumn);
188+
}
186189
});
187190
resolve(columns);
188191
}),

packages/components/src/theme/cards.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ $circle-size: 12 * $scale;
185185
vertical-align: top;
186186
padding: 10px 0;
187187
text-transform: uppercase;
188+
word-break: break-word;
188189
}
189190

190191
.filter-display__field-boolean {
@@ -245,7 +246,8 @@ $circle-size: 12 * $scale;
245246
}
246247

247248
.filter-card__header {
248-
height: 59px;
249+
min-height: 59px;
250+
overflow: hidden;
249251
color: white;
250252
padding: 10px 0 10px 20px;
251253

@@ -256,6 +258,7 @@ $circle-size: 12 * $scale;
256258
& .primary-text {
257259
font-size: 20px;
258260
line-height: 23px;
261+
word-break: break-word;
259262
}
260263

261264
& .secondary-text {

0 commit comments

Comments
 (0)