greenpress / greenpress

Start here: npm install & npm start
90 stars 29 forks source link

[admin] pre-designed list page #175

Open davidmeirlevy opened 1 year ago

davidmeirlevy commented 1 year ago

When list of MFEs are loaded, some can choose to have a pre-designed page instead of providing a MFE url to load as an iframe.

When a MFE is set to be a list - it should have a url to which the list will be loaded from, and a list of actions per each item (remove / update / go). Each action can specify a new route to navigate, or fetch options to call.

The MFE object should look like:

ItemOperation interface:

FetchOptions interface: includes every "fetch" options, and also: