Skip to content

OCD-4930 Standardized Left Hand Filters - #1525

Merged
mattystank merged 35 commits into
chpladmin:stagingfrom
mattystank:OCD-4930
Aug 26, 2026
Merged

OCD-4930 Standardized Left Hand Filters#1525
mattystank merged 35 commits into
chpladmin:stagingfrom
mattystank:OCD-4930

Conversation

@mattystank

@mattystank mattystank commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This pull request refactors the Change Requests view and the filter chips component to improve the user interface and enhance code maintainability. The main changes include replacing the table-based results with a card-based layout, updating filter chips to use a card container, and improving the sorting and layout controls. These updates modernize the UI, make it more consistent with other parts of the application, and improve responsiveness and accessibility.

Change Requests View Refactor:

  • Replaced the table-based results display with a card-based layout using ChplSearchResultCard, and updated the results controls to use ChplSearchResultControls and ChplSortControls for a more modern and flexible UI. [1] [2]
  • Refactored the filter and results layout to use ChplFilterLayout and moved loading and error handling into this layout for better consistency and separation of concerns. [1] [2]
  • Simplified and updated the sorting logic and sort options, removing the dependency on table headers and aligning sort controls with the new card-based layout. [1] [2]

Filter Chips Component Improvements:

  • Updated ChplFilterChips to render applied filters inside a scrollable card (Card/CardContent), improving visual grouping and usability for long filter lists. [1] [2] [3]
  • Improved filter chip styles and layout for better alignment, wrapping, and accessibility, and enhanced the display of certification status icons within chips. [1] [2]

Code Cleanup:

  • Removed unused imports and legacy table-related code, and reorganized style definitions to match the new layout and component structure. [1] [2]

mattystank and others added 13 commits July 24, 2026 08:25
…ut consistency across search views

[#OCD-4930]
…mizable background and improved layout

[#OCD-4930]
…sult components and improve layout

[#OCD-4930]
Convert the Complaints page from a table to the standardized card layout
(ChplSearchResultCard/Controls/SortControls) with a white sticky fade.
Fix the invisible Developer User Guide download icon and show it on mobile.
Rename the "Advanced Search" button to "Filters".

[#OCD-4930]
@mattystank
mattystank marked this pull request as ready for review July 30, 2026 16:00
@mattystank
mattystank requested a review from andlar as a code owner July 30, 2026 16:00
Comment thread src/app/components/filter/filter-chips.jsx Outdated
Comment thread src/app/components/filter/filter-layout.jsx
Comment thread src/app/components/filter/filter-panel.jsx Outdated
Comment thread src/app/components/surveillance/complaints/complaints-view.jsx Outdated
Comment thread src/app/components/surveillance/complaints/complaints-view.jsx Outdated
Comment thread src/app/components/util/chpl-page-body.jsx Outdated
[#OCD-4930-temp]

- Replace deprecated defaultProps with inline defaults in ChplFilterChips and ChplFilterLayout
- Simplify complaints-view sortOptions to define sortable columns directly
- Remove pageNumber reset on sort in complaints-view for consistency with other views
- Remove duplicate backgroundSize declaration in ChplPageBody
- Clarify the isDesktop resize effect in ChplFilterLayout

[#OCD-4930]
andlar
andlar previously approved these changes Aug 10, 2026
andlar
andlar previously approved these changes Aug 17, 2026
# Conflicts:
#	src/app/pages/search/real-world-testing/real-world-testing-view.jsx
andlar
andlar previously approved these changes Aug 20, 2026
…hips and update panels for developer view

[#OCD-4930]
Comment thread src/app/components/filter/filter-panel.jsx Outdated
@mattystank
mattystank merged commit d004e7f into chpladmin:staging Aug 26, 2026
2 checks passed
@mattystank
mattystank deleted the OCD-4930 branch August 26, 2026 13:59
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