You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a bunch of apps that either only render certain file types or allow to view, edit and save them.
Currently a lot of the generic functionality is still implemented in the apps themselves (i.e. showing loading/error states, showing save popups, autosaving, keyboard shortcuts, reacting to route changes ...)
Not only is the behavior duplicated and not consistent across our apps but it also requires app authors to know quite a bit about APIs that they should not need to worry about when implementing a simple file viewer or editor app. That is why I would like to split the generic functionality out of our apps and provide a simple API that provides all of this functionality out of the box.
I've brainstormed a bit with @pascalwengerter and these are our ideas for a first iteration:
web-app-pdf-viewer as an example for a viewer app:
In a second iteration we could try to get rid of the ViewerApp and EditorApp components from the app templates and handle them automatically in the runtime when the app declares itself to be of such a type - or it registers an extension of that type
The text was updated successfully, but these errors were encountered:
We have a bunch of apps that either only render certain file types or allow to view, edit and save them.
Currently a lot of the generic functionality is still implemented in the apps themselves (i.e. showing loading/error states, showing save popups, autosaving, keyboard shortcuts, reacting to route changes ...)
Not only is the behavior duplicated and not consistent across our apps but it also requires app authors to know quite a bit about APIs that they should not need to worry about when implementing a simple file viewer or editor app. That is why I would like to split the generic functionality out of our apps and provide a simple API that provides all of this functionality out of the box.
I've brainstormed a bit with @pascalwengerter and these are our ideas for a first iteration:
web-app-pdf-viewer
as an example for a viewer app:web-app-text-editor
as an example for a simple editor app:In a second iteration we could try to get rid of the
ViewerApp
andEditorApp
components from the app templates and handle them automatically in the runtime when the app declares itself to be of such a type - or it registers an extension of that typeThe text was updated successfully, but these errors were encountered: