Commit Graph

2308 Commits

Author SHA1 Message Date
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
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
Richard Ramos 176b559877 fix: message history issues
- Display loading indicator on login when mailserver messages are requested
- Fix bug where the mailserver that's selected as soon as you login is disconnected while being still in the process of connecting instead of waiting until 10s have passed to try connecting to a different mailserver
- Use status-go version that fixes an issue fetching mailserver messages when more than 999 messages are being verified if they're in the cache
2021-09-28 14:55:37 -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
Sale Djenic e66f95c436 fix(@desktop/chat): scrolling of the chat with code blocks and reactions is repetitive
Fixes: #3594
2021-09-24 16:12:46 -04:00
Sale Djenic faaaa24f39 fix(@desktop/chat): abnormal CPU usage and slowness
Fixes: #3626
2021-09-24 15:53:51 -04:00
Iuri Matias 633526abfa bump status-q 2021-09-23 15:33:07 -04:00
Eric Mastro 3dcf9cc38c fix(chat): GIF widget UI bugs
Fixes: #3564.

Several UI bug fixes have been made for the gif widget:

1. Star now only appears once the gif is hovered
2. Default hover star colour is “grey”
3. Once the star is hovered, the star turns yellow
4. If the gif is favourited, the star fills in yellow
5. Removed square border around the gif
6. Added invisible padding around the star to increase the mouse surface area for hover/click
7. Added tooltip to the star for adding/removing from favourites

NOTE:
1. An initial attempt at changing star state based on gif thumb hover and star hover proved unsuccessful. Changing visibility of the star had to depend on both the hover state of the thumb AND the star — relying on only the thumb hover caused a flicker.
2. Relying on the local hover state of the star and the thumb hover state caused inconsistencies where the hover state of the star would become true after not being hovered. I’m still unsure as to why this was happening. A workaround was to create a signal to a HOC as to the last hovered gif id. From there, we could rely on matching `model.id` to the last hovered gif id in the HOC.
2021-09-23 15:33:07 -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
Anthony Laibe 2322f501fa fix(@desktop/members): Fix missing app settings 2021-09-22 15:06:45 -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
Michael Bradley, Jr 9e742e4b4a feat(@desktop/settings): set "Just @mentions" as the new default in Notifications preferences
Closes #3532.
2021-09-21 14:29:14 -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
Sale Djenic c392a473b9 fix(@desktop/general): fix the scenarios for closing the app on Mac (minimise on close On / Off)
Fixes: #3378
2021-09-21 10:46:55 -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
Sale Djenic 0c73febf2c fix(@desktop/chat): channel links sends to main public channel instead of a channel in that community
In case clicked channel:
- exists in a community -> the app will switch you to it
- doesn't exist in a community, but exists in the public chat list -> the app
  will switch to `Chat` section and also to the appropriate channel there
- doesn't exist in a community and doesn't exist in the public chat list -> the app
  will switch to `Chat` section and join new channel

Fixes: #3489
2021-09-20 17:34:38 -04:00
Sale Djenic b5e8132859 fix(@desktop/chat): blocked user messages disappear after the user is blocked
Fixes: #3418
2021-09-20 17:17:43 -04:00
Anthony Laibe 712c75f051 fix(@desktop/wallet): Fix backup warning
Also prevent backup warning to be double when we switch wallet 2 to 1
2021-09-20 12:18:16 -04:00
Anthony Laibe 14c4ee6047 fix(@desktop/chat): Reopening gif popup open trending
fixes #3491
2021-09-20 12:11:54 -04:00
Anthony Laibe c5fb6d4853 fix(@desktop/gif): fix background color on dark mode
fixes #3563
2021-09-20 10:41:10 -04:00
Anthony Laibe b2e263bb3a fix(@desktop/settings): reinstate downloadChannelMessagesEnabled config 2021-09-20 10:40:03 -04:00
Anthony Laibe 0135a74993 fix(@desktop/chat): Fix color of my profile button
fixes #3515
2021-09-20 10:39:50 -04:00
Iuri Matias 5e0a3ea318 bump statusq 2021-09-20 10:36:26 -04:00
Pascal Precht 8d283bf07f fix(ContactsColumn): call `itemAt` on statusChatListItems.model instead of delegate
When StatusQ switched to using `DelegateModel` in `StatusChatList` to enable drag and drop,
we lost the API `itemAt` which was previously exposed via the `Repeater` that was aliased as
`chatListItems`.

