Skip to content
Snippets Groups Projects
  1. Oct 03, 2023
    • Andreas Traczyk's avatar
      viewmanager: allow creating more than 1 instance of a view · 100756b0
      Andreas Traczyk authored
      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
      100756b0
  2. Jul 11, 2023
  3. Apr 14, 2023
  4. Apr 07, 2023
    • Sébastien Blin's avatar
      migration: avoid race conditions for account status · 91163b8b
      Sébastien Blin authored
      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
      91163b8b
  5. Mar 22, 2023
    • Andreas Traczyk's avatar
      mainapplication: fix spoiled rebase · 0c949991
      Andreas Traczyk authored
      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
      0c949991
  6. Mar 10, 2023
    • Andreas Traczyk's avatar
      misc: save split view states · 9ff32433
      Andreas Traczyk authored
      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
      9ff32433
  7. Feb 27, 2023
  8. Feb 17, 2023
    • Andreas Traczyk's avatar
      mainapp: dynamically load views · 14ae0006
      Andreas Traczyk authored
      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
      14ae0006
Loading