Skip to content

URL query params for searches and pagination #498

@SpicyLemon

Description

@SpicyLemon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions