Commit Graph

1833 Commits

Author SHA1 Message Date
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
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
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
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 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 e6df5c8b12 refactor: move `StyledTextEdit` to ui/shared/controls 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 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 ed73651db8 refactor: move `SplitViewHandle` and `StatusTabButton` to ui/shared/panels|controls respectively 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 916949ece8 refactor: move `SeedPhraseTextArea` to ui/shared/controls 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 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 c74e00379d refactor: move `ImageCropperModal` to ui/shared/popups 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 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 ae31f7e1cb refactor: move `ConfirmationDialog` to ui/shared/popups 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 37d9cc1da2 refactor: move `AssetAndAmountInput` to 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 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 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
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 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
Anthony Laibe 336ea968de refactor: browser use object 2021-09-28 15:25:57 -04:00
Anthony Laibe 1cea69b331 feat(@desktop/wallet2): Toggle network 2021-09-28 15:20:43 -04:00
Khushboo Mehta 6e3ac7d5dc fix(@desktop/chat): Remember the last tab (in nav bar) opened when status app is reopened
With this fix after a restart the tab which the user was last one (chat, community, wallet, browser, settings) will be the active one.
If the user was on the timeline tab when the app is closed, the app will be launched with the chat tab.

fixes #3559
2021-09-28 15:17:56 -04:00
Andrei Smirnov b3d551eeb2 fix(@desktop/mentions): editing mentions 2021-09-28 14:20:19 -04:00
Alexandra Betouni 16d6196aea feat(desktop/searchMessage) Updating highlight animation
Added animation to highlight selected message
from search popup. Currenly when a message is clicked
from the search results, the user is navigated to
that message but it's not clear where is the
message in the screen

Closes #3562
2021-09-24 16:15:42 -04:00
Anthony Laibe 50ad0f768e fix(@desktop/chat): Open popup on click
fixes #3670
2021-09-23 13:37:01 -04:00
Khushboo Mehta 3e8313d176 fix(@desktop/chat): Fix small UI issues
1. Removed back button from pinned popup
2. Added border to user identifier in members list

fixes #3552
2021-09-23 13:21:43 -04:00
Sale Djenic f54f3a61bf fix(@desktop/chat): removing contact results in the same contact's contact request showing up again
Fixes: #3418
2021-09-22 15:27:52 -04:00
Khushboo Mehta d840ecab12 fix(@desktop/settings): Navbar icon shows a profile icon instead of settings icon
fixes #3615
2021-09-22 15:06:08 -04:00
Alexandra Betouni efbc8073e1 feat(wallet2) Implementing new architecture proposal
Introducing stores, panels, views and controls in
order to implement the new architecture proposal in
WalletV2

Closes #3479
2021-09-22 13:48:39 -04:00
Khushboo Mehta 2381ad08cd fix(@desktop/chat): Online/offline labels are hard to read in darkmode
fixes #3550
2021-09-21 14:24:09 -04:00
Khushboo Mehta bd9ae45ae0 fix(@desktop/chat): Create separate chatInput for each conversation
Moved the statusChatInput to the repeater in stackview so that each conversation has its own separate textInput area which maintains its own state

fixes #1351
2021-09-21 14:23:11 -04:00
Alexandra Betouni 2b408fe6cd fix(desktop/chatInput) mentions were misused
formattedPlainTextFilter was not reset when suggestion
box was closed causing the insertMention function to be
called again even thought there was no mention in the
chat input

Closes #3535
2021-09-21 14:22:24 -04:00
Alexandra Betouni 63b2bf703c fix(desktop/membersList) hide scrollbar when inactive
The scrollbar should only be visible when scrolling
through the members list

Closes #3557
2021-09-21 14:17:25 -04:00
Khushboo Mehta 75f00e5de0 fix(@desktop/chat): Last message in chat is hidden under the chat box
Reduced the gap between list view and ChatBox as per design.
Added logic to scroll to the end of list on the component.onCompleted

fixes #3514
2021-09-21 14:01:06 -04:00
Eric Mastro 361c902f37 fix(chat): Re-position “retry” link
Fixes #3606.

The “retry” link for failed messages was not aligned correctly in the light theme. This was due to setting the `verticalCenter` as well as `anchors.top` in some situations. `verticalCenter` has been removed in favour of setting the top and bottom anchors.
2021-09-21 10:11:39 -04:00
Eric Mastro 233d1f4da4 fix: block/unblock contacts not persisting
Fixes: #3473.

Sometimes when blocking users and changes channels, blocked user messages would still appear.

This PR fixes the issue by toggling a `hide` property on  messages from a contact when that contact is blocked or unblocked. Previously, the messages were only removed from the view when the contact was blocked, but when the view was reloaded, that state was not tracked correctly.
2021-09-21 09:53:15 -04:00