Skip to content
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

Merged
merged 161 commits into from
Jul 24, 2024
Merged

Lucene search UI changes #1401

merged 161 commits into from
Jul 24, 2024

Conversation

kennethnym
Copy link
Member

@kennethnym kennethnym commented Aug 24, 2022

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

  • Review code
  • Check Actions build
  • Review changes to test coverage

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

patrick-austin and others added 15 commits July 7, 2022 15:21
# 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
@kennethnym
Copy link
Member Author

The checks are failing for the E2E tests because the test servers don't support the new Lucene search endpoint yet.

@sam-glendenning
Copy link
Contributor

Not entirely sure where this is going wrong right now but the datafile search table is not stretching to fill the width of its container, unlike the other search tables

mismatch table size

@kennethnym
Copy link
Member Author

That is weird, I never had this problem before! I'll have a look.

@sam-glendenning
Copy link
Contributor

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
@louise-davies louise-davies dismissed their stale review October 18, 2023 09:39

it's my own review

@louise-davies louise-davies marked this pull request as ready for review October 18, 2023 09:40
@codecov-commenter
Copy link

codecov-commenter commented May 15, 2024

Codecov Report

Attention: Patch coverage is 85.94203% with 97 lines in your changes missing coverage. Please review.

Project coverage is 95.35%. Comparing base (1e141a4) to head (bdb9c6c).

Files Patch % Lines
...datagateway-common/src/card/cardView.component.tsx 16.27% 36 Missing ⚠️
...earch/src/card/datasetSearchCardView.component.tsx 79.72% 13 Missing and 2 partials ⚠️
...tagateway-common/src/card/entityCard.component.tsx 40.00% 9 Missing ⚠️
...src/card/investigationSearchCardView.component.tsx 86.20% 7 Missing and 1 partial ⚠️
.../detailsPanels/dls/visitDetailsPanel.component.tsx 83.33% 3 Missing and 1 partial ⚠️
...s/datagateway-common/src/table/table.component.tsx 60.00% 2 Missing and 2 partials ⚠️
packages/datagateway-common/src/urlBuilders.ts 76.47% 4 Missing ⚠️
packages/datagateway-common/src/api/index.tsx 92.85% 3 Missing ⚠️
...facet/components/selectedFilterChips.component.tsx 82.35% 3 Missing ⚠️
...ay-search/src/searchBoxContainerSide.component.tsx 62.50% 3 Missing ⚠️
... and 6 more
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     
Flag Coverage Δ
common 94.17% <74.78%> (-1.16%) ⬇️
dataview 97.32% <100.00%> (-0.05%) ⬇️
download 95.99% <100.00%> (ø)
search 93.57% <91.77%> (-2.98%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@louise-davies louise-davies merged commit 4b8a1c3 into develop Jul 24, 2024
10 checks passed
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.

Implement new UI changes to support new Lucene
6 participants