StatusQ now exposes `statusChatListItems` additionally so we can still access `model.itemAt`
which is used in this commit.

The only reason this is done here though, is because we need to update the profile picture of
contacts when we get a contact changed signal. Ideally, we handle contact changes including the
profile picture entirely in the backend and have it then just rerender the screen (instead of
using a `Connection`).

Fixes #3328
2021-09-20 10:36:26 -04:00
Anthony Laibe 5f95a1fb4f feat(@desktop/chat): Allow to retry when query fail
fixes #3487
2021-09-20 10:21:55 -04:00
Michael Bradley, Jr 6625ae38be feat(desktop/profile): add link in advanced settings so log directory can be opened directly
Closes #3509.
2021-09-20 08:58:19 -04:00
Michael Bradley, Jr 2e9c5047bb fix: in profile popup display Username instead of ENS Username if ENS is not verified
Closes #3496.
2021-09-20 08:57:50 -04:00
Eric Mastro e42b1d249e feat(communities): re-enabled open membership communities
Closes #3410.

Re-enables open membership communities, with necessary changes in the Inivitation Bubble for one-on-one chats.

fix: add/edit communities components not appearing
On add/edit community popup load, some components below the thumbnail image picker were not appearing until the app window was resized. Removing the height of the ScrollView fixed the issue (on mac).

NOTE: this may require windows and linux users to test.
2021-09-20 08:51:58 -04:00
Eric Mastro 9854a49a44 feat(wallet2): introduce saved addresses
Closes #3307.

WalletV2 view can be toggled between normal wallet view and the SavedAddresses view.

Users can load, add, edit, and delete saved addresses.

Favouriting a saved address is out of scope, as is sending to a saved addresses, drilling down in to a saved address, and supporting multiple networks.

Updates components that utilised the StatusMinLengthValidator component to support the changes made to StatusQ.

### Notes
1. Depends on status-go PR https://github.com/status-im/status-go/pull/2356
2. Depends on StatusQ PR https://github.com/status-im/StatusQ/pull/394.

# Conflicts:
#	src/app/wallet/v2/view.nim
#	ui/app/AppLayouts/WalletV2/WalletV2Layout.qml
2021-09-20 08:32:56 -04:00
Richard Ramos 214069cb25 feat: display mailserver interactions 2021-09-17 13:14:01 -04:00
Alexandra Betouni 46bdec6268 fix(desktop/profile) Bug in adding custom network
Network ID is not being displayed when adding a custom network
* Also replaced ModalPopup with StatusModal and other design
  related updates (eg top margins etc) in NewCustomNetworkModal.qml

Closes #3456
2021-09-17 12:58:02 -04:00
Khushboo Mehta 15a1646d4a fix(@desktop/profile): Blocked contacts counter doesn't show actual number
fixes #3421
2021-09-17 12:54:27 -04:00
Alexandra Betouni c030879c18 feat(desktop/wallet2) Adding token view
Initial commit adding token detailed view
as per new design
2021-09-17 12:53:29 -04:00
Sale Djenic 8af104a16e feat(@desktop/onboarding): support (optionally) OS keychain to login password
This feature works for MacOs only, for now.

On login, whether new or already created user may select between options:
"Store" - store password to the Keychain
"Not now" - don't store it now, but ask next time again
"Never" - don't store them ever and don't ask again

Selected preference may be changed later in:
`ProfileSettings > Privacy and security > Store pass to Keychain`

On the next app run, if `Store` was selected, a user will be asked to confirm
his identity using Touch Id in order to log in the app. If any error happens
he will be able to login using password.

Fixes: #2675
2021-09-17 12:45:34 -04:00
Sale Djenic e0c53b7012 refactor(@desktop/general): managing local settings added on the nim side
From now on we are able to access local settings (settings and global settings)
on the nim side, not only through the qml.

This change is required as part of the feature issue-2675.
2021-09-17 12:45:34 -04:00
Eric Mastro 795c0d336c fix(@desktop/chat): add new chat validation error
Translation was missing for "enter-a-valid-chat-key-or-ens-username”.
2021-09-17 10:17:15 -04:00
Eric Mastro dbe9b54326 fix(@desktop/contacts): Double validation for incorrect ENS name
The string stored in the translation had been doubled-up, so when a validation error occurred, the doubled-up string appeared.

The fix removes the currently in use translation.
2021-09-17 10:17:15 -04:00
Khushboo Mehta 2448b710b4 fix(@desktop/chat): Fix for Leave chat is shown instead of Delete confirmation when deleting community channel
fixes #3365
2021-09-17 10:16:57 -04:00
Anthony Laibe 974e53f3cb feat(@desktop/wallet2): Add network select 2021-09-16 17:35:58 -04:00
Anthony Laibe 5ce06a94cc feat(@desktop/chat): download messages
fixes #3508
2021-09-16 16:37:58 -04:00
Richard Ramos dc8294b6bd fix: display current active mailserver
Fixes #3505
2021-09-16 16:29:33 -04:00
Iuri Matias 9d464c7fa8 bump StatusQ and status-lib 2021-09-16 15:39:10 -04:00
Khushboo Mehta b9073919cb feat(@desktop/wallet2): Added traits for the opensea Assets
fixes #3435
2021-09-16 15:39:10 -04:00
Khushboo Mehta 06d7dbed95 feat(@desktop/wallet2): Added new Tab to display Collectibles
New features added :
1. Tab which displays the collection
2. Page which display the details of the NFT

fixes #3306
2021-09-16 15:39:10 -04:00
Alexandra Betouni 24b704f398 feat(desktop/wallet2) Add account with seed modal
Added adding account with seed phrase feature

Closes #3311
2021-09-16 11:43:49 -04:00
Alexandra Betouni 470144db6a feat(desktop/members) Improvements in members list
* The userlist toggle made persistent between restarts
* Members is enabled by default for communities
* Public channels changed title to "last seen"
  instead of "Members"

Closes #3502
2021-09-16 09:46:40 -04:00
Khushboo Mehta d8e669d013 fix(@deaktop/chat): drag & drop to upload a file/picture is not working
Also checked and updated drag and drop feature to work in commmunities

fixes #3495
2021-09-15 16:07:30 -04:00
Richard Ramos 03eed589a9 feat: display logs in node management section 2021-09-15 16:04:28 -04:00
Alexandra Betouni 22994a4a14 feat(desktop/profile) adding password changed modal
Implemented new change password succcess confirmation
popup

Closes #3432
2021-09-15 15:20:33 -04:00
Andrei Smirnov d159c0e61c feat(@desktop/deep-links): integrated deep links with single-instance IPC 2021-09-15 14:30:34 -04:00
Pascal Precht 75b08df03d fix(@desktop/profile): add missing logout confirmation dialog
Closes #3423
2021-09-15 13:31:18 -04:00
Pascal Precht 33d800fcda refactor(ConfirmationDialog): change dialog to `StatusModal` 2021-09-15 13:31:18 -04:00
Andrei Smirnov 10de9fc0c1 Rebased 2021-09-15 12:18:09 -04:00
Pascal Precht 315c4014a7 fix(@desktop/profile): show ENS username in profile page if available
Closes #3424
2021-09-15 06:45:58 -04:00
Pascal Precht 31d63c8f7d fix(@desktop/chat): fix seach input paddings
It's unclear to me why these were off since the latest StatusQ upgrade.

Closes #3396
2021-09-10 14:28:49 -04:00
B.Melnik 92ec298c3d fix(ActivityCenter): Fix reopen popup on bell button click
Closes: #3331
2021-09-10 14:28:04 -04:00
Khushboo Mehta 35e15f7ed0 feat(desktop/wallet): Adding Setttings tab in wallet 2
Added nim api's to get the account signing phrase

fixes #3303
2021-09-10 14:27:33 -04:00
Richard Ramos 285f54dab6 EIP1559 2021-09-10 13:42:19 -04:00
Pascal Precht 40dd69ca80 fix(@desktop/profile): change headline to settings
Fixes #3429

fix(@desktop/profile): change headline to settings

Fixes #3429

rename profile section to settings
2021-09-09 14:52:41 -04:00
Alexandra Betouni 7cfa8272a4 fix(desktop/profile) back seed indication missing
When other than the profile menu was selected

Closes #3457
2021-09-09 14:41:47 -04:00
Alexandra Betouni 6514eb6c5c fix(desktop/wallet2) Updated wallet2 warning text
Also changed icon from wallet to cancel, to indicate
that the feature is incomplete

Closes #3431

fix(desktop/wallet2) Updated wallet2 warning text

Also changed icon from wallet to cancel, to indicate
that the feature is incomplete

Closes #3431

update wallet v2 description
2021-09-09 13:43:16 -04:00
Alexandra Betouni 87d0a87b59 fix(dektop/profile) Back up seed was gone
Brought back back up seed phrase indicator in profile
menu "Privacy and security"

