Commit Graph

644 Commits

Author SHA1 Message Date
Sale Djenic b3f8af8e06 refactor(@desktop/general): qml code referring to the old code base commented out
Qml code referring to the old code base commented out, but not deleted,
due to easier refactoring the rest of the app.
2022-02-01 11:42:42 +01:00
Alexandra Betouni 336f90a60f feat(desktop/wallet) Removed dynamic scoping from wallet
Removed all dynamic scoping parts in wallet section plus

- Renamed Config to Global and added more functions there
- Moved changeAppSectionBySectionType function to Global
  and updated all places where is used to call it from
  Global instead
- Moved openLink function to Global and updated all places
  where is used to call it from Global instead
- Moved errorSound to Global, introduced playErrorSound
  function  and updated all places where is used to call
  this function from Global instead

Closes #4245
2022-02-01 11:38:27 +01:00
Sale Djenic 3f50ab26b8 refactor(general): qml cleaning
- Selecting `currentIndex` based on the children placed in the `StackLayout`
component with id `appView` is sorted out since we were referring to the wrong
indexes there in case of walletv2, node and community sections.
- Places which call `Utils.getAppSectionIndex` are updated since we don't have
that method any more.
- Some parts which are not refactored yet are commented.
2022-02-01 11:33:06 +01:00
Sale Djenic 6e3b065d34 refactor(@desktop/general): app sections handled within main module 2022-02-01 11:32:28 +01:00
Alexandra Betouni 426c116bac refactor(desktop) Made shared a QML module
Use it as import shared 1.0, import shared.controls 1.0
etc instead of import "../../../shared"

Closes #3934
2021-10-27 18:05:45 -04:00
Pascal Precht 5fd317a6e1 fix(GroupChatPopup): fix ui elements
This corrects the call to action button in the modal footer
as well as the "no friends" rectangle, which was wrongly rendered.
2021-10-27 11:50:26 -04:00
Pascal Precht 8617c70742 refactor: remove AccountSelector and replace with StatusAccountSelector 2021-10-27 11:48:43 -04:00
Pascal Precht a12d047d77 refactor: replace StatusRadioButtonRow with RadioButtonSelector
This does a couple of things:

- It remove StatusRadioButton row from ui/shared/status
- Introduces RadioButtonSelector in ui/shared/controls instead
- That component is then built with StatusQ
2021-10-27 11:47:27 -04:00
Pascal Precht 4bf23b3048 refactor: replace `StatusCategoryButton` with StatusQ component 2021-10-27 11:29:02 -04:00
Pascal Precht 92320ffb1c refactor(StatusChatCommandsPopup): use StatusQ StatusChatCommandButton 2021-10-27 11:26:41 -04:00
Pascal Precht 72b46c3b94 refactor: remove/replace StatusContextMenuButton with StatusQ components 2021-10-27 09:52:40 -04:00
Alexandra Betouni 22429689e3 refactor(desktop/chat) Cleaning up panels 2021-10-26 16:16:37 -04:00
Khushboo Mehta be7a56cc27 refactor: replace all the StatusImageIdenticon with StatusQ's StatusSmartIdenticon
closes  #3848
2021-10-26 19:23:33 +02:00
Khushboo Mehta 7114240e72 refactor: Replace and remove StatusRoundButton under ui/shared/status
closes #3898
2021-10-26 18:58:16 +02:00
Pascal Precht 2db77fa31c refactor: replace StatusIcon and StatusLoadingIndicator with StatusQ components 2021-10-26 10:47:47 -04:00
Pascal Precht cbbbedcc79 cleanup: remove legacy `StatusCheckbox` 2021-10-26 10:47:16 -04:00
Pascal Precht f3f5826c51 refactor(ui/shared): replace legacy StatusButton with StatusQ button 2021-10-26 16:07:56 +02:00
Khushboo Mehta 173943f1be refactor: replace StatusIdenticon with StatusSmartIdenticon
closes #3882
2021-10-26 09:30:18 -04:00
Khushboo Mehta 781f86bd60 refactor: Remove and update usage of StatusSlider to its StausQ Component
closes #3896
2021-10-26 09:16:36 -04:00
Khushboo Mehta ef4934cee4 refactor: Replace usage of StatusRadioButton under ui/shared to its corresponding StatusQ component
closes #3897
2021-10-26 14:37:15 +02:00
Khushboo Mehta d12aaec87e refactor: Remove and replace StatusSwitch from ui/shared/status 2021-10-26 14:33:55 +02:00
Khushboo Mehta e97f1c5e37 refactor: remove unsed component 2021-10-26 14:33:55 +02:00
Khushboo Mehta 14b49b800a refactor: remove StatusIconButton from ui/shared/status
fixes #3832
2021-10-26 08:27:11 -04:00
¨Anthony a715c6b62e refactor(@desktop/ens): Keep only one ens view
Once refactoring with module this should probably be attached to main
or to something common to all module since it is accessed in low level part
of the app accross multiple section
2021-10-26 08:15:36 -04:00
Khushboo Mehta b59e4c0b93 refactor: remove StatusToolTip.qml from ui/shared/status
Updated path to use StatusQ StatusToolTip.

