vocdoni / ui-scaffold

Vocdoni's protocol UI
https://app.vocdoni.io
GNU Affero General Public License v3.0
5 stars 2 forks source link

Review links pointing to the explorer #740

Open elboletaire opened 1 month ago

elboletaire commented 1 month ago

The new explorer changes some URLs, and they should be updated here to properly point to the new ones.

The most notably change is the new explorer does not use hashed routes, so all that /#/ in the old routes won't exist now. Other than that. most routes follow the old standard:

Next.js Route React Route Notes
/ / Base route
/blocks /blocks/:page? Blocks list with optional page parameter
/blocks/show /block/:height/:page? Block details with height and optional page
/converter (Not specified) Not explicitly defined in the new routes
/envelopes/show /envelope/:verifier Envelope details with verifier parameter
/index/featured (Not specified) Not explicitly defined in the new routes
/organizations /organizations/:page?/:query? Organizations list with optional page and query parameters
/organizations/show /organization/:pid/:page? Organization details with pid and optional page
/processes /processes/:page? Processes list with optional page parameter
/processes/show /process/:pid Process details with pid parameter
/stats (Not specified) Not explicitly defined in the new routes
/transactions /transactions/:page? Transactions list with optional page parameter
/transactions/show /transactions/:block/:index Transaction details with block and index parameters
/validators /validators Validators list
/verify /verify/:verifier? Verify with optional verifier parameter

This should be done during the release of the explorer to LTS: https://github.com/vocdoni/explorer/pull/81 (i.e. as soon as that PR is ready to merge, create PR on all other projects like this one).

elboletaire commented 1 month ago

No need to hurry finally, the explorer will have support for old routes: https://github.com/vocdoni/explorer/issues/83