administration: adds harvester view#701
Open
jrcastro2 wants to merge 1 commit intoCERNDocumentServer:masterfrom
Open
administration: adds harvester view#701jrcastro2 wants to merge 1 commit intoCERNDocumentServer:masterfrom
jrcastro2 wants to merge 1 commit intoCERNDocumentServer:masterfrom
Conversation
ddef5d2 to
ee55b93
Compare
jrcastro2
commented
Feb 18, 2026
| /** | ||
| * Custom Empty Results component (without showing the query) | ||
| */ | ||
| export const CustomEmptyResults = () => { |
Contributor
Author
There was a problem hiding this comment.
Added this to hide the query from the user, the default one shows it and we are "manipulating" it ot add the timestamp
jrcastro2
commented
Feb 18, 2026
| const { sortOptions, sortOrderDisabled } = useContext(SearchConfigurationContext); | ||
|
|
||
| // Derive selected run from query string | ||
| const runIdFromQuery = extractRunIdFromQuery(currentQueryState.queryString, runs); |
Contributor
Author
There was a problem hiding this comment.
Couldnt find a better way. Happy to hear other ideas but I had issues with RSK storing the value of the run in this cmp. It would always fall back to initalquery set and not properly store it. So cant keep track of which run is being showed (unless the run id would be part of the URL params, since the audit logs have no reference to it, it doesn't make any sense to me)
jrcastro2
commented
Feb 18, 2026
| /** | ||
| * Extract user's search terms from full query string | ||
| */ | ||
| export const extractUserSearch = (queryString) => { |
Contributor
Author
There was a problem hiding this comment.
Since we need to "enrich" the URL with the timestamp information to select a run we want to hide this from the user
ee55b93 to
943fd8e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Showcase
Grabacion.de.pantalla.2026-02-18.a.las.13.46.11.mov
Email example