Commit Graph

12 Commits

Author SHA1 Message Date
35482fa92f misc: implement frameless window
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
2024-01-26 18:14:55 -05:00
84150e8977 misc: bump copyright to 2024
Change-Id: I8d5f968fbedbc884c91416246049a0ef4cd652eb
2024-01-03 09:54:49 -05:00
100756b02d viewmanager: allow creating more than 1 instance of a view
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
2023-10-03 15:38:39 -04:00
8fd7c70d1f wizardview: manage through MainView
Change-Id: I083d293784e07f4fcc099e60ada84e433a1b2fa0
GitLab: #1216
2023-07-11 08:05:56 -04:00
c052c28f4d misc: format all QML files
Gitlab: #1059
Change-Id: Ia973ee1f8666bdd8597d6cbb47a87534ac4358c8
2023-04-14 09:06:44 -04:00
91163b8bed migration: avoid race conditions for account status
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
2023-04-07 09:44:11 -04:00
0c9499910c mainapplication: fix spoiled rebase
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
2023-03-22 16:15:57 -04:00
9ff32433cf misc: save split view states
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
2023-03-10 16:51:06 -05:00
2c5dfd85d5 mainview: preload the conversation view
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
2023-02-27 11:02:48 -05:00
708e53589e views: inhibit the conversation-view when priority views are present
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
2023-02-27 11:02:48 -05:00
f808d42687 misc: move viewmanager into a separate file
Change-Id: Id5659ede0fc870926b4b627a5bbe12c67d4f9224
2023-02-27 11:02:48 -05:00
14ae000686 mainapp: dynamically load views
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
2023-02-17 13:59:28 -05:00