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

ResultsList query is forgotten between page renders #949

Open
allanlasser opened this issue Dec 5, 2024 · 1 comment
Open

ResultsList query is forgotten between page renders #949

allanlasser opened this issue Dec 5, 2024 · 1 comment
Labels
addons Issues related to Add-Ons enhancement New feature or request search
Milestone

Comments

@allanlasser
Copy link
Member

Feedback from @duckduckgrayduck:

When clicking to run a non-pinned Add-On, previous context is lost- so if say my search was project:210804, and then I click to run an Add-On, it brings me back to the general search. Ideally it would save where I was last to not break context.

Just to confirm: @duckduckgrayduck your flow was to do a search on /documents, then go to the list of /addons, and then select an addon to run?

It might be that we want to persist query in a context store, instead of trying to pass it through every URL.

@allanlasser allanlasser added addons Issues related to Add-Ons search labels Dec 5, 2024
@allanlasser allanlasser added this to the Search milestone Dec 5, 2024
@duckduckgrayduck
Copy link
Contributor

Flow: I click on a project, like this https://www.documentcloud.org/projects/219747-test3/
then I click on "Explore" for Add-Ons and click on an Add-On that I haven't yet pinned. This then doesn't bring me back to that project, but rather shows my general user search.

@eyeseast eyeseast added the enhancement New feature or request label Dec 9, 2024
@allanlasser allanlasser changed the title Persist DocumentBrowser query across renders DocumentBrowser query is lost between renders Dec 9, 2024
@allanlasser allanlasser changed the title DocumentBrowser query is lost between renders ResultsList query is lost between renders Dec 9, 2024
@allanlasser allanlasser changed the title ResultsList query is lost between renders ResultsList query is forgotten between page renders Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addons Issues related to Add-Ons enhancement New feature or request search
Projects
None yet
Development

No branches or pull requests

3 participants