closes #3819
2021-10-26 13:37:09 +02:00
Pascal Precht 72e9a31b30 refactor(AddressRequiredValidator): use StatusQ components instead of legacy ones 2021-10-21 09:22:35 -04:00
Alexandra Betouni 9cc361c40a refactor(desktop/chat) Moving chat to new architecture
Closes #3710
2021-10-20 15:29:38 -04:00
Khushboo Mehta d8c388c9b8 refactor: Remove StatusLetterIdenticon from ui/shared/status and use existing one from StatusQ
closes #3845
2021-10-18 17:05:38 -04:00
B.Melnik e853eaa3ec chore(ForTests): Add objectName's for tests 2021-10-18 14:04:44 -04:00
Pascal Precht 166118d49c fix(@desktop/profile): make profile image work again
There is a bug in the store property accessed for the profile image.
This commit corrects it. It also ensures that the image source used in the
`ImageLoader` component is correct.
2021-10-18 14:00:09 -04:00
Pascal Precht 3a0c29909e fix(ModalPopup): use correct path for icon 2021-10-14 12:51:27 -04:00
Pascal Precht 3cee9e0c40 refactor: move `UserStatusContextMenu` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 3fd6279078 refactor: move `UnblockContactConfirmationDialog` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 4d8fb4e2d6 refactor: move `TransactionStackView` to ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht 88049eac49 refactor: move `TransactionSigner` to ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht 94cea6d741 refactor: move `TransactionPreview` to ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht b3fefb07e4 refactor: move `TransactionFormGroup` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 06aa0d4967 refactor: move `ToastMessage` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 87ea584b62 refactor: move `Timer` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht e598df1d1e refactor: move `TextWithLabel` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht ac40022a93 chore: remove `TertiaryButton` 2021-10-14 12:51:27 -04:00
Pascal Precht e6df5c8b12 refactor: move `StyledTextEdit` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht cc0de31399 Revert "chore: remove `StyledTextEdit`"
This reverts commit 58619505389b70fa91210e1b45d7d58fbef6ed45.
2021-10-14 12:51:27 -04:00
Pascal Precht 0b302c08a3 refactor: move `StyledTextField` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht ef493a0c6c chore: remove `StyledTextEdit` 2021-10-14 12:51:27 -04:00
Pascal Precht a13c9d6675 refactor: move `StyledTextArea` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 61ccf9c757 refactor: move `StyledText` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 5356ca3f93 chore: remove `StyledTArea` 2021-10-14 12:51:27 -04:00
Pascal Precht e57454d631 refactor: move `StyledButton` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht ed73651db8 refactor: move `SplitViewHandle` and `StatusTabButton` to ui/shared/panels|controls respectively 2021-10-14 12:51:27 -04:00