Commit Graph

2296 Commits

Author SHA1 Message Date
¨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 59109e1318 fix: make `getLinkStyle` work again
Probably slipped through in the refactor: `getLinkStyle` was defined
in to places, was probably meant to live only in `Utils`.

In addition, it expected a `wrapper` expression which wasn't defined.
This commit fixes it by removing the second declaration of that function
and passing a third parameter to the one defined in `Utils`.
2021-10-25 11:25:38 +02:00
Pascal Precht 193b42ed54 fix(ActivityChannelBadgePanel): ensure loading badge components works
QML is complaining that it can't assign the types to `sourceComponent`,
so this commit wraps them in `Component` types to mitigate that.
2021-10-25 11:25:27 +02:00
Pascal Precht a95348b289 fix(ActivityCenterMessageComponentView): ensure popups and model expressions are working
Those most likely broke as part of the refactor.
2021-10-25 11:25:11 +02:00
Anastasiya S 056d7815a4 chore(BeforeGetStartedModal.qml): add object names for testing purposes 2021-10-22 12:32:49 -04:00
Pascal Precht a8adc668e2 fix(ConfirmAppRestartModal): correct button type 2021-10-21 09:22:35 -04:00
Pascal Precht 419c4e8cbd fix(ChatRequestMessage): add missing Theme import 2021-10-21 09:22:35 -04:00
Pascal Precht e91a003806 chore: remove unused `CollectibleModal`
This one doesn't exist in Wallet v2 anymore
2021-10-21 09:22:35 -04:00
Pascal Precht 7f1b62fe32 refactor(ActivityCenterTopBar): make use of StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht 845640bd13 refactor(ActivityCenter): use StatusButton from StatusQ 2021-10-21 09:22:35 -04:00
Pascal Precht cf1fc38304 refactor(ChatRequestMessage): use StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht 04523a0e85 refactor(SignTransactionModal): make use of StatusModal and other StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht 72e9a31b30 refactor(AddressRequiredValidator): use StatusQ components instead of legacy ones 2021-10-21 09:22:35 -04:00
Pascal Precht 85065b8d33 refactor(ChatCommandModal): use StatusModal instead of ModalPopup 2021-10-21 09:22:35 -04:00
Pascal Precht 0739f78388 refactor(InvitationBubble): make use of StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht 2d89a815f4 refactor(SelectAccountModal): use StatusQ components to build modal 2021-10-21 09:22:35 -04:00
Pascal Precht 1de75c514e refactor(LinksMessage): use StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht 37861bf853 refactor(AccessExistingCommunityPopup): use StatusQ components to create components 2021-10-21 09:22:35 -04:00
Pascal Precht d2232cd5c2 refactor(BackupCommunityBanner): use StatusQ components in banner 2021-10-21 09:22:35 -04:00
Pascal Precht 572c039a7d cleanup: remove unused shared import in community components 2021-10-21 09:22:35 -04:00
Pascal Precht 414a933263 refactor(CommunityWelcomeBanner): use StatusQ StatusButton and others 2021-10-21 09:22:35 -04:00
Pascal Precht f86a55f0b1 refactor(EmptyView): use StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht b3883f9b47 refactor(NicknamePopup): use StatusModal and StatusButton from StatusQ 2021-10-21 09:22:35 -04:00
Pascal Precht 20ac29c6c4 refactor(PinnedMessagePopup): use StatusQ StatusButton 2021-10-21 09:22:35 -04:00
Pascal Precht f244de248c refactor(ContactRequestPopup): use StatusQ StatusButton 2021-10-21 09:22:35 -04:00
Pascal Precht ffe072a90d refactor(PublicChatPopup): make use of StatusQ StatusButton 2021-10-21 09:22:35 -04:00
Pascal Precht a87568e7c2 refactor(RenameGroupPopup): use StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht ce792a1300 refactor(ChooseBrowserPopup): use StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht 33bc29961a refactor(@desktop/onboarding): use StatusQ StatusButton 2021-10-21 09:22:35 -04:00
Pascal Precht 6db7b5be44 refactor(@desktop/wallet): replace legacy StatusButton with StatusQ StatusButton 2021-10-21 09:22:35 -04:00
Pascal Precht 44e43350f1 refactor(@desktop/profile): use StatusQ StatusButton 2021-10-21 09:22:35 -04:00
Pascal Precht 684d0b30b6 refactor(@desktop/browser): use StatusQ controls in browser module 2021-10-21 09:22:35 -04:00
Pascal Precht ecec858594 refactor(Browser/FavoritesBar): use StatusQ StatusModal and StatusButton 2021-10-21 09:22:35 -04:00
Pascal Precht 48bb73be3a chore: bump StatusQ to v0.13.0 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 78414b9c15 refactor(@desktop/walletv2): clean up account related modals 2021-10-18 14:01:33 -04:00
Pascal Precht 6b5db40c47 refactor(@desktop/walletv2): make sign phrase modal a StatusModal
This originated as part of the refactor being done for https://github.com/status-im/status-desktop/issues/3831
2021-10-18 14:01:05 -04:00
Pascal Precht 20af5435a5 fix(@desktop/profile): fix bug in switch buttons for privacy settings
This bug was introduced with the profile refactor to use stores. Due to
copy and paste, the wrong expression is used in the settings to display chat
images. This commit corrects that.
2021-10-18 14:00:30 -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
B.Melnik 502973c1fb chore: Add highlighting for StatusQ module 2021-10-18 13:50:08 -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
Pascal Precht 705d52aa9b refactor: move `SeparatorWithIcon` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 638e91717e refactor: move `Separator` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 0dbac9fc93 refactor: move `SendToContractWarning` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht af4b165f99 refactor: move `Select` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 916949ece8 refactor: move `SeedPhraseTextArea` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 61292a2661 refactor: move `SearchResults` to ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht 4bb4708528 refactor: move `SearchBox` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 322a071aa3 refactor: move `SVGImage` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 4003f30d68 refactor: move `RoundedImage to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 273f0f8961 refactor: move `RoundedIcon` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 37e71ca431 refactor: move `RecipientSelector` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht fa3adb30e4 refactor: move `PopupMenu` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht a78ac5687b refactor: move `NotificationWindow` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht e14616ee57 refactor: move `NoFriendsRectangle` to ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht 3ca3e53a0e refactor: move `ModuleWarning` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht cbfe90947e refactor: move `ModalPopup` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 86a57a308b refactor: move `LabelValueRow` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 25421facbf refactor: move `InviteFriendsPopup` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht bdc7c799d2 refactor: move `Input` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht f20ec49dfb refactor: move `ImageLoader` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht c74e00379d refactor: move `ImageCropperModal` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 2e30e1e84e refactor: move `ImageCropper` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 9ddd6ca3d9 chore: remove `Identicon` component 2021-10-14 12:51:27 -04:00
Pascal Precht 92a153fee5 refactor: move `GlossaryEntry` and `GlossaryLetter` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht f6f46cabbb refactor: move `GasValidator` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 1897f74552 refactor: move `GasSelectorButton` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 1444f9ee5c refactor: move `GasSelector` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht ce3ae8f2f2 refactor: move `FormGroup` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 4ed2f6574a refactor: move `ExistingContacts` into ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht c6053c6ec5 refactor: move `EnsResolver` into ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht 4c5d6094ba refactor: move `DownloadModal` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 549fa8712d refactor: move `CropCornerRectangle` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht dc81cda66c refactor: move `CopyToClipboardButton` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 1f8b4563e5 refactor: move `ContactsListAndSearch` into ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 5d05b415ba refactor: move view and panels components into controls if they belong there 2021-10-14 12:51:27 -04:00
Pascal Precht 260ac75ca4 refactor: move `ContactSelector` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht ae31f7e1cb refactor: move `ConfirmationDialog` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 3231ce20d3 chore: remove `ColorSelector`
This component doesn't seem to be used anywhere
2021-10-14 12:51:27 -04:00
Pascal Precht 9fbf1587e1 refactor: move `BlockContactConfirmationDialog` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 0a9e4360ee refactor: move `BalanceValidator` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 5332236e7a refactor: move `AssetSelector` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 37d9cc1da2 refactor: move `AssetAndAmountInput` to ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht 263d3ff9d9 refactor: move `AddressSourceSelector` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht bd6136759a refactor: move `AddressRequiredValidator` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht fd7edd1b56 refactor: move `AddressInput` into ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht 00a61daabd refactor: move `Address` into ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 2d47223e1c refactor: move `AccountSelector` into ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht e2f4c99981 fix(StatusEmojiSection): use correct twemoji asset path 2021-10-14 12:50:42 -04:00
Pascal Precht 7e9570c83e fix(PrivacyView): remove chevrons from items where not needed 2021-10-14 11:05:37 -04:00
Pascal Precht 4e8f2303e6 refactor(@desktop/profile): introduce new QML and store structure in profile section
Closes #3712
2021-10-14 09:29:05 -04:00
¨Anthony 4c55ad26bb fix(@desktop/settings): Fix precision of volume
Also move soundtrack in assets and reuse audio component
2021-10-13 14:26:04 -04:00
Anastasiya S e68d06462d fix/ui/onboardingGenKeyModal.qml: fix height by design 2021-10-13 14:07:49 -04:00
Khushboo Mehta ee5fef7dda feat(@desktop/onboarding): refactor/restructure ui/onboarding to new architecture
closes #3799
2021-10-13 14:02:06 -04:00
Khushboo Mehta 80de3f75eb fix(@desktop/wallet): move QML Wallet section to new architecture
fixes #3714
2021-10-13 13:53:01 -04:00
Pascal Precht 7433bbc785
fix: fix broken import version that crashed desktop app 2021-10-08 14:26:46 +02:00
Pascal Precht b8ecc3e0bf fix(Communities): preserve channel position after editing
Turns out we've been accidentally resetting the channel's `position`
property to `0` by not sending it over to status-lib's underlying
`editCommunityChat` API.

This fixes it by using a newer version of status-lib which supports
the `position` paramter in `editCommunityChat` and then sending that
value along from the edit channel popup.

Fixes #3672
2021-10-08 13:33:42 +02:00
Pascal Precht abf2a46dc9 fix(@desktop/timeline): add missing import that breaks app 2021-10-07 11:28:46 +02:00
Pascal Precht d788d22aa0 refactor(@desktop/timeline): use new file and store architecture
This refactors the timeline module to follow the stores/views/panel/popups
architecture. It extracts all usages of *Model context variables with
store instance equivalents and replaces API calls on such model instances
with store proxy APIs.

Closes #3713
2021-10-06 15:47:26 -04:00
Pascal Precht 6379b17d95 refactor(@desktop/node-management): move to stores architecture
This refactors the node management module to use the stores/views/popups
architecture.

Closes #3711
2021-10-06 15:46:10 -04:00
Michele Balistreri 122314c060 use StatusQ components 2021-10-06 08:32:32 -04:00
Michele Balistreri 879550d332 rename Keycard flow 2021-10-06 08:32:32 -04:00
Michele Balistreri 101e77cc14 continue flow implementation 2021-10-06 08:32:32 -04:00
Michele Balistreri ce1be698a6 handle signals and card states 2021-10-06 08:32:32 -04:00
Michele Balistreri 7d8be3fc40 start implementing keycard onboarding flow 2021-10-06 08:32:32 -04:00
Michele Balistreri 8f9d300312 add keycard-go to makefile 2021-10-06 08:32:32 -04:00
Michele Balistreri 1e4dc0acbf test connection/disconnection events 2021-10-06 08:32:32 -04:00
Michele Balistreri 303e40bdcf card connection prompt 2021-10-06 08:32:32 -04:00
Michele Balistreri 2a027d44d0 add insert card dialog 2021-10-06 08:32:32 -04:00
Michele Balistreri 3d46e62345 draft authentication dialogs 2021-10-06 08:32:32 -04:00
Michele Balistreri 21b20fbc38 add feature switch for Keycard 2021-10-06 08:32:32 -04:00
Pascal Precht 71ab9cebcf fix(ChatLayout): ensure channel name is vertically centered
This was originally reported in https://github.com/status-im/StatusQ/issues/427, however it turns out
that the underlying component already handles this case correctly.

The reason the channel name is not vertically centered inside Status Desktop,
is because the returned value of `XSS.filterXss()` for the `subTitle` is never an empty string.

Trimming the return value fixes this.
2021-10-05 16:32:07 -04:00
Khushboo Mehta 77bde47de0 \refactor: move QML Browser section to new architecture
closes #3709
2021-10-05 16:29:18 -04:00
Richard Ramos 2ccd7420c0 feat: wakuv2 rendezvous 2021-10-05 16:15:29 -04:00
Richard Ramos a5d48a20b3 feat: wakuV2 light client mode 2021-10-05 16:15:29 -04:00
Richard Ramos b783e9a884 temporarily disable custom mailservers 2021-10-05 16:15:29 -04:00
Anthony Laibe 22e8c8a7ff fix(@desktop/profile): Split account and profile settings
Avoid to reveal which alias own which settings. The only settings
pre-login available is the storeToKeychain

Ideally we should also encrypt the profile settings
2021-10-01 10:29:05 -04:00
Iuri Matias 9711c20949 bump status-q 2021-09-29 15:29:29 -04:00
Khushboo Mehta 8ff967578d feat(@desktop/chat): Added support for copy or click on link from channel descriptions
fixes #3517
2021-09-29 15:29:29 -04:00
Pascal Precht 2e68be238c fix(Communities): make channel popup validation work again
This was a reference error as there's no `errors` object on `StatusValidator`.
When accessing errors exposed by `StatusInput` we need to dot into the component
reference.
2021-09-29 13:11:53 -04:00
B.Melnik 4b73d68490 fix(ui): Resolve conflict between click on text message and click on message
Closes: #3593
2021-09-28 15:37:06 -04:00
¨Anthony e0c5e9b9b0 fix(@desktop/wallet): gas error position 2021-09-28 15:36:11 -04:00
Eric Mastro 5b63bc14bc fix(ui): Chat commands popup hide on second click
Partially fixes #3558.
2021-09-28 15:35:47 -04:00
Eric Mastro b8d4192c02 fix(ui): User presence popup hide on second click
Partially fixes #3558.
2021-09-28 15:35:47 -04:00
Eric Mastro 1ee3bba598 fix(ui): new chat menu popup hide on second click
Partially fixes #3558.
2021-09-28 15:35:47 -04:00
Michael Bradley, Jr b94b932572 refactor(@desktop/profile): don't display footer or chat settings in profile popup for own profile
Closes #3462.
2021-09-28 15:35:28 -04:00
Alexandra Betouni 7ac4eba9e2 fix(desktop/chat) fixed position view at index
Position view at chosen message when coming
from either search or notifications was not
working properly, especially when coming from
another channel (eg from desktop to test).
Added timer to delay positioning action until
the messages model is almost fully loaded so
that the view knows all indexes

Depends on #3562
Closes #3592, #3683
2021-09-28 15:32:25 -04:00
Alexandra Betouni 4ee21ada05 feat(desktop) Added image function in Style
Introduced Style.svg() Style.png() Style.emoji() and
Style.icon() in Style.qml. Those should be used to
set the source in Images instead of using relative
paths. Usage:
Image {
   source: Style.svg("check)
   ....

Also moved all Singletons inside a new "utils"
folder and made it a QML module, to use
import utils 1.0 instead of relative paths

Closes #3678
2021-09-28 15:28:00 -04:00