Commit Graph

3665 Commits

Author SHA1 Message Date
Noelia 87c5ef4928 fix(NetworkFilter): Network filter doesn't allow to preselect a specific value in single selection mode
- Added support for selecting a specific `chainId` in `NetworkFilter.qml`.
- Added `storybook` use case for selecting specific `chainId` in single selection mode.

Part of #11030
2023-06-14 08:57:10 +02:00
Jonathan Rainville 125593369f fix(CodeScanner): fix QrCode Scanner not working on Linux
Fixes #10101

The problem was quite weird. The camera worked, but only when not **directly** in a Loader.

So I fixed by moving the Loader outside of StatusQrCodeScanner and into its parent SyncDeviceFromMobile.

The bahaviour is the same. We get a button asking to enable the camera, then we load the Scanner component. Before the Loader contained only the Camera component.
2023-06-13 12:49:55 -04:00
Anthony Laibe 362250ba92 feat(@wallet): Set default tabl to multichain 2023-06-13 15:00:45 +01:00
Noelia 42c8758746 fix(MintToken): Some renames / code cleanups
Some renames / code cleanups
2023-06-13 15:57:20 +02:00
Noelia 9524ced598 feat(MintToken): Disable airdrop, remote destruct and burn options if mint status is failed
Airdrop, remote destruct and burn options disabled if token status failed.
2023-06-13 15:57:20 +02:00
Noelia 5e4164e2e6 fix(MintToken): Validation rules reviewed
- Updated name and description regex rules.
- Extended name and symbol validation when retry minting to allow same text if we are in edition mode.

Fixes #10860
2023-06-13 15:57:20 +02:00
Noelia 7d551b8311 feat(MintToken): Add navigation from retry to filled token form
Enable navigation from token view to new token view (edition).

Closes #10878
2023-06-13 15:57:20 +02:00
Noelia f58f82d4c6 refactor(MintToken): Mint token views refactor
- Created `TokenObject` files and use them inside `CommunityNewTokenView` instead of plain properties.
- Updated `CommunityTokenView` to use `TokenObject` properties instead of plain properties.
- Updated store calls to use `TokenObject` properties instead of plain properties.
- Remote destruct properties renames.
- Airdrop navigation extended passing token type (asset or collectible).
- Updated `storybook` according to new changes.
2023-06-13 15:57:20 +02:00
Noelia 02baf36070 fix(warnings): Fixed qml warnings
Fixed qml warnings
2023-06-13 15:57:20 +02:00
Jonathan Rainville f6223a1559 chore(update): comment out check for updates for now
Fixes #10990
2023-06-13 09:29:56 -04:00
Michał Cieślak 8102600c5b feat(CommunityMintTokens): Using sortable list of tokens holders
New list contains also dropdown menu with some actions, basic
integration is done for holder types and actions supported currently
by the backend.

