Open upsiflu opened 1 year ago
Revisiting the view code to check for requirements
Decide how to represent the 'perspectives' (paths). Probably we simply use a custom
Ui where we
grab the path and view
the accordion accordiongly. This would be a potential primitive in Restrictive
.
Simply :(Url->Ui)->Ui
and done. Note: implemented as experimental Ui.page
Implement other viewModes such as history or overview with toggle
-able windows. Easzy.
Upgrade the custom elements. Specifically, we want auto-nav:
current
(highlighted) element within the parent.current
cursor into an optional hash,
and each hash-change would navigate through the accordion.For the hash to store the current
element, we need to have the aforementioned :(Url->Ui)->Ui Ui.byUrl
.
-> new issue!
Concerning centering, we had good experience in https://github.com/upsiflu/multimedia
Restrictive
Restrictive.application.view
won'tRoute
type inMain
and defer the complete Ui state management to the URL/Restrictive Model