Dynamic component creation
Closed, ResolvedPublic

Description

Right now we do a lot of static qml component instantiation at application start time. This doesn't scale and leads to other artifacts like clear functions to reset the state of a component.
We need to figure out how and where we want to dynamically instantiate components.

A likely candidate is the root "view", or the beginning of every stack, or perhaps even every page on a stack.

cmollekopf moved this task from Backlog to Misc on the Kube board.Aug 25 2017, 8:42 PM
cmollekopf closed this task as Resolved.Jan 10 2018, 11:48 AM
cmollekopf claimed this task.

We dynamically create views as needed. Most views still live for the full lifetime of the application to maintain the views state (selection etc.).
Views like the composer are recreated when a new mail is created.