-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lucene search UI changes #1401
Lucene search UI changes #1401
Conversation
# Conflicts: # yarn.lock
# Conflicts: # packages/datagateway-search/server/e2e-test-server.js # packages/datagateway-search/src/card/datasetSearchCardView.component.test.tsx # packages/datagateway-search/src/card/datasetSearchCardView.component.tsx # packages/datagateway-search/src/card/investigationSearchCardView.component.tsx # packages/datagateway-search/src/searchPageContainer.component.tsx # packages/datagateway-search/src/searchTabs.component.tsx # packages/datagateway-search/src/table/datafileSearchTable.component.tsx # packages/datagateway-search/src/table/datasetSearchTable.component.tsx # packages/datagateway-search/src/table/investigationSearchTable.component.tsx
- Add tooltip to checkbox to explain what it does - It will no longer trigger the search whenever it changes
The checks are failing for the E2E tests because the test servers don't support the new Lucene search endpoint yet. |
That is weird, I never had this problem before! I'll have a look. |
Note for the above: this was in Firefox. Let me know if things are different for you in other browsers, etc |
When the filter panel is hidden, datafile search table now uses the full width of the parent container
Made it more efficient by bundling it all together in the current tab change
…truments @ dataset/dataset level
Also, fix lucene search pagination & issues with axios v1 upgrade (switching to use URLSearchParams)
0ed2ff7
to
9e8621c
Compare
if you had multiple entity types available for search, card view pagination could fail if they had different amounts of results Since the "hidden" tab would reset the page to 1 when it detected the page was greater than it's max page
- Also removed lingering enzyme stuff - And refactored SearchPageComponent to use redux hooks
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1401 +/- ##
===========================================
- Coverage 96.25% 95.35% -0.91%
===========================================
Files 170 182 +12
Lines 7326 7843 +517
Branches 2347 2506 +159
===========================================
+ Hits 7052 7479 +427
- Misses 254 329 +75
- Partials 20 35 +15
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
also some other minor styling stuff
- don't know what changed to cause this, likely backend changes
Description
This PR includes support for new Lucene search & new UI to support the Lucene search change.
Testing instructions
Add a set up instructions describing how the reviewer should test the code
Demo
DataGateway.Search.and.8.more.pages.-.Work.-.Microsoft.Edge.2022-12-14.15-42-46_Trim.2.mp4
Agile board tracking
Closes #1363, #1362