Closes #3433
2021-09-09 13:27:50 -04:00
Iuri Matias f3b8ab4749 bump statusQ 2021-09-08 16:24:51 -04:00
Pascal Precht 84a9b873f7 fix(@desktop/chat): force focus on search input when popup is opened
Closes #3392
2021-09-08 16:24:51 -04:00
Pascal Precht 3536b57e08 fix(@desktop/onboard): don't submit password creation form on enter when invalid
There's a bug where creating a password is possible while having an invalid state
because hitting enter causes the submission without checking the form's validity.

This commit fixes it by only submitting the form when both fields are actually valid.

Closes #3412
2021-09-08 11:42:27 -04:00
Andrei Smirnov aed0be9054 feat(@desktop/chat): editing message in markdown mode 2021-09-07 14:56:48 -04:00
Alexandra Betouni 4272d0bf19 feat(@desktop/wallet2) Updates in AddAccount modal
based on the new concept

* Updates include only adding account with private key,
  seed phrase to be done in a seperate PR

Closes #3310
2021-09-07 14:23:50 -04:00
Iuri Matias a1254606fa add missing comment close 2021-09-07 14:21:09 -04:00
Sale Djenic 7973679926 chore(@desktop/wallet2): added wallet's footer
Removed send/receive/settings buttons from the header.
Wallet's footer and buttons required by the new design are added.
2021-09-07 14:18:14 -04:00
Pascal Precht 8015235eea fix(Communities): ensure community profile doesn't bleed into modal header
Closes #3397
2021-09-07 10:30:58 -04:00
RichΛrd 4295c92deb
fix: invalid variable name in ProfilePopup 2021-09-07 10:30:33 -04:00
Pascal Precht 75c50337b2 fix(Communities): make membership request popup work again 2021-09-07 10:24:26 -04:00
Pascal Precht 4ea80eb248 fix(Communities): fix invite friends modal 2021-09-07 10:24:10 -04:00
Pascal Precht 629ce86076 fix(Communities): ensure communities search works again 2021-09-07 10:23:50 -04:00
Pascal Precht 34707b7298 fix(Communities): make create community categories modal work again
Fixes: #3391
2021-09-07 10:21:39 -04:00
Pascal Precht 52b302aa55 fix(Communities): ensure community profile popup is rendered correctly
Fixes: #3398
2021-09-07 10:21:29 -04:00
Pascal Precht 6e9f14c6ac fix(ProfilePopup): ensure modal is working again
Due to a breaking change in StatusQ, this modal caused a reference error.
This commit fixes it.

Fixes #3400
2021-09-07 10:21:22 -04:00
Pascal Precht 51c4d8c64e fix(Communities): make creating communities work again
This was broken due to a breaking change in StatusQ dependency.

Fixes #3389
2021-09-07 10:21:14 -04:00
Pascal Precht 942965f13b fix(Communities): make creating channels work again
There was a breaking change introduced 8d32c1d933
which caused reference errors in various modals.

This commit fixes the modal to create and edit community channels
by ensuring we're accessing `contentItem` and also only setting
channel data when editing a channel.

Closes #3390
2021-09-07 10:21:06 -04:00
Sale Djenic 5a448abfd5 fix(@desktop/chat): after reaching the top of chat history, unable to scroll down again
InvitationBubble binding loop on height fixed.
Scroll down if you reach the top of the chat is not blocked any more.

Fixes: #3320
2021-09-06 17:00:17 -04:00
Anthony Laibe 6f2dab2e29 feat(@desktop/chat): Hide chat text when the link is only an image
fixes #3366
2021-09-06 16:57:53 -04:00
Iuri Matias 95a3b63adb bump statusq 2021-09-06 16:39:37 -04:00
Sale Djenic a591e91a2e fix(@desktop/general): clicking push notification does expand the app but does not open correct channel/chat
Logic for adding os notifications for Windows and  MacOs added.

Fixes: #2996
2021-09-06 16:39:37 -04:00
Iuri Matias 2efc42bfe8 bump statusq 2021-09-06 14:46:22 -04:00
Khushboo Mehta f02d7faa41 feat(@desktop/wallet2): Added Share Modal
Added new popup to share wallet account details
To-do's:
1. Rounded corners in the QR code
2. Emoji's for the account

