You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would like to have examples of routing baked into Toolbox so we can look to it for a reference implementation.
I would suggest having two new tabs under "Other" -
Routing (simple)
Grid with the selected record ID maintained in the route. E.g. URLs like https://toolbox-dev.xh.io/app/other/simpleRouting/123 where 123 is a record ID and that record is (auto) selected in the grid.
Routing (advanced)
Grid with query params (e.g. use of groupingChooser and/or filters) where query and selected ID are encoded into the route. In this case we could demo the pattern of writing route state into a JSON object then Base64 encoding to make the route param itself an opaque blob. E.g. URLs like https://toolbox-dev.xh.io/app/other/advancedRouting/eyJncm91cEJ5IjoidHJhZGVyIiwic2VsZWN0ZWRJZCI6MTIzfQ==, where the routing param decodes to {"groupBy":"trader","selectedId":123}.
The text was updated successfully, but these errors were encountered:
Would like to have examples of routing baked into Toolbox so we can look to it for a reference implementation.
I would suggest having two new tabs under "Other" -
Routing (simple)
https://toolbox-dev.xh.io/app/other/simpleRouting/123
where123
is a record ID and that record is (auto) selected in the grid.Routing (advanced)
https://toolbox-dev.xh.io/app/other/advancedRouting/eyJncm91cEJ5IjoidHJhZGVyIiwic2VsZWN0ZWRJZCI6MTIzfQ==
, where the routing param decodes to{"groupBy":"trader","selectedId":123}
.The text was updated successfully, but these errors were encountered: