-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
navigationmenus, navigation, routingmenus, navigation, routingroutingtransactionStatebox API transactionStatebox API transaction
Milestone
Description
description
Currently, we load transactions by entering their hash, say zFsGM27HNS66qmGp1Y1STK48FUA1F12VHLRB51RGWNYWVE
, in the input form on the 'home screen'. (src)
We want to be able to load them by entering the tx hash in the studio url instead, without having to go through a form. For example:
https://studio.statebox.cloud/tx/zFsGM27HNS66qmGp1Y1STK48FUA1F12VHLRB51RGWNYWV
todo
-
Listen for route changes (see resources section below).
-
Get the hash from the route:
/tx/:hash:
. -
Wire up to event:
LoadTransactions
(src) in the Studioeval
function (src). -
future work/followup issue: deployment (Erik and/or Sjoerd and/or Alex?)
- Configure routing in a
netlify.toml
. We had such a file before, but had to move away from it as it did not support monorepo-to-multi-site deployments yet. These days it apparently does,. - We also deploy the docs site from the monorepo, and we will probably want to deploy more stuff, so look at doing thoe via
netlify.toml
again as well. - I (Erik) have a dhall-to-toml converter iirc.
- Configure routing in a
resources
NB: Be aware that the Halogen version may differ.
Metadata
Metadata
Assignees
Labels
navigationmenus, navigation, routingmenus, navigation, routingroutingtransactionStatebox API transactionStatebox API transaction