fixes #3304
2021-09-06 14:46:22 -04:00
Alexandra Betouni 8d32c1d933 fix(desktop/statusQ) Updated StatusQ HEAD
Also updated all StatusModals to use contentItem
instead of content
2021-09-02 16:23:02 -04:00
Alexandra Betouni c33c7ce45a fix(desktop) Updated .pro file
Updated .pro file to detect and list in QtCreator
all new files automatically
2021-09-02 16:05:59 -04:00
Andrei Smirnov 5ba1b8a13d Addressed PR feedback. 2021-09-02 15:58:13 -04:00
Andrei Smirnov 6b3ba88556 Added app restart confirmation modal 2021-09-02 15:58:13 -04:00
Andrei Smirnov 979fea1cee Bugfixes 2021-09-02 15:58:13 -04:00
Andrei Smirnov f74d1a67a5 fix(@desktop): various UI scaling fixes 2021-09-02 15:58:13 -04:00
Khushboo Mehta 9dd35904ea fix(@desktop/chat) Right click on community member list should show member information
fixes #3162
2021-09-02 14:55:20 -04:00
Pascal Precht 5b674cee5a refactor(ProfileView): use StatusQ components to render profile menu 2021-09-01 11:02:10 +02:00
Pascal Precht eeb1cc2f7a refactor(ProfileModal): replace implementation with StatusQ components
Closes #3319
2021-08-31 14:45:05 -04:00
Andrei Smirnov 68d34e5706 fix(@desktop/chat): edit channel modal to show up-to-date values 2021-08-31 14:33:56 -04:00
Alexandra Betouni 1557996cbc fix(@desktop/chatInput) Pasting text with emoji was invisible
When text from clipboard that contained any emoji was pasted
in the chat input it was becoming invisible

Closes #3291
2021-08-31 14:25:16 -04:00
Sale Djenic 4916b8f552 fix(@desktop/chat): no identicon/profile picture shown and wrong timestamp format in search results
Icons added for messages senders in the search result, also community and chat
icons are colorized now.

Fixes: #3259
2021-08-31 14:23:59 -04:00
Khushboo Mehta f4baf7c738 fix(@desktop/chat): Emoji reaction Menu is incorrect
Added logic to set parent ,x and y positions from the place where the menu is opened

fixes #2385
2021-08-31 13:45:32 -04:00
Alexandra Betouni 8f1ffd96a1 fix(@desktop/chat) members' status circle is not always right
fixed to display online status only if is the current user and
if they have been active in the last 7 minutes. Respective color
is shown depending on if they are in "do not disturb" mode or they
have been active more than 5 minutes ago

Closes #3282
2021-08-31 13:41:22 -04:00
Anthony Laibe c11267c13d fix(@desktop/communities): Fix suggestion for communities 2021-08-31 13:22:26 -04:00
Anthony Laibe 5c4b75ce6a perf(@desktop/chat): Improve performance when big member list
Avoid computation when it is not needed for the suggestion filter

This is quite visible when the member list contains 1000s of members.
It is the case when you load historical message (1 month)
2021-08-31 13:18:20 -04:00
Khushboo Mehta d8817a468e fix(@desktop/chat) Reply to image doest show image in reply box
Added component to show both an image/sticker in the reply area.
Moved some components from app to shared folder so that they can be reused

fixes #3272
2021-08-31 12:14:48 -04:00
Andrei Smirnov 8ae050b642 fix(@desktop/communities): changing contact nickname must be reflected in users list 2021-08-31 12:07:48 -04:00
Richard Ramos efcbb023a6 fix: message when username is locked, and remove preferred username when released 2021-08-31 12:04:03 -04:00
Richard Ramos 80343446ec feat: release ENS names 2021-08-31 12:04:03 -04:00
Pascal Precht ef1140d0a7 chore(deps): update StatusQ to v0.7.0 2021-08-31 12:03:48 -04:00
Alexandra Betouni f47ddbc955 fix(@desktop/chatMembersList) Increased minimum width in chat members list
*Also removed redundant Rectangles

Depends on: https://github.com/status-im/StatusQ/pull/348

Closes #3284
2021-08-27 09:24:23 -04:00
Pascal Precht 118b21543c fix(ChatContextMenu): fix delete chanenl icon which happens to be upside down 2021-08-27 08:53:56 -04:00
Anthony Laibe 9af32a1796 fix(@desktop/chat): Add new dedicated event for sending message 2021-08-26 16:53:38 -04:00
Anthony Laibe d0d4debdb4 fix(@desktop/wallet): Add wallet confirmation modal
For all actions related to the wallet, add a confirmation if the wallet
is not enabled

fixes #3258
2021-08-26 16:46:48 -04:00
Richard Ramos f637067606 fix: code review 2021-08-26 16:38:47 -04:00
Richard Ramos 1969130fad feat: display bloom filter usage 2021-08-26 16:38:47 -04:00
Iuri Matias 033fb3637d bump statusQ 2021-08-26 15:39:39 -04:00
Pascal Precht 88092e4966 feat(Communities): add support for drag reodering community categories 2021-08-26 15:39:39 -04:00
Pascal Precht 4d5716c8c2 fix(Communities): ensure memberlist modal doesn't throw type related warnings 2021-08-26 15:07:19 -04:00
Pascal Precht ee69b4264c fix(Communities): only allow community admins to drag'n'drop chat items 2021-08-26 15:07:09 -04:00
Khushboo Mehta c5474d42fa fix(@desktop/chats) Gifs playing when window is not active
fixes #2391
2021-08-26 15:06:13 -04:00
Pascal Precht fb0cedf9a6 feat(@desktop/chat): allow for entering ENS names manually
This commit enables users to enter fully qualified ENS names manually
and marking them as mentions, which are then later being replaced with
pubkeys.

The changes do not prevent users from entering ENS names that don't exist.

There's also a fix that ensure prepended "@" signs are removed from the
items selected in the suggestions box.

Closes #3149
2021-08-26 15:05:29 -04:00
Khushboo Mehta b69ef24e0e feature(@desktop/onboarding): Right click doesnt paste into password field
Added a right click context menu to let the user paste from the clipboard to TextField of the password modal.

fixes #2702
2021-08-26 15:02:37 -04:00
Khushboo Mehta 0531d71e6c fix(@desktop/chat): Text formatting menu should not disappear when performing actions
Qt's Menu closes the menu when action is triggered and to overcome this default behaviour added a custom event to be called when action is clicked.
Fixed some formatting related bugs.

fixes #2349
2021-08-26 15:00:34 -04:00
B.Melnik a362efecf4 feat(Communities): implement drag and drop to reorder category channels
Closes: #2776
2021-08-26 10:53:57 +02:00
Richard Ramos db3b7ecfd9 feat: Version Updating
Fixes #1290
2021-08-24 16:56:55 -04:00
Andrei Smirnov 07364c16cf fix(@desktop/chat): display suggestions in ContactsColumn 2021-08-24 15:35:58 -04:00
Andrei Smirnov 20bf19983f fix(@desktop/chat): channel suggestions are not being displayed 2021-08-24 15:35:58 -04:00
Anthony Laibe 94f6041ec5 feat(@desktop/chat): Align chat member and suggestion
Removed all computation of suggestion from qml
Reuse user list in order to populate the suggestion box

As a side effect, the suggestion are not serialized from qml to
nim

Remove InputArea which seems not used anymore
2021-08-24 14:56:20 -04:00
Pascal Precht 06b31c69c1 chore: remove unused `CommunityPopupButton` component 2021-08-24 13:51:20 +02:00
Pascal Precht cbe56dd412 refactor(Communities): use StatusQ's StatusInput component 2021-08-24 13:51:20 +02:00
Pascal Precht a7458aba1b refactor(Communities): use StatusInput in CommunitiesPopup 2021-08-24 13:51:20 +02:00
Pascal Precht a40fe71767 refactor(Communities): use StatusQ's StatusInput in create category popup 2021-08-24 13:51:20 +02:00
Pascal Precht abb44cb1ec refactor(Communities): use StatusQ's StatusInput in create channel popup 2021-08-24 13:51:20 +02:00
Pascal Precht a81678f742 refactor(Communities): use StatusQ's StatusInput in memberlist popup 2021-08-24 13:51:20 +02:00
Iuri Matias 067ed7b255 display peer number in node tab 2021-08-23 15:06:12 -04:00
Anthony Laibe 98943f6d72 feat(@desktop/wallet2): New collectibles API 2021-08-20 16:17:19 -04:00
Anthony Laibe 899cb7b2f5 fix(@desktop/timeline): Fix timeline reaction
fixes #3251

- Being able to react in timeline chat
- Once there is a reaction, being able to remove them or add new
- Height of the message taking in consideration if there is reaction or
  not
