upsiflu / less-ui

Write your views across several screen regions, and hide all Ui state in the Url.
https://package.elm-lang.org/packages/upsiflu/less-ui/latest
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Escape protected assignments? #38

Open upsiflu opened 1 year ago

upsiflu commented 1 year ago

Situation: Currently, a flag "bounce=..." or "toggle=..." can implicitly cause state redirects.

Options: (a) Keep the overlap but document all cases where a user can shoot themselves in the foot (b) Escape any user-generated category "bounce" and "toggle" (c) Serve the bounce and toggle assignments as messages in addition to the absolute Urls, and ignore the Urls in case an internal link has been clicked