Commit Graph

1311 Commits

Author SHA1 Message Date
Mikhail Rogachev 2abfe0fa0c
feat(ProfileShowcase): Implement profile showcase collectibles (#13103)
* feat(ProfileShowcase): Show token balences in the profile showcase

* feat: support new tokens & collectible identification

* feat: add collectibles to profile showcase preferences

* feat: dispaly collectibles for a contact

* fix: review fixes & tokens code moved to separated PR
2024-01-25 21:43:36 +04:00
Sale Djenic 654da3e246 fix(savedaddresses): preferred chains maintained in two places
This commit prevents the user from adding an address to the saved addresses list,
if it was already added to the Wallet section. Also when the user is about to add
an address to the Wallet section, which is already added to the saved addresses
list, the app will ask whether to proceed with that action by removing the related
saved address or cancel the action.

Closes: #13109
2024-01-24 14:40:21 +01:00
Sale Djenic daecb836ac feat(onboarding): remove mnemonic as early as possible
Closes: #13260
2024-01-23 16:38:41 +01:00
Richard Ramos 50e6011bcf chore: remove wakuV1 and status.prod/test fleets 2024-01-19 22:10:46 +03:00
Richard Ramos ce49b55014 test: use shards.test fleet as default 2024-01-19 22:10:46 +03:00
Dario Gabriel Lipicar b186a133ab feat(@desktop/wallet): implement token management settings for collectibles
Fixes #13233
2024-01-18 13:10:07 -03:00
Sale Djenic 206cf0edf5 fix(keycard): stuck keycard flows, which ought to be re-run, are fixed 2024-01-18 10:44:44 +01:00
Michal Iskierko f00493ec02 fix(@desktop/communities): Fix displaying token holders
Add displaying holders for ERC20 - only community members.
Add json conversions test for some holders structs.

Fix #12062
2024-01-17 13:23:59 +01:00
Stefan 7f6636dc94 chore(config) rename pokt.network urls to grove.city as required
Closes #13189
2024-01-12 21:23:59 +01:00
Khushboo Mehta fb39c8c3b8 fix(@desktop/wallet): Switching networks doesn't change assets
fixes #13137, #13144
2024-01-12 20:30:42 +05:30
Sale Djenic ba5e259296 chore(savedaddresses): saved addresses improvements
Closes #13140
2024-01-12 14:23:35 +01:00
Sale Djenic 1e972950e6 chore(savedaddresses): favourite property removed 2024-01-12 14:23:35 +01:00
Patryk Osmaczko d4944fd662 fix(communities): make users module always use channels members
This fixes members list of the channels. The conficting signal,
`SIGNAL_COMMUNITY_MEMBERS_CHANGED`, was causing it to always show all
members.

As a consequence, it enables mentioning only members of a given
channel.

closes: #12384
2024-01-11 23:40:21 +01:00
Sale Djenic 0a3fd7fbfb chore(general): a simplification of fetching active app chain
The chain we're using for stickers, collectibles, ens names and other similar activities
is simply determined by the mode the Status app is operating in and it could be either
mainnet or testnet mode. Having that fact in mind we don't need all the calls we were
using in the past for fetching explicitly chain id for each of the sections mentioned above
and that's simplified with these changes.
2024-01-09 15:48:48 +01:00
Godfrain Jacques ed89ba77b8
Fix thumbnail images for quoted message (#13126) 2024-01-09 01:54:54 -08:00
Khushboo Mehta 104d7b0a90 fix(@desktop/wallet): Create new go API to get token balances without market details so that we are making wasteful api calls to coingecko/cryptocompare
fixes #13084
2024-01-08 18:39:18 +05:30
Cuteivist a975e55271
feat(@desktop/settings): Added advanced token settings (#13128) 2024-01-04 18:54:42 +01:00
Sale Djenic ff9062a1b0 feat(savedaddresses): update adding saved address popup to match new design
Implemented:
- adding selection color section
- all input field validations
- interactions within the popup
- an ephemeral notification when adding an address

Closes #13089
2024-01-04 17:45:57 +01:00
Sale Djenic 3ac13a7678 chore(savedaddresses): preparing saved address for reuse in wallet settings section
Part 1 of #13088
2024-01-04 17:45:57 +01:00
Sale Djenic 4854d9d100 feat(@desktop/wallet): mark address as shown when it is about to be fully displayed
Fixes: #12989
2024-01-04 13:57:13 +01:00
Cuteivist 0536ce898d
feat(@desktop/toast): Community Token received notification (#13116) 2024-01-04 13:22:12 +01:00
Khushboo Mehta 1bd23b027d fix(@desktop/wallet): creating a common grouped model for accounts assets to be used for wallet and profile view
fixes #12601
2024-01-02 20:00:13 +05:30
Mikhail Rogachev 2d00478467
feat: update chat unseen counters from the Activity Center (#13020)
Close #12857
* feat: update chat unseen counters from the Activity Center
* feat: mark all notifications read also updates chats
* chore: review fixes
2023-12-25 16:18:13 +07:00
kaichao 55d0a3efb5
chore: remove wakuv2 store config (#13018) 2023-12-23 10:42:16 +08:00
Igor Sirotin 50c187edff
remove legacy `requestCommunityInfo` code (#13012) 2023-12-21 20:05:04 +00:00
Cuteivist 635bf7e582
feat(@desktop/wallet): Provide QProperties for token management (#12929) 2023-12-21 15:13:19 +01:00
Mykhailo Prakhov 790add8ea5
fix(@desktop/requestsToJoin): displaying approved people in the pending list (#13038) 2023-12-21 11:30:02 +01:00
Cuteivist 3b162e0541
feat(@desktop/tokens): Handle community ID and community token image (#12980) 2023-12-20 11:31:02 +01:00
Sale Djenic 774da7dd47 fix(@desktop/general): biometrics prompt is shown after restarting the app even it was not enabled
Fixes: #11261
2023-12-19 08:33:34 +01:00
Mikhail Rogachev 123770c0e3
Fix/issue 12944 member cant leave the community (#12958)
Close #12944
* fix: Check if activityCenterNotifications are present in the response
* chore: Review fixes & code cleanup
2023-12-13 16:30:21 +07:00
Michal Iskierko d2b2aae000 fix(@desktop/communities): Add toasts to send owner token process
Fix transfer ownership button.
Set correct data in SendModal.

Issue #12656
2023-12-12 16:06:04 +01:00
Godfrain Jacques 7a5e691c90
feature(@desktop/chat) Enhance message context menu with mark as unread (#12879)
* chore: bump status-go

* feature(@desktop/chat) Enhance message context menu with mark as unread
fixes #10329

linked with PR #12879

- Adds capacity to mark a message as unread
- Adds capacity to mark a message with mention as unread
- Adds persistence to the marking of the message (change can be seen at
  after reboot)
- Adds marking in right click contextual menu
2023-12-11 20:16:06 -06:00
Anthony Laibe f98d1acf08 feat(@wallet): use infura for sepolia arbitrum 2023-12-07 09:22:46 +01:00
Sale Djenic 3854920f54 feat(walletconnect): support for auth request 2023-12-06 20:01:04 +01:00
Roman Volosovskyi b819bdb574
Mark mnemonic as shown on revealing it to the user (#12947) 2023-12-06 16:24:10 +01:00
Igor Sirotin 6c6967faf2
Fix `TRACE` log level support (#12935) 2023-12-06 11:25:57 +00:00
Mykhailo Prakhov 24f2540ffa
chore: receive all non-approved requests to join through the API allNonApprovedCommunitiesRequestsToJoin (#12941) 2023-12-05 16:37:58 +01:00
Mykhailo Prakhov 02589421bb
feat(desktop/communities): show community users which will be automatically joined after the ownership change in the All Members tab (#12928) 2023-12-04 20:14:13 +01:00
Sale Djenic c5d1d5b77d chore(walletconnect): adapting to improvements done on the statusgo side 2023-12-04 11:58:58 +01:00
Sale Djenic ba60c711f7 fix(@desktop/general): wrong set signer name used 2023-12-04 11:58:58 +01:00
Stefan a4835a25ce fix(wallet) remove unused API GetTokensBalances old api
Replace it with the new API GetWalletToken

Move the backend related json parsing to the backend/helpers folder
Update some imports to absolute paths
Remove indirect imports

Closes: #12914
2023-12-01 20:28:19 +01:00
Igor Sirotin de89b3ee77
fix: check nil shard (#12927) 2023-12-01 18:36:17 +00:00
Sale Djenic 608bb38874 chore(@desktop/keycard): improvement in terms of avoiding overlapping keycard library flows 2023-12-01 16:24:58 +01:00
Khushboo Mehta 3a41a81890 feat(@desktop/wallet): Add new go api to get token market values not bundled with token balances
fixes #12668
2023-11-30 16:50:20 +01:00
Andrea Maria Piana 94159746ea
Add fetch messages button
This commit adds a fetch messages option in the chat.
If clicked it will re-fetch messages for that chat for 1 month.

It's disabled in production since that's not something we want to go
live with, but it's very helpful for dogfooding/debugging while message
reliability has still some issues.
2023-11-30 14:26:41 +00:00
Sale Djenic a12f96c311 feat(@desktop/stickers): support buying/releasing ens usernames if profile keypair is migrated to a keycard
Closes part 2 of #12556
2023-11-30 09:39:46 +01:00
Sale Djenic a057e93901 feat(@desktop/stickers): support buying stickers if profile keypair is migrated to a keycard
Closes part 1 of #12556
2023-11-30 09:39:46 +01:00
Cuteivist 8e0db2e666
fix(@desktop/wallet): Display balance for all accounts (#12632) 2023-11-29 12:19:59 +01:00
Mikhail Rogachev a7058241aa
Fix: Crash when handling response without AC notifications (#12891)
* Fix: Crash when handling response without AC notifications

Close #12889

* Update src/app_service/service/community/service.nim

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-11-29 14:16:44 +04:00
Mykhailo Prakhov 3af73a44a5
feat: show activity center notification if user must reveal addressed to join/rejoin the community (#12856) 2023-11-28 14:41:11 +01:00
Dario Gabriel Lipicar 91a411fd36 feat: implement support for collectibles provider Rarible
Fixes #12310
2023-11-27 22:19:44 -03:00
Mikhail Rogachev 9a714cfec0
feat(ActivityCenter): Sync message & AC notification read state (#12815)
* feat(ActivityCenter): Use signal for delivery of AC notifications from other services

Close #9349

* feat(ActivityCenter): Sync messages read state with AC notifications
2023-11-27 16:22:58 +04:00
Michal Iskierko 7bb5202a75 fix(@desktop/communities): Fix fees estimation crash
Fix #12847
2023-11-27 10:42:01 +01:00
Jonathan Rainville d66540d74f feat(messages): add deleted system message that tells who deleted
Fixes #11712
2023-11-23 16:14:54 -05:00
Dario Gabriel Lipicar 90570b53da chore: remove leftover token code from makefile 2023-11-23 17:04:51 -03:00
Dario Gabriel Lipicar 7384c004cc feat(@desktop/wallet): support alchemy sepolia api keys
Closes #12771
2023-11-23 17:04:51 -03:00
Godfrain Jacques aaa759f70c
Fix(@message) Album of images disappears from reply after reloading the application (#12806)
Fixes #10986

This PR contains 2 changes :

1- Adding of properties for the quotedMessage
2- Update of the view with the properties with Qml binding
2023-11-22 14:32:50 -08:00
Igor Sirotin 842b56be2f
feature:`asyncGetTextURLsToUnfurl` (#12780) 2023-11-21 15:07:10 +00:00
Khushboo Mehta 26f29a4fe6 chore(@desktop/wallet): Unifying the various "TokensTypes" across the app
fixes #12501
2023-11-21 13:02:26 +01:00
Mikhail Rogachev 7830310591
fix(ActivityCenter): Simplify and fix AC notifications read/unread states (#12753)
* fix(ActivityCenter): Simplify and fix AC notifications read/unread states

* fix: review fixes
2023-11-20 12:53:34 +04:00
Igor Sirotin 200c0b337f
chore: remove nim unused imports (#12783) 2023-11-18 01:10:14 +00:00
Dario Gabriel Lipicar c04bf2ef9e feat(@wallet/desktop): implement generalized collectibles api 2023-11-17 17:23:34 -03:00
Igor Sirotin 4239f77941
Fix/issue 12651 unfurl status links (#12751) 2023-11-17 16:28:31 +00:00
Jonathan Rainville d66c1f7b0d feat(sharding): add shard info args to requestCommunityInfo calls
Fixes #12015
2023-11-16 13:32:48 -05:00
Jakub Sokołowski f8d78cdb95
chore(test): drop usage of ganache in old E2E tests
The Ganache tool has been replaced by Hardhat:
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-16 12:21:25 +01:00
Khushboo Mehta b315d8b9b8 chore(@desktop/wallet): Wallet: explore streamlining "all tokens model" spread across different sections
closes #12424
2023-11-15 10:40:36 +01:00
Jonathan Rainville cf74fc2111 fix(stickers): fix crash in async task + clean up + set bought status
Fixes #12664
2023-11-13 13:53:00 -05:00
Richard Ramos de68d250a6 feat: shards.test fleet 2023-11-13 09:09:47 -04:00
MishkaRogachev 4a4f1b8bf9 feat(Profile): Move profile showcase out of contact 2023-11-09 15:57:03 -05:00
MishkaRogachev e2c3cebdb5 feat(Contacts): refresh profile on live data update, review fixes 2023-11-09 15:57:03 -05:00
MishkaRogachev 84f3626390 feat(Contacts): Show profile showcase data for contacts 2023-11-09 15:57:03 -05:00
Anthony Laibe 658279696e Revert "fix(@wallet): random failure with building dto"
This reverts commit 8abd9c56a1.
2023-11-09 12:24:23 +01:00
Anthony Laibe 8abd9c56a1 fix(@wallet): random failure with building dto
fixes #12581
2023-11-09 10:29:34 +01:00
Igor Sirotin 4c99ca3f76
fix: activate community channel link (#12653) 2023-11-08 16:51:57 +00:00
Noelia 88c09b3941 feat(@desktop/communtiies): Set signer flow
Setting signer logic and computing fees.
AC messages for different transfer ownership states.
Declining ownership logic.
Added `CommunityTokensStore.qml` stub.
Removed deprecated property.

Issue #11964
2023-11-08 14:35:51 +01:00
Sale Djenic fa3be8623b fix(@desktop/general): LoadAllTransfers flag is set to true when a user is logging in 2023-11-08 12:09:40 +01:00
Boris Melnik 3030a689d8 feat(discord): Process import cancelled event
Fixes: #12504
2023-11-07 16:43:30 +03:00
Boris Melnik 99712a076b feat(discord): Import single channel from discord
Fixes: #12238
2023-11-07 16:43:30 +03:00
Sale Djenic 94953bb925 fix(@desktop/wallet): send modal not working with bridge hop (mainnet to optimism)
Fixes #12615
2023-11-06 21:39:04 +01:00
Igor Sirotin 52dd0abbce
feature: live status link previews (#12613)
* feat: live received status link previews
* link preview cards: active members count
* update `requestCommunityInfo` to new backend. Add `requiredTimeSinceLastRequest` arg
2023-11-06 19:26:44 +00:00
Anthony Laibe 2b92c1561e fix(@wallet): enable all networks by default 2023-11-06 09:50:05 +01:00
Patryk Osmaczko 59048b2069 feat(communities): integrate community sharding
closes: #12408
2023-11-03 17:11:18 +01:00
Sale Djenic ad7774799a feat(@desktop/keycard): joining communities using addresses migrated to a keycard
Closes: #12170
2023-11-03 16:14:18 +01:00
Sale Djenic 52d760d1b3 fix(@desktop/keycard): resolving v param for data signed on a keycard fixed 2023-11-03 16:14:18 +01:00
Mikhail Rogachev c7c5ec340d
feat(Profile): Profile showcase backend (#12510)
* feat(Profile): simplified approach to reuse existing models with profile

* feat(Profile): adapt nim models for view actions (move and change visibility)

* feat(Profile): save profile showcasse model changes to the db

* feat(Profile): update profile showcase models on changes from status-go

* feat(Profile): Various bug fixes for profile showcase

* fix(Profile): Fixes storing profile order and review fixes

* chore(Profile): Rename and minimise signals for updating base model filters
2023-11-01 20:54:22 +04:00
Mykhailo Prakhov b414d616a6
feat: info msg if owner is not awailable after community ownership change (#12560)
feat: info msg if the owner is not available after community ownership change
2023-10-31 18:55:41 +01:00
Sale Djenic 1e2f4387b6 fix(@desktop/general): error while generating account
Fixes: #12563
2023-10-31 12:30:36 +01:00
Jonathan Rainville fd0e4eff43 fix(pairing): fix pairing error on too fast login
Fixes #12550

The problem was that we used the pairing event saying "Finished" to show the Login button, however, when that even is received, the Node hasn't started fully yet, so we might try to login when the accounts are still empty in the cache.

The solution is to use the return from the async task, since that one returns at the very end when the process is over and the node is ready. Obviously, if tat returns an error, we still use the error instead.
2023-10-27 14:49:40 -04:00
Cuteivist bbfe9a89f8
feat(@desktop/token): Add community id to Token struct (#12534) 2023-10-27 19:09:03 +02:00
Igor Sirotin 9881c15f3c
Fix/issue 12356 no shared url data (#12557)
* refactor service `parseSharedUrl` functino
* drop unused RootStore functions
* refactor Utils shared urls functions
* fix(MembersSeectprView): ignore shared url data
* drop `openContactRequestPopupWithContactData`
* fix loading of data to popup
2023-10-26 14:58:05 +01:00
Alex Jbanca 3050e97c9c feat: Link preview settings to Status chat input unfurling mode
Changes:
1. Update privacy controller to react to external unfurling settings change
2. Add handler to input controller and react to external unfurling settings change
3. Small other fixes
2023-10-24 17:35:07 +03:00
Sale Djenic 428ac1a4de fix(@desktop/general): status.prod fleet is always used regardless of the fleet being chosen 2023-10-24 13:16:58 +02:00
Sale Djenic f88c23dc7b refactor(@desktop/general): env variables sorted and CL args introduced
- Necessary env variables to build the app:
STATUS_BUILD_INFURA_TOKEN
STATUS_BUILD_INFURA_TOKEN_SECRET
STATUS_BUILD_POKT_TOKEN
STATUS_BUILD_OPENSEA_API_KEY
STATUS_BUILD_ALCHEMY_ETHEREUM_MAINNET_TOKEN
STATUS_BUILD_ALCHEMY_ETHEREUM_GOERLI_TOKEN
STATUS_BUILD_ALCHEMY_ARBITRUM_MAINNET_TOKEN
STATUS_BUILD_ALCHEMY_ARBITRUM_GOERLI_TOKEN
STATUS_BUILD_ALCHEMY_OPTIMISM_MAINNET_TOKEN
STATUS_BUILD_ALCHEMY_OPTIMISM_GOERLI_TOKEN

- The list of available env variables as well as CL arguments can be seen running
the app providing `--help` argument. All env vars are prefixed with `STATUS_RUNTIME_`.
2023-10-24 13:16:58 +02:00
Anthony Laibe 0ba9ce9c8e fix(@wallet): token not always visible
fixes #12508
2023-10-23 16:05:19 +02:00
Igor Sirotin e5b68e8823
fix: messaging settings and url unfurling fixes (#12457)
* remove browser selection setting
* remove main whitelist settings. replace tenorGif setting with gifUnfurlingEnabled
* remove old unfurling
* move history nodes section
* disable outdated e2e tests step
* remove isGifWidgetEnabled setting
* fix: StatusMessage height when gif unfurling disabled

---------

Co-authored-by: Anastasiya Semenkevich <anastasija.ig@gmail.com>
2023-10-18 10:03:32 +01:00
Sale Djenic e1149c9227 feat(@desktop/wallet): support keycard authentication for transactions
Closes: #8566
2023-10-18 08:55:48 +02:00
Jonathan Rainville 48d2f72876 feat(sync): sync and pair 1-1 chats and groups
Fixes #10324 and https://github.com/status-im/status-go/issues/3547
2023-10-17 15:04:47 -04:00
Anthony Laibe e31d8ebd3e feat(@wallet): arbitrum sepolia 2023-10-17 10:05:51 +02:00
Khushboo Mehta 246f58ef94 fix(@desktop/wallet): (tokens) unknown RPC method wallet_updateVisibleTokens
fixes #12405
2023-10-17 09:59:29 +02:00
Igor Sirotin 22ce35cf9c
feature: support url unfurling settings (#12441) 2023-10-16 17:05:55 +01:00
Igor Sirotin 520d34240a
feature: support unfurled Status links (contact/community/channel) (#12303)
* chore: move `LinkPreviewThumbnail` to a separate file
2023-10-13 14:36:07 +01:00
Khushboo Mehta bc85bc8cd3 feat(@desktop/wallet): Include watch only per account
fixes #12305
2023-10-13 12:11:36 +02:00
Khushboo Mehta dd8c3173f6 fix(@desktop/wallet): Wallet -> Setting -> Edit network: toast message is not displayed when reverting to default
fixes #12419
2023-10-12 15:36:36 +03:00
Lukáš Tinkl 2abe0358fc feat: Add URL trust options when the user clicks on a link
- add a popup asking the user before clicking on an unfurled link
preview
- add a checkbox for the above popup to remember the trust for such
domain
- use local Settings to persist the "trust domain" locally; for
global persistence across devices, see
https://github.com/status-im/status-go/issues/4132

Closes #12388
2023-10-12 10:57:15 +02:00
Igor Sirotin ac8fb8ffdb
fix: attach link previews in `SendImages` (#12402) 2023-10-11 13:28:52 +01:00
Anton Iakimov 834753351c
update status/wakuv2 fleets DNS discovery enrtree
https://github.com/status-im/infra-misc/issues/171
2023-10-10 17:12:31 +02:00
Khushboo Mehta 601be63774 feat(@desktop/wallet): Wallet Setting: New designs for edit network settings
fixes #11751
2023-10-09 18:01:01 +02:00
Anthony Laibe 18c37fbdac feat(@wallet): Enable sepolia network 2023-10-09 15:06:52 +02:00
Igor Sirotin 3321708629
fix: process community info requests fails (#12357) 2023-10-07 09:47:48 +01:00
Khushboo Mehta 8252baf846 fix(@desktop/wallet): Selecting other than the mainnet doesn't display all tokens in the send popup
fixes #12255
2023-10-05 17:19:00 +02:00
Dario Gabriel Lipicar 3354af0784 feat(@desktop/wallet): use Alchemy API key for Ethereum main/goerli 2023-10-05 10:29:48 -03:00
Stefan a587e504ef fix(wallet) forever loading balances
Allow the balances to be nil in the BalanceDTO.

It seems in some corner-cases the balances are returned with rawBalance
as "<nil>" which can't be parsed as a valid Int256; see change cbf56fec.

"<nil>" is not a valid json value, so this is still a workaround.

Closes: #12330
2023-10-05 09:47:42 +02:00
Mikhail Rogachev cd4d92aef0
Feat/issue 11795 introduce KickedPending and BannedPending states (#12068)
* feat(Communities): Introduce pending states for kick, ban and unban actions

Close #11795

* feat(Communities): Show bannedMembers pending states on the UI

* feat(Communities:) make kick, ban and unban methods async

* feat(Communities): add signal about community membership status change

* fix(Communities): move membership managment to to the appropriate model

* chore: review fixes
2023-10-05 00:41:51 +03:00
Michal Iskierko 5981e946fd feat(@desktop/communities): Adjust owner and master tokens deployment flow to new API
Issue #11954
2023-10-04 12:08:50 +02:00
Richard Ramos bfa2fe088c feat: enable filter full node by default 2023-10-03 16:26:21 -04:00
Shinnok d9e6fbe0d5
fix(messenger_contacts): Add toast notification when removing a contact
Fixes #10497
2023-10-03 13:37:20 +03:00
Michal Iskierko 4fcf0bfb06 fix(@desktop/communities): Catch all exceptions and use default values for non deployed tokens
Fix #12315
2023-10-03 11:47:01 +02:00
Patryk Osmaczko 2d4e20585b fix: propagate hashed password to threadpool
fixes: #11913
2023-10-02 22:02:01 +02:00
Jonathan Rainville c6449f67c6 feat(communities): use async getCommunityTokens for list creation 2023-10-02 10:01:33 -04:00
Jonathan Rainville 10197dc83a fix: community freezes when editing because of sync operations
Fixes #11808

The problem was that when creating and editing communities, we got the community tokens and all the details about it.
The thing is, those fetches were all done sync, and half of them needed to go to status-go for it.

I fixed it by making those operations async.
2023-09-29 09:45:47 -04:00
Dario Gabriel Lipicar b7d4cb9605 feat(@desktop/wallet): implement collectibles error states and retry
Fixes #11636
2023-09-27 17:21:19 -03:00
Sale Djenic d107a9f90b feat(@desktop/keycards): managing mocked keycards when running keycard flows 2023-09-27 18:20:43 +02:00
Jonathan Rainville fe0b0ee795 fix(curated_communities): support curated.communities.update signal
Fixes #12207
2023-09-22 12:17:21 -04:00
Khushboo Mehta 76615b0bf7 fix(@desktop/wallet): Move selected recipient and send type to nim
fixes #12206
2023-09-21 15:34:00 +02:00
Anthony Laibe 3e985e62e1 fix(@wallet): update network form 2023-09-21 10:45:04 +02:00
Alex Jbanca 7c8436f492 feat: Adding new user profile cards for link previews 2023-09-20 19:56:18 +03:00
Jonathan Rainville fb4f77b9bb fix(message/service): fix crash on missing assignment of MessageResult
Fixes #12195
2023-09-20 11:51:44 -04:00
Michał Cieślak fb48e7be0b feat: Refactor AmountToSend to use exact amounts for transactions
Closes: #12168
2023-09-20 15:15:29 +02:00
Boris Melnik c102d2de07 feat(activity-center): Display album of images
Fixes: #9951
2023-09-19 22:52:07 +03:00
Patryk Osmaczko 720f6884b8 feat(communities): integrate token permissions pending state
closes: #11852
2023-09-18 15:29:03 +02:00
Lukáš Tinkl 848d3b14f5 feat(community ownership) Move community control node flow UI
Implement the UI part of the new flow for moving community control nodes
w/o involving private keys

Closes #12088
2023-09-18 11:00:46 +02:00
Sale Djenic 0d2c68411b chore(@desktop/syncing): sending `pairings.json` file content removed from local pairing (maintained on the status-go side) 2023-09-13 17:52:49 +02:00
Sale Djenic 243b70a3eb chore(@desktop/keycard): desktop side handling of status-go #4003 issue 2023-09-13 17:52:49 +02:00
Khushboo Mehta f597ef4e6a feat(@desktop/wallet): Glue for sending nft
fixed #12128
2023-09-12 14:01:10 +02:00
Sale Djenic 61b217c5eb fix(@desktop/wallet): the app crashes when receives "show/hide watch only" value from paired device
Fixes: #12115
2023-09-11 14:47:25 +02:00
Sale Djenic 61f3d903ce feat(@desktop/syncing): keypair syncing - migrate keypair to/from keycard if devices are already paired
Closes: #11706
2023-09-11 12:14:36 +02:00
Cuteivist 33a8ed9b9c
bug(@desktop/wallet): Unkown symbol and Gwei decimals (#12083) 2023-09-11 12:08:21 +02:00
Cuteivist 63eacf0817
feat(@desktop/wallet): Use estimated latest block for details (#12092) 2023-09-11 10:08:53 +02:00
Alex Jbanca 624b758c85 fix(Update fees periodically): Implementing periodic fee update for airdrops, minting, self destruct and burning transactions 2023-09-08 23:25:04 +03:00
Alex Jbanca f2b3ba1ae7 fix(Update fees periodically): Adding requestId to compute fees nim flows
The compute fees flows are async and requestId/responseId is added for the UI to match a request with the proper response.
2023-09-08 23:25:04 +03:00
Lukáš Tinkl e106be9b12 feat: Single discord channel import UI flow
Closes #12039
2023-09-07 14:52:53 +02:00
Sale Djenic b22b632b2d feat(@desktop/wallet): account interaction - stop using a keycard for profile keypair - handling on paired devices
Part 4 of: #11737
2023-09-07 14:49:06 +02:00
Khushboo Mehta a8cb40809c fix(@desktop/wallet): Edit Networks: Add warning when failover and main rpc are the same
closes #11551
2023-09-05 16:56:27 +02:00
Sale Djenic cf7c3325e7 chore(@desktop/general): converting to a regular account switched to an async job 2023-09-04 16:25:53 +02:00
Jonathan Rainville bc4a150afa feat(shared_addresses): get old shared addresses for the edit popup
Fixes #11973
2023-09-01 09:31:40 -04:00
Sale Djenic c59f6d72d8 feat(@desktop/wallet): account interaction - stop using a keycard for non profile keypair
Part 2 of: #11737
2023-09-01 09:20:54 +02:00
Sale Djenic c81dfdc7c7 feat(@desktop/wallet): account Interaction - move keypair to a keycard
Part 1 of: #11737
2023-08-30 16:50:33 +02:00
Jonathan Rainville 8336a6d08e fix(crash): fix crash about community permissions
Fixes #11996
2023-08-30 10:38:47 -04:00
Khushboo Mehta 330ccb58a6 chore(@desktop/wallet): Move send modal logic over to nim side
fixes #11881
2023-08-30 14:45:40 +02:00
Cuteivist db350dc36e
feat(@desktop/wallet): Fetch multi tx details (#12002)
closes #11897
2023-08-30 14:10:59 +02:00
Michal Iskierko da30b8d2d8 fix(@desktop/communities): Pass addressFrom from UI to contract calls.
Use address set in UI instead of deployer.

Fix #11827
2023-08-25 15:48:51 +02:00
Sale Djenic 6b570d1114 fix(@desktop/wallet): notification centre item relating to import of keypair to another of the user's synced devices (point 1)
Point 1 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic aec5dc62c9 fix(@desktop/wallet): importing keypairs at the account level (navigating into an account page in Wallet) (point 9)
Point 9 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic 00513ed306 feat(@desktop/wallet): make a partially operable account fully operable on the first use
This commit makes any partially operable account a fully operable when user
provides a password/pin from whatever reason.

Closes: #11781
2023-08-24 10:07:31 +02:00
Sale Djenic 3113fffef9 fix(@desktop/wallet): fixed crash while handling received removed account from a paired device 2023-08-24 10:07:31 +02:00
Mykhailo Prakhov 3f5df7e3ef
feat: owner and token master permissions (#11942) 2023-08-22 20:09:34 +02:00
Stefan 8941b218d5 fix(wallet) duplicate entries in activity
The multi-transaction ID was not propagated. The status-go change fixes
this.

Close: #11754, #11404
2023-08-22 19:16:46 +02:00
Sale Djenic 85d4bfdfea feat(@desktop/syncing): generating connection string and inserting connection string for transferring keystore files introduced
Refers to the third part of #11779
2023-08-22 12:22:32 +02:00
Igor Sirotin 3560786e2a
feat: Unfurl images (#11940) 2023-08-22 10:26:54 +03:00
Jonathan Rainville 8332a685c4
Hook pending join request backend to new UI (#11914)
Fixes  #11851
2023-08-21 15:07:40 -04:00
Boris Melnik 95f829665b
feat(communities): Update permissions list for spectated community tokens model (#11803)
Fixes: #11480

* hook up join popup to permission model

* fix chats not being put in the permission model

* make it work with channel permissions as well

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-08-21 14:54:57 -04:00
Stefan 3e8f710560 fix(debug) don't overwrite the status-go log level 2023-08-21 10:05:21 +02:00
Anthony Laibe 678f751121 feat(@wallet): mask api keys 2023-08-18 14:30:44 +02:00
Michał Cieślak 1c50ec17a8 chore(Communities): Refactor amounts handling for displaying, minting, airdropping and burning
Closes: #11491
2023-08-17 11:26:25 +02:00
Mikhail Rogachev f4b028bd71
feat(CommunityTokens): Display community member contact data for token holders list (#11787)
* feat(CommunityTokens): proposal of CommunityCollectibleOwner

Close #11143

* feat(Communities): implement viewProfile from token holders list

* fix: re-request community token owners after a contact get removed from a community
2023-08-17 11:24:14 +04:00
Michal Iskierko 0c78a648b5 fix(#desktop/communities): Remove temp minting and temp airdrop buttons
Improve logs in community tokens service.

Issue #11250
2023-08-14 21:40:57 +02:00
Michal Iskierko 603d4dd4d8 feat(@desktop/communities): Deploy Owner and Master tokens flow.
Issue #11250
2023-08-14 21:40:57 +02:00
Sale Djenic 7a1500a365 fix(@desktop/wallet): no notification after deleting keyapir
Fixes: #11866
2023-08-14 16:45:08 +02:00
Sale Djenic 4c6af4f1ad feat(@desktop/syncing): make a not operable account fully operable, part 2
- handles import keypairs (without syncing via qr)

Closes the second part of #11779
2023-08-11 17:22:27 +02:00
Sale Djenic 23fa2f5df3 feat(@desktop/syncing): make a not operable account fully operable, part 1
- handles recovered keypairs

Closes the first part of #11779
2023-08-11 09:48:34 +02:00
Khushboo Mehta ec3231ef7e feat(@desktop/wallet): Update remove keypair popup to match the Figma
fixes #11734
2023-08-10 19:56:59 +02:00
Jonathan Rainville 24d26cc038 feat(airdrop): get revealed accounts using new API instead of desc
Fixes #11817

Instead of getting revealed accounts from the community description (it's no longer available), uses the new `getRevealedAccountsForAllMembers` API. Uses it async so that we do not slow the start process. The model is updated correctly when we finish loading them.
2023-08-10 11:59:09 -04:00
Alex Jbanca 7d0d321b35 feat(community): Add Pending states to community membership request decisions in members tab panel 2023-08-10 18:02:27 +03:00
Alex Jbanca e9a2b183c7 feat(Community): Add pending states to Community Request Notification 2023-08-10 18:02:27 +03:00
Khushboo Mehta 11820d0400 feat(@desktop/wallet): Wallet settings - Notification after each action
fixes #11719
2023-08-09 11:53:28 +02:00
Sale Djenic a06cd4b8a5 fix(@desktop/wallet): additional chat account visible when adding watch only account
Fixes: #11833
2023-08-09 11:26:37 +02:00
Igor Sirotin 34dba08b7a
fix: Only `scrollToMessage` when it's available in the database (#11784)
* rename `fetchMessageByMessageId` to `getMessageByMessageId`
* move reply clicking logic to `StatusMessageReply`
* make message found animation faster
* `asyncGetMessageById`
2023-08-07 23:52:04 +03:00
Alex Jbanca 9be2a8d799 feat(Community Overview): Trigger chart data updates on specific actions + optimise the backend calls
This commit includes the following changes:
1. Request from backend the messages count in a specific interval as opposed to all messages timestamps in that interval.
2. Update the chart end date before refreshing the data
3. Fix metrics type parsing in community service
4. Fix a bug where the new incoming data was not processed by ChartJs without a hover event on the chart. The fix here is to manually request paint() on model changes.d

Issues found and not handled here:
1. On large communities the backend request can take 3 minutes to complete
2. CPU usage can easily go to 100% when switching chart tabs on large communities. All the requests are processed by the backend.
2023-08-07 11:12:21 +03:00
Sale Djenic 6e5469f5aa chore(@desktop/wallet): sorting out keypair/account menu 2023-08-04 15:43:03 +02:00
Sale Djenic 570f312617 refactor(@desktop/wallet): wallet service improvements
Closes: #11752
2023-08-03 17:34:39 +02:00
Sale Djenic 23426f184b refactor(@desktop/wallet): tokens removed from `WalletAccountDto` and cached separately in wallet accounts service 2023-08-03 17:34:39 +02:00
Sale Djenic 838aa215e0 refactor(@desktop/wallet): wallet service dto files reorganized and moved to another folder 2023-08-03 17:34:39 +02:00
Jonathan Rainville 374f2e2149 feat(community): make importCommunity async
Fixes #11693
2023-08-03 09:16:03 -04:00
Michal Iskierko 780a6b6c68 feat(@desktop/communities): Expose remote destruct state to UI.
Issue #11182
2023-08-03 12:18:55 +02:00
Patryk Osmaczko 354bd3e923 feat(communities): implement channel-level members
closes: #11660
2023-08-03 10:58:24 +02:00
Jonathan Rainville f4c6cec87d feat(communities): add getCommunityPublicKeyFromPrivateKey function 2023-08-02 13:51:21 -04:00
Mikhail Rogachev edba946a71
feat(Community): Community messaging statistics chart (#11696)
* feat(Community): Community messaging statistics chart

Close 11152

- Use se `collectCommunityMessageMetrics` for messaging statistics chart
in community overview

* feat(Community): Transfer community metrics with dto objects

* feat: impl simple string-based model for community metrics

* fix(Community): Review fixes and fix for changing community when chat is open

* Update src/app/modules/main/chat_section/controller.nim

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-08-02 20:03:52 +04:00
Khushboo Mehta 5af56be60f fix(@desktop/wallet): Wallet: Send doesn't load preferred chains on account selection as recipient
fixes #11743
2023-08-02 13:38:49 +02:00
Sale Djenic 2e1b60ab06 feat(@desktop/wallet): account Interaction - remove master key and accounts
Closes: #11707
2023-08-01 14:27:23 +02:00
Khushboo Mehta 6c5c36584a feat(@desktop/wallet): Account view - Prefered network
fixes #11578
2023-08-01 09:51:33 +02:00
Dario Gabriel Lipicar bf4af3d7d4 chore(wallet) remove transactions module
Bump Status GO to support session based activity requests

Transaction module was replaced by activity module,
this change removes the old code.

Details:

- Remove transaction.Item and use the DTO directly
- Replace the still using missing functionality
- Remove old way of fetching transactions in response to the history event
- Use activity filter to provide history for "recents" in Send.

Closes #11339
2023-07-31 19:01:33 +02:00
Sale Djenic 2749236a56 feat(@desktop/syncing): recovering from waku if backed up data refers to a profile migrated to a Keycard
Closes: #11661
2023-07-28 17:06:35 +02:00
Dario Gabriel Lipicar 44cf2b6faa chore(wallet): remove collectibles service 2023-07-27 12:48:17 -03:00
Dario Gabriel Lipicar dc75c120df feat(wallet): use new status-go collectibles backend
Fixes #11558
2023-07-27 12:48:17 -03:00
Boris Melnik 43a5d7eeeb feat(new-links): Parse url data and display
Fixes: #10852
2023-07-27 15:08:21 +03:00
Pascal Precht 5351f2b694 feat: implement retrying deploying community contracts
Ultimately, this means deleting/removing the entry of the previously
failed deployment, then performing a new transaction.

Closes #11186
2023-07-27 09:32:03 +02:00
Lukáš Tinkl 57fc600d5e feat: Add status-go version to About screen
- Settings/About now displays the `status-go` version, read from its
`VERSION` file
- use the actual app icon, to differentiate between prod/dev version
- make the version numbers clickable, taking the user to either the
release notes (prod) or the GH commit browser (dev)
- add "Is production" switch to the About page in storybook

Closes #11424
2023-07-26 21:35:21 +02:00
Pascal Precht 7e714e33fc feat: implement delelete community token functionality
This partially addresses #11186 as it implements the delete
functionality for community tokens.

If a deployment failed, users have the ability to delete the added
community token from the list.

The retry functionality will be implemented in a follow up commit.

Needs: https://github.com/status-im/status-go/pull/3794
2023-07-26 19:52:33 +02:00
Pascal Precht cfa19658cd refactor: rename SIGNAL_COMMUNITY_TOKEN_DEPLOYED
We've been using this signal whenever a user has sent a transaction that
attemps to deploy a smart contract onchain.

However, at this point it's not yet known if the transaction will
actually go through. So to reflect what's actually happening, this
commits renames a few things:

- `SIGNAL_COMMUNITY_TOKEN_DEPLOYED` becomes
  `SIGNAL_COMMUNITY_TOKEN_DEPLOYMENT_STARTED`
- `CommunityTokenDeployedArgs` becomes `CommunityTokenDeploymentArgs`
- `onCommunityTokenDeployed` becomes `onCommunityTokenDeploymentStarted`

This should remove any confusion around whether or not deployment is
indeed finished.
2023-07-26 16:31:29 +02:00
Pascal Precht 9719b5899b refactor: make use of newly introduce `SaveCommunityToken()` API
As discussed in https://github.com/status-im/status-go/pull/3798, there
was a need to separate the logic in `AddCommunityToken()` into two API.

This commit adjust the client to these changes such that:

1. After community token deployment tx was sent, we create
   a `CommunityToken` and add it to the database for tracking purposes
2. Once the tx is mined or dropped, we add the community token to the
   community description and publish it, or we update the deployment
   state in the database

Needs: https://github.com/status-im/status-go/pull/3798
2023-07-26 15:14:34 +02:00