2021-08-20 15:11:57 -04:00
Andrei Smirnov afa9c555ce Addressed PR comment 2021-08-20 15:02:26 -04:00
Andrei Smirnov 62ef00ee60 chore(@desktop): odd warnings 2021-08-20 15:02:26 -04:00
Khushboo-dev-cpp 7d5fac46f1 fix(@desktop/browser) Websites with transparent background not handled properly
Removed background color assignment as by default it is set to white if unassigned. This fixes the issue of strange grey background in dark mode with white components from websites with transparent background

fixes #3209
2021-08-20 14:59:12 -04:00
Andrei Smirnov 99bdfc65ed Addressed PR comments 2021-08-20 14:56:00 -04:00
Andrei Smirnov 8e0db42cde Fixed bug 2021-08-20 14:56:00 -04:00
Andrei Smirnov 754e49bf0f fix(@desktop/communities): improve member list sorting 2021-08-20 14:56:00 -04:00
Iuri Matias a3ab31edba bump vendor 2021-08-19 16:26:59 -04:00
Sale Djenic 1b6ae41c63 feature(@desktop/chat): popup search added on the left side
As requested by design popup search added for the left side, click on a search
field (above channels list).

Refers to the changes requested by the issue-2934

Fixes: #2934
2021-08-19 16:26:59 -04:00
Sale Djenic e2628338de feature(@desktop/chat): implement search results for communities, channels
Added a part for fetching messages from multiple chats/channels/communities.

Fixes: #2934
2021-08-19 16:26:59 -04:00
Alexandra Betouni 4f8b072f10 fix(desktop/messages) Removed separator from options menu
when only "Delete" is available
2021-08-19 11:16:16 -04:00
Iuri Matias cab4e0c359 bump statusQ 2021-08-19 11:15:55 -04:00
Khushboo Mehta 27ff37e166 fix(@desktop/browser): Favorite list get truncated when its too long
Adapted the bookmark list to a grid view to accomodate items when the list gets long.
Max column size is 7 and in case screen cannot show 7 columns it will flow to the next row.
Also added ideinticon for a website with no icon
Fixed the issue of DApps launching on all new tabs.

fixes #2009
2021-08-19 11:15:55 -04:00
Anthony Laibe 1ab9b82541 fix(@desktop/chat): fix offline indicator in dark mode
fixes #3239
2021-08-19 10:54:50 -04:00
Anthony Laibe 03cfead241 fix(@desktop/timeline): Fix leaving the timeline chat
fixes #3249
2021-08-19 10:50:11 -04:00
khushboo-dev-cpp 82718a0e93 fix(@desktop/chat): Right click message actions dont work
Fix the bug introduced by removing MessageContextMenu from Chat column. Added missing logic for edit message via MessageContextMenu

fixes #3223
2021-08-19 10:45:47 -04:00
Khushboo Mehta d4de0c25a4 fix(@desktop/profile): Enter key doesnt activate button
Added code so that in the backup seed phrase modal all actions can be performed with the enter key.
Also added logic for default focus on the confirm button in the ConfirmationDialog.

fixes#2359
2021-08-19 10:40:12 -04:00
Khushboo Mehta 8caf95aace feat(MessageContextMenu): Allow Copy and Download Image
Added copy and download Image functionality on right click of an image or its preview

closes #2672
2021-08-19 10:23:18 -04:00
Alexandra Betouni f218fbf739 fix(desktop/chatinput) fixed automatic emoji replacement missbehavior
Closes #3203
2021-08-17 12:23:56 -04:00
Alexandra Betouni 581557cf7e fix(desktop/chat)Adding custom syntax highligther to StatusChatInput
And disabling all previous text formatting

Closes #2920
Closes #3063
2021-08-17 12:20:08 -04:00
Alexandra Betouni f82a23e361 fix(desktop/chatmessages) fixed stickers can't be used as reply
Closes #2404
2021-08-17 11:41:06 -04:00
Sale Djenic 04ca90a7d0 fix(@desktop/general): Changing System Appearance on the fly is not working
App is responsive to the OS theme change event.
Now we're following system set theme when the app is started.

Corresponding part on the side on nimqml is added.

Corresponding part on the side on dotherside is added.

On the side of dother side we had kind of a memory leak, cause objects added to
the filter were not deleted ever. When the app is closing, it just removes
filters, but doesn't delete them.

I faced a logical issue, that we were sending qmlengine pointer to the
installEventFilter method, instead object which may or may not rely on the
qqmlengine instance, that is fixed also.

