Several major changes to the layout have been made.
- The chat search bar is moved into the message search layout.
- The Searchbar component is stripped of unused features.
- Some remaining logic that was used to switch main loader components is removed.
- ViewCoordinator.getView gets a "force create" parameter and we no longer preload low-cost views.
NOTE: the option to use a frameless window is available within general settings
Gitlab: #1524 (Frameless Window)
Change-Id: Iec6bdf162cb0335d3ae3d9bd09dd9783991a4a57
Previously, managed views were always stored in a dictionary using non-unique keys. This commit adds a method to the ViewManager component allowing for automatic unique key generation if the base key (QML component path) is the same. This is used for dialogs because we need to possibly open nested modal dialogs.
Gitlab: #1367
Change-Id: I94e0ef0e0ae79689445be0409dd902dc74554e43
Setting an account to migrating is asynchronous. So the status
of the account should be checked via dedicated signals and not
just at the startup, else the migration view is not shown.
Also removing two accounts to migrate wasn't working correctly.
Change-Id: I0bb716982ec5fe76aaba3ad4cb6f47b1ef0aa710
GitLab: #1062
Reverts accidental rebase issues in f6f9034 (Patchset 24 -> 25). Fixes view management during last account deletion and first account creation.
Gitlab: #902
Change-Id: Ieacf816ef9a30e27973115dc70d029106b72bb07
This commit simplifies the view coordinator and restructures the main view stack to not include a split view.
This removes workaround logic for single pane view support that was previously in the view coordinator.
The main view is now a stack that may contain both single and dual pane views.
The ListSelectionView further specializes DualPaneView to add an index-based or custom selection mechanism.
Gitlab: #902
Change-Id: I81c9fe579b95c8d4774c3e491a16d7600323c40c
This prevents a bug when loading into the call view before having loaded the conversation view at least once, can prevent the call action bar from displaying.
Gitlab: #1002
Change-Id: I1c9e3debc0341630b3ca104bfbdfa71339918e6b
The call-view shouldn't take priority, or be displayed at all while in these views under the current design.
Gitlab: #1003
Change-Id: I5e9ae140c11dc13c3b44014007e41857d528a49d
Introduces the ViewCoordinator component to promote dynamic view loading and reduce coupling between components.
The following objects are now created and destroyed as needed:
- SettingsView
- WizardView
- dialogs
Further refactoring will be required in order to do the same with the ConversationView, which now parents the ChatView and the CallStackView.
Gitlab: #897
Change-Id: Ice6a0c133e62e1e0c8d7fb99ec2c41234c049b59