ripple / explorer

Open Source XRP Ledger Explorer
https://livenet.xrpl.org/
MIT License
111 stars 68 forks source link

Rewrite search system #916

Open ckniffen opened 8 months ago

ckniffen commented 8 months ago

Goals

Current Flow

New Flow

Details

Right now search largely narrows down the query by regex. That was sufficient until NFT searching was added which matches the same criteria as transactions. Amendments hashes match will also match as will most other searches involving hashes as they are often 64 characters.

When no results found show a message detailing all the things attempted and remain on current page. This is a user experience change as it currently takes the user to a 404 page for the last type. This will address #544 where if there is not a transaction or an NFT it directs to the NFT page which is confusing.

Future Work