This is a multiapp PoC. One window = several applications.
- Every application should be standalone and work independently;
- Every application can expose several
widgets
; - Every
widget
should be static (e.g. don't use location or history. Interactivity should be accomplished using props); - Every application should have
manifest.json
file with paths to scripts; - Every
widget
should exposemount/unmount
API; - Host application accepts config with all available widgets on the tenant;
- Host application should have
Settings
page where user can configure dashboard (which widgets should be available on the screen); - Communication mechanism between all widgets (pub-sub, every widget write some data into global scope (it means widget has been updated and other should reflect). Host app shoud subscripe to that events and update other widgets accordingly).