openshift-evangelists / workshopper

Workshop content rendering tool
63 stars 41 forks source link

Allow overriding template variables from QS #24

Closed marekjelen closed 7 years ago

marekjelen commented 7 years ago

E.g. http://localhost:8080/?MASTERS=5#/workshop/roadshow/module/environment overrides number of master on the environment page.

Warning: the query string has to be before anchor that is used for page routing, i.e. ? has to be before #

siamaksade commented 7 years ago

Looks good but what's the usecase?

thoraxe commented 7 years ago

1) sending random people to labs.openshift3roadshow.com with customized information they can use in their own environment 2) "fixing"/tweaking/testing a running instance

siamaksade commented 7 years ago

If the user clicks on any link (next, prev, module, etc) doesn't he lose the query string and the values are back to default?

thoraxe commented 7 years ago

That needs to not happen for this to be useful :)

marekjelen commented 7 years ago

yes, the QS should be persistent, when only the anchor is changed