Remove custom module for news search (moved to HDBT) #411
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
UHF-8638
Move news archive app to HDBT.
What was done
In this branch:
In HDBT:
useInitialQuery.tsx
,FormContainer.tsx
)useIndexQuery.tsx
.keepPreviousData
arg for swr to create a better transition when updating the app (prevents "collapsing" and inidicates loading better for the user). Added components for the transition into common components, seeResultWrapper.tsx
andLoadingOverlay.tsx
useEffect
inResultsContainer.tsx
In platform config:
How to install
git checkout origin/UHF-8638-move-news-archive-to-hdbt
ELASTIC_PROXY_URL=https://uutisapi.hel.fi
to your .env file (use data from prod to display results)composer require drupal/hdbt:dev-UHF-8638-move-news-archive-to-hdbt
composer require drupal/helfi_platform_config:dev-UHF-8638-move-news-archive-to-hdbt
make fresh
How to test
Designers review
Other PRs