Skip to content

GitHub Issue #696: Make Applying Filters to Custom Grid View More Apparent - #3177

Merged
cnathe merged 2 commits into
developfrom
fb_saveViewFilters696
Aug 28, 2026
Merged

GitHub Issue #696: Make Applying Filters to Custom Grid View More Apparent#3177
cnathe merged 2 commits into
developfrom
fb_saveViewFilters696

Conversation

@cnathe

@cnathe cnathe commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Rationale

https://github.com/LabKey/internal-issues/issues/696

App grid filter updates to makes it obvious that saving a grid view includes the current set of filters and sorts. Read-only (saved-with-view) filter pills in the grid message bar are greyed and get a hover popover explaining why they can't be edited. The Save Grid View modal replaces the easy-to-miss "Columns, sort order, and filters will be saved" sentence with two labelled sections listing the actual filter and sort pills that will be persisted, with empty-state messages when there are none.

Related Pull Requests

Changes

  • Add selenium test case to check for filters/sorts in save view modal

List.of(colToSort), saveViewDialog.getSortValues());
checker().verifyEquals("Sort direction shown in the save view dialog not as expected.",
SortDirection.ASC, saveViewDialog.getSortDirection(colToSort));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a visual test, would a checker().screenShotIfNewError(...) be useful here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

cnathe added a commit to LabKey/labkey-ui-components that referenced this pull request Aug 28, 2026
…arent (#2068)

#### Rationale
LabKey/internal-issues#696

App grid filter updates to makes it obvious that saving a grid view
includes the current set of filters and sorts. Read-only
(saved-with-view) filter pills in the grid message bar are greyed and
get a hover popover explaining why they can't be edited. The Save Grid
View modal replaces the easy-to-miss "Columns, sort order, and filters
will be saved" sentence with two labelled sections listing the actual
filter and sort pills that will be persisted, with empty-state messages
when there are none.

#### Related Pull Requests
- #2068
- LabKey/limsModules#2433
- LabKey/platform#7987
- LabKey/testAutomation#3177

#### Changes
- GridPanel to pass through the filters and sorts to the SaveViewModal
- SaveViewModal to show filters and sorts as pills (matching the grid
message area display), read only display
- grid Value component to show isReadyOnly message as OverlayTrigger
instead of just title attr
- scss styling updates for filter value status pills to work in grid
header and save view modal

---------

Co-authored-by: labkey-nicka <nickk@labkey.com>
cnathe added a commit to LabKey/platform that referenced this pull request Aug 28, 2026
…arent (#7987)

## Rationale
LabKey/internal-issues#696

App grid filter updates to makes it obvious that saving a grid view
includes the current set of filters and sorts. Read-only
(saved-with-view) filter pills in the grid message bar are greyed and
get a hover popover explaining why they can't be edited. The Save Grid
View modal replaces the easy-to-miss "Columns, sort order, and filters
will be saved" sentence with two labelled sections listing the actual
filter and sort pills that will be persisted, with empty-state messages
when there are none.

## Related Pull Requests
- LabKey/labkey-ui-components#2068
- LabKey/limsModules#2433
- #7987
- LabKey/testAutomation#3177

## Changes
- update @labkey/components package version
@cnathe
cnathe merged commit 58c0987 into develop Aug 28, 2026
6 of 7 checks passed
@cnathe
cnathe deleted the fb_saveViewFilters696 branch August 28, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants