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

URL query params for searches and pagination #498

Open
4 tasks
SpicyLemon opened this issue Mar 21, 2023 · 0 comments
Open
4 tasks

URL query params for searches and pagination #498

SpicyLemon opened this issue Mar 21, 2023 · 0 comments

Comments

@SpicyLemon
Copy link

Summary

Allow for the use of query parameters (in the URL) for pages that have searches and/or are paginated.

Problem Definition

As a user, I want to be able to easily share the page I'm looking at with someone else.

For example, I go to the "Transactions" tab, enter some search parameters, and get a couple pages of results. I see some stuff that I need to share with a colleague. I can't just copy the URL and give it to them. Instead, I have to give a link to the transactions search page, and tell them what parameters to enter in the boxes.

Proposal

  1. Enhance search pages and paginated pages to work using URL query parameters.
  2. Enhance search pages and paginated pages to update the browser's URL when the content in a results card changes.

The primary page I find myself wanting this on is the "Transactions" tab, but it'd be good to do it in the other places too.

Pages that I'm talking about:

I'm not sure how best to handle the tabs and paginated results at the bottom of a specific address' page, e.g. https://explorer.provenance.io/accounts/pb1xvd4k9jg5h0d4dhzr4z0txtwe9p5zxf58xcmxd. It'd be nice to be able to link to specific views on that bottom card, but might not be all that worthwhile.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
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

No branches or pull requests

1 participant