Fixes: #1725
2021-08-16 16:27:14 -04:00
Andrei Smirnov b7ca0aaf14 Addressed PR feedback 2021-08-16 15:32:21 -04:00
Andrei Smirnov 84472fbcb9 Removed odd Qt.callLater 2021-08-16 15:32:21 -04:00
Andrei Smirnov 8310a36bde feat(@desktop): change password 2021-08-16 15:32:21 -04:00
Andrei Smirnov 87b3f4f2c0 fix(@desktop/pinned): proper popup menu for pinned messages dialog 2021-08-16 14:54:36 -04:00
Anthony Laibe c5d841f68d fix(@desktop/wallet): view in 'collectible' close modal
fixes #2644
2021-08-16 14:33:09 -04:00
Pascal Precht 1ec6583494 fix(Communities): move backup community popup logic to onClosed handler
The transfer ownership popup triggered by the backup community baner button
was behaving weirdly because the banner from where it originates lives inside
a loader that is deactivated once the popup was opened.

Moving the logic that deactivates the loader into the onClosed handler of the
popup solves this issue.

Thanks to @pinebit for getting to the bottom of this!

Fixes #2997
2021-08-16 14:10:43 -04:00
Anthony Laibe 28a4362b64 feat(@desktop/profile): handle blocked contact
fixes #3047
2021-08-16 14:03:52 -04:00
Sale Djenic 662d20b7ac fix(@desktop/general): right click the icon on the dock and press quit doesn't quit the app (macos)
This issue is reproducible on the app only if you're not logged in yet.
The issue is fixed mostly on the side of dotherside.

Fixes: #3112
2021-08-16 13:35:58 -04:00
Richard Ramos eee22f1cc8 fix: display ENS on contact search results
Fixes #3045
2021-08-16 12:58:42 -04:00
Sale Djenic a530f65ada fix(@desktop/communities): `joinedCommunities` doesn't update underlying community
Counting mentions for community seems was not developed yet. That's added here in this commit, but
instead of using "mentionsCount" we introduced on the side of nim, I found that we're receiving
"unviewedMentionsCount", but only for new messages. I used it for this fix.

Counting mentions and requests per community added.

Fixes: #2972
2021-08-16 12:55:12 -04:00
Richard Ramos 50b6b59abf feat: add wallet v2 tab 2021-08-16 09:45:06 -04:00
Richard Ramos c47a16298b fix: viewProfileAction is not defined 2021-08-13 16:07:44 -04:00
Anthony Laibe 6ae4568807 fix(@desktop/chat): fix replying to message at early chat
When replying to a chat, we were reloading messages and rerendering
the messages which were causing issue with the reply id

fixes #3219
2021-08-13 13:07:23 -04:00
Anthony Laibe 2c6d835a42 fix(@desktop/chat): fix shortcut for chat from communities 2021-08-13 12:54:38 -04:00
Anthony Laibe 2b027088e5 fix(@desktop/browser): hide favorite bar when there is none
fixes #3210
2021-08-13 12:35:17 -04:00
Khushboo Mehta 09fb1a173c fix(@desktop/wallet) Truncate long wallet amount
Added logic to convert large amounts to Millions and Billions

fixes #2667
2021-08-13 15:03:24 +02:00
Khushboo Mehta 27fc32469e fix(@desktop/chat): Activity tooltip arrow position is incorrect
Updated offset of the notification tooltip arrow based on if the members list is visible. The arrow should be in center when member list is visible else it should be right aligned as there is no place on the window

fixes #3102
2021-08-12 18:06:23 +02:00
Andrei Smirnov 5a7aac0baf fix(@desktop): crash when transitioning from login|onboarding to the app state 2021-08-11 18:51:59 +03:00
Khushboo Mehta b80ac8070f fix(@desktop/chat): pin button is blurred
Updated from PopupMenu to StatusPopMenu. Removed buttons not in design.
Also added left and right button functionalXity on memeber list

fixes #2956, #3162
2021-08-11 14:33:21 +02:00
Anthony Laibe ee84818c06 feat(@desktop/chat): Save favorites and recents gif 2021-08-10 15:31:19 +02:00
Anthony Laibe 4958e4d941 fix(@desktop/settings): Enable stickers/ens on ropsten
fixes #911
2021-08-10 13:35:37 +02:00
Richard Ramos 1d4beeb041 fix: change values to consider user inactive or offline 2021-08-06 14:17:22 -04:00
Richard Ramos 0a27623628 fix: code review 2021-08-06 13:30:05 -04:00