Closes: #10621
2023-06-13 12:37:10 +02:00
Michał Cieślak 99ad85047d feat(SortableTokenHoldersPanel): Info panel added when no holders
Closes: #10602
2023-06-13 12:37:10 +02:00
Michał Cieślak 9f73d874c2 feat(CommunityMintTokens): added sortable token holders list component 2023-06-13 12:37:10 +02:00
Anastasiya Semiankevich d9f15ace2b test(@tst_wallet_account_management): add test to verify hide watch-only button 2023-06-13 12:46:09 +03:00
Lukáš Tinkl a263b16862 fix: Holdings dropdown searcher locked
Set the `KeyNavigation.backtab` to itself to avoid accidentally pressing
`Shift+Tab` and tab away from the focused `StatusInput` (which makes it
look like it's disabled)

Fixes #10561
2023-06-13 11:24:07 +02:00
Khushboo Mehta ff98144a56 feat(@desktop/wallet): Part implementation of the filter activity UI 2023-06-13 10:41:07 +02:00
Cuteivist a4731517d6
feat(@desktop/wallet): Add copy details and repeat transaction buttons (#10904)
closes #10776
2023-06-13 10:18:53 +02:00
Lukáš Tinkl 6bfe79a7f3 fix(Chat): Context menu for gif downloads/copies a png file
Detect the MIME type using `QMimeDatabase` from the actual content and
save it in that same format using `QSaveFile`, as `QImage` does NOT
support saving a GIF

Fixes #10747
2023-06-12 16:51:33 +02:00
Cuteivist 31f59a2e81
chore(@desktop/wallet): Unify transaction enums (#11034) 2023-06-12 15:04:39 +02:00
Anthony Laibe 3d6a5b1785 fix(@wallet): left bar selection
fixes #10999
2023-06-12 11:26:47 +01:00
Cuteivist cc7a2e9d32
fix(@desktop/wallet): Several fixes (#10971) 2023-06-12 11:08:37 +02:00
Cuteivist 82dced8826
fix(@desktop/wallet): Handle testnet explorer links (#11016) 2023-06-12 10:39:59 +02:00
Stefan 16304ab26b feat(wallet) filter activity by status
Parse the status information from the API response
Added debugging status as to the debug view

Closes: #10746
2023-06-12 10:38:31 +02:00
Cuteivist f0b42ad672
fix(@desktop/wallet): Update wallet account color correctly (#11008) 2023-06-12 10:14:19 +02:00
Lukáš Tinkl 0b94c2b541 fix: revert to not destroy popups on close by default
- causing too many regressions along the way
- most of our popups are already destroyed properly inside Popups.qml
- in general, a Popup (Dialog, Menu, etc.) can be manually destroyed iff
it had been created using `Component.createObject()`, otherwise it's gone
for good until restart
- manually enabled the destroy-on-close in verified cases

Fixes #10948 (maybe some other dupes)
2023-06-09 00:44:27 +02:00
Lukáš Tinkl 0bf5c64b06 chore: removed unused components
0xdeadbeef
2023-06-09 00:44:27 +02:00
Lukáš Tinkl 0f9f5de267 fix: [chat] @mentions no longer working
fixup undefined references which caused the users model to become
empty

Fixes #11005
2023-06-08 16:19:53 -04:00
Noelia 8d7ff095dd fix(MintToken): App crash when trying to create new token
Accounts `color` role was changed to `colorId` so, `CommunityNewTokenView` has been updated accordingly.

Closes #10991
2023-06-08 15:50:15 +02:00
Mikhail Rogachev 010640acd0
feat(Chat): display MutualStateUpdate system messages in 1-to-1 chats (#10847)
* feat(Chat): Display MutualStateUpdate system messages in 1-to-1 chats

* feat(ActivityCenter): Add AC notification when a user get removed by another contact

* fix: crutch fixing segfault on contact removal
2023-06-08 16:52:03 +04:00
Anthony Laibe 96f4b5cc83 fix(@wallet): hide watch only account
fixes #10917
2023-06-08 15:16:27 +03:00
Patryk Osmaczko dfbac49302 chore(qml): adapt assets to support mediaserver images 2023-06-08 13:09:59 +02:00
Boris Melnik 73eb12c914 feat(communities): Adds mute category interval
Part of: #9369
2023-06-08 00:16:54 +03:00
Igor Sirotin bc4492b53a
fix: Create only one instance of `StatusChatInput` (#10928)
* Chat input area preserved properties
* Fix emoji/gif/stickers popups open/close logic
2023-06-07 16:18:29 +03:00
Sale Djenic ae492fe631 fix(@desktop/profile): profile social links
- added to sync mechanism
- added to backup mechanism
- UI updated according to the newest changes

Closes: #10390
2023-06-07 13:22:59 +02:00
Lukáš Tinkl 274fc98839 fix(StatusDateRangePicker): use StatusDatePicker for the range selection
- exchange the direct input with a calendar popup
- extend the validation of the range (so that from < to === true, etc)
- remove direct input components (Status[Base]DateInput.qml)

Fixes #10900
2023-06-07 10:54:44 +02:00
Alexandra Betouni 3227d5afb4 fix(Communities): resolved popup warning
Closes #10952
2023-06-06 18:32:03 +03:00
Anthony Laibe 525a8e19bf feat(@wallet): sort accounts
fixes #10845
2023-06-06 16:17:56 +02:00
Patryk Osmaczko b582afb03a feat: speedup/slowdown archives import based on window state
closes: #10815
2023-06-06 09:39:54 +02:00
Pascal Precht 0b280f090e refactor(communities): remove legacy pending membership indicator
We no longer want to show pending membership requests in the left column
of the layout. Instead, community owners need to go to the community
settings -> members -> Pending requests

This however does not remove the legacy membership popup yet because
it's still used when users click the OS notification of incoming
community requests to join.

We don't yet have a mechanism to make the app navigate specifically to
that section of the community settings.
2023-06-06 09:07:53 +02:00
Igor Sirotin f86608287c
Fix/issue 10905 (#10930) 2023-06-06 09:57:00 +03:00
Lukáš Tinkl ee9db6a302 fix: add/remove account modal positioning is wrong
A small regression from porting StatusModal to StatusDialog

Fixes #10913
2023-06-05 13:47:55 +02:00
Cuteivist dc9193424f
feat(@desktop/wallet): Transactions values (#10832) 2023-06-05 08:22:30 +02:00
Anastasiya Semiankevich e88369a83e tst_communityManageOverview): add scenario that copies community private key 2023-06-02 23:19:35 +03:00
Khushboo Mehta 28654e0187 \chore(@desktop/wallet): Change customisation colours on desktop to match those used on mobile
fixes #10637
2023-06-02 19:48:19 +02:00
Patryk Osmaczko 35a2dd5244 [Popups]: added destroy() function in all popups by default
Also switched StatusModal to derive from StatusDialog instead
of Popup type

Closes #10149
2023-06-02 14:28:39 +03:00
Noelia cbe290a735 fix(MintToken): Sign transaction popup was not showing correct data
Fixed params to pass to sign transaction popup: chainId, chainName and accountName.
2023-06-02 13:15:34 +02:00
Noelia d4d3a6d669 feat(MintToken): Add `delete` and `retry mint` options when deploy fails
- It refactors `SettingsPageLayout`.
- It adds `retry mint` and `delete` options when deploy process fails.
- It renames `RemotelyDestructAlertPopup` to generic name `AlertPopup`.
2023-06-02 13:15:34 +02:00
Noelia 8ae2d29a1c feat(MintToken): Use `contractUniqueKey` instead of index
Updated minting flow to use `contractUniqueKey` instead of `index`.

Closes #10765
2023-06-02 13:15:34 +02:00
Noelia 86a0e8b9ec feat(MintAssets): Update minted tokens view with assets
- Added assets list UI.
- Added shape rectangle for empty lists.
- Added filter by asset / by collectible
- Updated storybook accordingly.
- Added flow to open token view depending on type

Closes #10625
2023-06-02 13:15:34 +02:00
Cuteivist b557274dff
feat(@desktop/wallet): Added NFT preview (#10846)
closes #10822
2023-06-02 10:29:40 +02:00