Commit Graph

3208 Commits

Author SHA1 Message Date
Mykhailo Prakhov 201a5bfdfc
fix: draw community select bubble after community create (#14108) 2024-03-21 22:02:46 +01:00
Jonathan Rainville 2b219627a5
fix(category): fix muted category and received messages (#14082) (#14087)
Fixes #14079
2024-03-21 13:51:01 -04:00
Mykhailo Prakhov 398a92b12e
fix: open activity center mentions messages (#14075) 2024-03-21 15:52:45 +01:00
Igor Sirotin a2af01bcda
chore: force some warnings as errors (#14068) 2024-03-20 20:08:43 +00:00
Jonathan Rainville 19c283be8b
fix: fix warning and inconsistencies with spectating (#14041)
Kinda fixes #13957
2024-03-20 13:58:46 -04:00
Mykhailo Prakhov a586c6d352
feat(desktop/communities): View community member messages functionality (#14002)
* feat(desktop/communities): View member messages functionality
2024-03-20 11:50:10 +01:00
Igor Sirotin 5ba0ad8ef4
fix: allow scrolling to ContactRequest message (#14045) 2024-03-19 22:17:00 +00:00
Igor Sirotin de4c20ea4f
upgrade Nim-build-system (#13979)
* chore: upgrade nimbus-build-system

* test UnusedImport warningAsError
2024-03-19 13:58:02 -04:00
Mykhailo Prakhov f3d2d0a809
feat(@desktop/community): add new CommunityMemberState - CommunityMemberBanWithAllMessagesDelete (#14028) 2024-03-19 16:17:02 +01:00
Andrey Bocharnikov 8e0f5f9487
fix(chat_section): fix changing active chat on leaving another group chat (#14020)
* fix(chat_section): fix changing active chat on leaving another group chat

Fixes #9147
2024-03-19 12:58:14 +04:00
Michał Iskierko 9ed38bddb7
13291 hide channels (#13876)
* feat(@desktop/communities): Hide channels if the user is not permitted to view and hideIfPermissionsNotMet is set

Extend chats model with channel permissions info and hideIfPermissionsNotMet.
Visibility of chat item is based on: member roles, channel permissions, hideIfPermissionsNotMet.
If all channels from category are hidden, category item is also hidden.
If all chats in community are hidden, infomration label is displayed.

Issue #13291

* chore(@desktop): Upgrade status-go

Issue #13291
2024-03-18 13:33:07 -04:00
Michal Iskierko 958274259f fix(@desktop/permissions): Fix multiple tokens on tokens list
Fix #13993
2024-03-18 16:08:07 +01:00
Michal Iskierko ce4996075c fix(@desktop/communities): Fix joining community
Unexpected exception broke handleCommunityUpdates

Fix #13958
2024-03-18 14:13:57 +01:00
MishkaRogachev b37f0f0fd8 feat: emit signals on saving profile identity 2024-03-15 10:22:55 +01:00
MishkaRogachev 8a5164db68 feat: emit signals on saving profile showcase preferences
Close #13968
2024-03-15 10:22:55 +01:00
Igor Sirotin 2f7572a3f4
chore: remove unused imports (#13961) 2024-03-13 21:55:15 +00:00
Jonathan Rainville 634591b69f
feat: hook reactions in read only channel and fix issues (#13913)
* feat: hook reactions in read only channel and fix issues

Fixes #13523

* fix crash and missing emoji popup on group chats

* code review fixes
2024-03-13 15:13:41 -04:00
Jacek Sieka fc16b81caf
chore(nim): use compile-time string formatting (#13945)
Nim 2.2 comes with compile-time string formatting that doesn't raise
exceptions if the format string is invalid - instead a compile-time
error is given.

This PR introduces a backport of that feature which improves performance
and reduces the risk that formatting causes the app to crash and will
help migrating the codebase to newer nim versions that track exceptions
more carefully.

There should be no change in runtime behavior (except formatting being a
bit faster)
2024-03-13 18:38:54 +01:00
Noelia 66c51ed777 feat(ProfileShowcase): Add network prefixes and filter watch only accounts
- Added network prefixes in profile showcase accounts delegate and included them in the searcher.
- Added filter to just display own accounts in profile showcase accounts tab.

Closes #13899
2024-03-13 14:37:03 +01:00
Cuteivist 8f2d023702
chore(wallet): Fix crash on changing networks (#13952) 2024-03-13 14:19:03 +01:00
Michal Iskierko 86907b170c feat(@desktop/communities): handling bridge message replies
Issue #13258
2024-03-13 13:39:28 +01:00
Michal Iskierko 211801afd3 fix(@desktop/tokens): Compute deployment fees dynamically
Issue #13646
2024-03-13 12:36:12 +01:00
Khushboo Mehta 2f0343f0e9 feat(@desktop/wallet): Main Collectible Detail View enhancements
fixes #13804
2024-03-13 11:46:49 +01:00
Mikhail Rogachev 611d70a3b2
feat: Save profile identity in one json (#13937) 2024-03-13 10:46:40 +01:00
Jacek Sieka 427297068d
chore: clean up exception specifiers (#13735)
Annotating functions explicitly with `{.raises: [Exception].}` prevents
Nim from performing compile-time exception checking and is almost never
desired - it does have a tendency to spread through the codebase
however, similar to sub-par const correctness in C++.

The reason these annotations might have seemed necessary can be traced
to missing exception specifiers in the go imports bumped in this PR.

See
https://status-im.github.io/nim-style-guide/interop.c.html#functions-and-types
for background on Nim-go interop and
https://status-im.github.io/nim-style-guide/errors.exceptions.html for
more information on how exception tracking can be leveraged to find
missing error handling at compile-time.

This change has no runtime effect - it merely makes compile-time error
messages more informative or avoids them entirely.
2024-03-12 16:20:02 +01:00
Igor Sirotin a6f5f0bc94
fix: prevent forever chat loading animation (#13929)
* prevent animation if loading not started

* prevent scrolling to verification/contact request messages

* fix ac click behaviour

* remove CURSOR_VALUE_IGNORE. cleanup logs
2024-03-12 14:24:55 +00:00
Alex Jbanca e7a1f5e831 feat(ProfileShowcase): Sync dirty state with the source model
Whenever the source model becomes identical to the showcase dirty model, the dirty flag is removed
2024-03-11 20:58:55 +02:00
Igor Sirotin 67b81e1953
chore: clean up build log (#13928)
* chore: clean up build log

* more cleanup

* typo fix
2024-03-11 17:08:09 +00:00
Michal Iskierko 5bfa1724c8 fix(@desktop/permissions): Fix displaying tokens in permissions
Fix #13773
2024-03-11 15:03:24 +01:00
Andrey Bocharnikov 832ed03ea3
fix(chat_section_module): Fix propagation of "muted" status in chat header (when handling chat_content details update) (#13904)
#13559
2024-03-11 17:02:00 +04:00
Dario Gabriel Lipicar af84d788ff feat(@desktop/wallet): display balance in collectibles view
Closes #12940
2024-03-11 09:10:01 -03:00
Anthony Laibe b37b46414d fix(@wallet): buy ens from sepolia 2024-03-11 12:03:43 +01:00
Stefan 9202cce3f5 feat(activity): add incremental updates to current activity filter
Switch the activity filter to use the new session-based API that
deliver incremental updates to the current filter.

Drop the old quick win listening for individual change events and
use the unified API instead.

The new transactions (on-top) trigger the old "new transactions" buttons
that trigger reset of the current filter and the top new transacitons
highlighted.

Highlight mixed changes (not new on top) as they come in

Highlight new changes on filter reset

Closes #12120
2024-03-11 11:39:59 +01:00
Mikhail Rogachev 74dfd181c3
feat: Add new simplified model for profile showcase preferences (#13708)
* feat: Add new simplified model for profile showcase preferences

Close #13688

* feat: Add new api for saving profile showcase preferences

* feat(ProfileShowase): Save action with the new backend

- Created JSON file according to new backend structure when saving.
- Updated `dirty state` to sync writable and movable models when position is changed to have a better internal models sync.
- Reenabled identity fields save.

Closes #13799

* feat(ProfileShowcase): Showcase limit values integration with backend

Updated showcase limits with values coming from backend.

---------

Co-authored-by: Noelia <noelia@status.im>
2024-03-08 21:11:48 +01:00
Lukáš Tinkl 29c61d8135 fix: Hide fleet selection from settings
- introduce `ENABLE_FLEET_SELECTION` desktop config entry to control the
Fleet selection UI availability
- UI can be enabled with envvar `STATUS_RUNTIME_ENABLE_FLEET_SELECTION=1`

Fixes #13848
2024-03-08 13:29:28 +01:00
Mykhailo Prakhov 49f7accbc2 chore: send emphemeral notification from QML side 2024-03-07 11:56:21 -05:00
Mykhailo Prakhov 9b8c6aa673 feat: ban/unban/kick system and ephemeral notifications 2024-03-07 11:56:21 -05:00
Michal Iskierko 33c3fcf582 fix(@desktop/chat): Fix referencing message nil pointer
Fix #13812
2024-03-07 09:50:17 -05:00
Cuteivist 3188250b1d
feat(wallet): Add asset sorting by 1 day fiat change (#13826) 2024-03-07 14:47:17 +01:00
Sale Djenic ccd5a416ce fix(wallet): erc20 transfer with multiple path
Fixes: #13759
2024-03-06 14:06:51 +01:00
Khushboo Mehta 3118931ab8 fest(@desktop/wallet): Update Desktop UI to correctly call the router and send
fixes #13797
2024-03-06 12:31:16 +01:00
Jonathan Rainville 5b8f37cba2 fix(community_tokens): ignore wallet events from watch only accounts
Fixes #13407
2024-03-05 13:28:03 -05:00
Lukáš Tinkl b623c8fb2b fix(chat input): should be disabled if user is not able to post
- extend `isUserAllowedToSendMessage` to also cover
`Constants.chatType.communityChat`
- let `admin` always satisfy the permissions
- hide the add emoji/reaction button instead of disabling it when the
permissions are not met
- adjust the error msg to better reflect the reality (tokens vs.
permissions)

Fixes #13777
2024-03-05 18:13:29 +01:00
Dario Gabriel Lipicar 96d9acf1f0 feat(@desktop/wallet): implement jump to activity details screen from collectible details activity tab
Fixes #13721
2024-03-05 07:41:20 -03:00
Sale Djenic cbfbce3f62 fix(wallet): naming of first and subsequent wallet accounts
Closes #12693
2024-03-04 13:31:25 +01:00
Noelia babedf4272 feat(ProfileShowcase) Web tab visual updates according to new design
- Updated `AddSocialLinkModal` according to new design.
- Modified main social links items according to new design.
- Updated edit modal according to new design.
- Some text validation updates.

Closes #13511
2024-03-04 10:54:12 +01:00
Ivan Belyakov 7cda470089 fix(wallet): fix colors for network prefixes
Updates #13762
2024-03-04 08:59:58 +01:00
Mikhail Rogachev 0455832f92
feat: Add `scanCommunitiesMembersForName` endpoint (#13789)
Close #13434
2024-03-01 22:12:19 +03:00
Khushboo Mehta 8b46810531 fix(@desktop/wallet): Syncing: Difference in decimal places in wallet between synced devices
fixes #13574
2024-03-01 10:44:25 +01:00
Godfrain Jacques 0fab8e3070
(fix/biometrics) Fix biometric authentication (#13793)
fixes #13051 User blocked in model when using biometrics to share
address when joining a community
2024-02-29 21:19:30 -08:00
Jonathan Rainville c9fd4ebcee feat(communities): hook promoteSelfToControlNode to UI
Fixes https://github.com/status-im/status-desktop/issues/13560
2024-02-29 12:29:39 -05:00
Mikhail Rogachev f934615752
feat: Add api for getting full pending CR object (#13749) 2024-02-29 12:49:37 +03:00
Ivan Belyakov 9faa5a5a3a fix(wallet): use default wallet config for login to avoid duplication 2024-02-29 07:52:16 +01:00
Jonathan Rainville ed6c2d9c46 fix(permissions): TMs can also bypass permission to join
Fixes #13644

reverted better
2024-02-28 13:58:42 -05:00
Dario Gabriel Lipicar 10c44b8038 feat(@desktop/wallet): implement collectible details activity tab
Fixes #12311
2024-02-28 13:07:48 -03:00
Mikhail Rogachev 6ac2f92200
feat: add `markAsTrusted` endpoint (#13751)
Close #13716
2024-02-28 16:50:40 +03:00
Mykhailo Prakhov eb50a424e4
fix: pending ban/unban state display (#13752) 2024-02-28 14:43:20 +01:00
Michal Iskierko 3b5d55090d fix(@desktop/permissions): Handle correct values in permissions
Add new field AmountInWeis to token criteria dto.
Keep strings instead of floats in token_criteria_item.
HoldingSelectionModel keeps amount in wei-like units but they are displayed in permissions as floats (divided by decimals).

Issue #11588
2024-02-27 19:33:27 +01:00
Mykhailo Prakhov 996199b910
feat(desktop@communities): change kicked/banned member behavior (#13706)
feat: change kicked/banned member behavior
2024-02-27 12:55:56 +01:00
Anthony Laibe 0927955154 chore: remove pokt goerli 2024-02-27 12:50:37 +01:00
Ivan Belyakov be218c22cd feat(wallet): Send modal community tokens always grouped and listview sections changed
Closes #13430
2024-02-26 17:21:52 +01:00
Dario Gabriel Lipicar d22ac0dfed fix(@desktop/wallet): properly handle tokenID 0 when filtering activity by collectibles
Fixes #13660
2024-02-26 07:55:05 -03:00
Noelia 3386ce74e7 feat(ProfileShowcase): Created first info popup
- Created `ProfileShowcaseInfoPopup` component.
- Added storybook support for the new popup component.
- Added new popup into the application flow.
- New property stored in local account settings file.

Closes #13338
2024-02-26 10:08:52 +01:00
Khushboo Mehta 085bf762a5 feat(@desktop/wallet): Update token details view
closes #12373
2024-02-23 13:03:28 +01:00
Anthony Laibe aed61b68b1 feat(@wallet): sepolia default 2024-02-23 11:52:40 +01:00
Igor Sirotin 28d8145136
fix: use `fleetFromString` function to prevent panic for unknown values (#13699) 2024-02-23 10:14:42 +00:00
Godfrain Jacques 7313e224ae
(desktop/fix) Fix missing crown after ownership transfer (#13587)
This PR solves the missing crown problem after an ownership transfer

fixes #13218 https://github.com/status-im/status-desktop/issues/13218
2024-02-23 01:09:33 -08:00
Michal Iskierko 4031778c7c fix(@desktop/permissions): Use correct chains when creating permissions: testnet or mainnet
Fix #18896
2024-02-22 10:53:44 -05:00
Jonathan Rainville d6e13d709f fix(async_tasks): add try catch to getChannelGroups async task
Kind of fixes #13640

The issue itself was no reproducible even after dozens of restarts and following of the repro steps.
It seems like this was an unfortunate DB close event that caused the app to close.

Adding a try catch won't actually fix that, since the DB is closed and also the `communtiies`already had a try/catch, but it will help for later.
2024-02-22 10:09:02 -05:00
Cuteivist fae86bcb8d
feat(@wallet): Show community activity (#13627) 2024-02-22 15:41:19 +01:00
Cuteivist 3126973cfc
feat(activity): Add navigation to tx details (#13634) 2024-02-22 15:41:13 +01:00
Mykhailo Prakhov 12569d795f
feat(@desktop/community): allow owner delete all messages during the ban and ban/unban AC notifications (#13653) 2024-02-22 12:01:01 +01:00
Sale Djenic a3923461e8 fix(savedaddresses): saved addresses should be displayed in mixed cases format
Fixes #13665
2024-02-22 10:05:26 +01:00
Godfrain Jacques f236782490
(feat/desktop) Add toggle for mainnet transaction validation with nimbus (#13227)
- Adds the View for the toogle button
2024-02-20 11:07:22 -08:00
Cuteivist 7dedb223a2
feat(@desktop/activity): Handle token received notification (#13447) 2024-02-19 14:58:20 +01:00
Dario Gabriel Lipicar 28101f354a fix(@desktop/Wallet): Fix ERC721 sending 2024-02-19 10:35:10 -03:00
Cuteivist 2e6af7aa51
feat(@desktop/settings): Integrate token advanced settings with backend (#13487) 2024-02-19 13:09:07 +01:00
Dario Gabriel Lipicar 48f8fb3e55 feat(@wallet): update collectibles model only with changes
Fixes #13254
2024-02-16 15:40:40 -03:00
Alex Jbanca e805dd0b9c fix: Multiple permission update toasts are spawned
The permissions updates are done twice. Once when the permission update is called to the backend and the second time when the event for the new community description is received.
The permissions are not updated anymore when the backend rpc is called. The update happens only when the community description signal is received
2024-02-16 13:25:21 +02:00
Patryk Osmaczko a2b8c3d35c fix(communities): evaluate chatIDs changes in token permissions 2024-02-16 10:35:42 +01:00
Patryk Osmaczko b99db4193e fix(communities): propagate collectibles model for all communities
fixes part of: #13385
2024-02-16 10:35:42 +01:00
Patryk Osmaczko d6ed85c67f fix(communities): ensure permissions are rebuilt upon joining
fixes: #13385
2024-02-16 10:35:42 +01:00
Dario Gabriel Lipicar 1860aa8240 fix(wallet): implement sort collectibles by date
Fixes #13550
2024-02-15 14:09:04 -03:00
Jacek Sieka 1315911587 maintenance bumps
Maintenance bumps of several dependencies - broadly address security
issues, 1.6+ compatibility, bugfixes etc to catch up with Nimbus'
development

The extra try/catch is due to increased exception safety requirements in
`chronicles`, where `fmt` allows dynamic format strings and therefore
may raise `ValueError` in theory.
2024-02-15 11:28:34 -05:00
Mikhail Rogachev 6d9be9b49d
fix(Profile): fix requesting empty profile showcase (#13564) 2024-02-15 14:28:20 +03:00
Anthony Laibe 40e00c0602 fix(@wallet): Sepolia toggle 2024-02-15 11:53:22 +01:00
Sale Djenic dbd7937d8b feat(savedaddresses): add save receiver address to the context menu in tx details view
This commit handles saved addresses changes and reflect them to the history view
and tx details view. In this context it handles the same way changes coming from sync
devices.

Also fix the issue when switching network mode.

Closes: #13095
2024-02-15 10:07:48 +01:00
Sale Djenic 3e3452c8db fix(savedaddresses): saved addresses are not in sync between devices
Closes: #9567
2024-02-14 12:19:34 +01:00
Khushboo Mehta d970e7c3f2 fix(@desktop/wallet): Fix issues in adding minted collectible as permision in a community 2024-02-13 16:45:48 +01:00
Michal Iskierko 46c69cf0a8 fix(@desktop/permissions): Hide permissions list in sharing addresses dialog if only base permissions are set
Fix #12884
2024-02-13 12:09:26 +01:00
Jonathan Rainville d41affabb9 fix(discord_import): fix community not cleaned up when it fails
Fixes #12724

The actual issue wasn't reproducible, even if I removed the guards against duplicate names.
But I did find that the community wasn't cleaned up correctly, so I fixed it in this PR. It should limit the confusion and possible issues that could arise.
2024-02-12 16:43:16 -05:00
Mikhail Rogachev a463c335ae
feat(Profile): add hiddenCount property for profile showcase models (#13491) 2024-02-12 17:27:15 +03:00
Khushboo Mehta 8c939ad3a3 fix(@desktop/wallet): Replace existing model used in Community / Permissions and do the needed cleanups
fixes #12513
2024-02-12 14:26:13 +01:00
Alexandra Betouni 480985ca4e
[Settings]: Added change password view (#13284)
* [Settings]: Added change password view

Closes #10037

Adding configuration options to PasswordView

* feat(ChangePassword): Integrate ConfirmChangePasswordModal

1. Integrate with backend
2. Clean unused components

* feat: Add support to restart application

1. Adding restart app support in DOtherSide
2. Integrating nimqml
3. Expose in qml in Utils

* chore: Move changeDatabasePassword call to threadpool

* chore(squish): Fix failing tests due to settings index changes

---------

Co-authored-by: Alex Jbanca <alexjb@status.im>
2024-02-09 13:31:37 +02:00
Ivan Belyakov 1ac52f5d38 feat: Add RPC statistics screen to settings' advanced view
Closes #13264
2024-02-08 17:10:53 +01:00
Dario Gabriel Lipicar 8b7efa3122 feat(wallet): simplify loading items mechanism for collectibles model
Fixes #11802
2024-02-08 11:08:21 -03:00
Khushboo Mehta 3865c68737 fix(@desktop/wallet): fixing crash on switching testnet model from on to off 2024-02-08 11:26:50 +01:00
Roman Volosovskyi 3d1c98717a
Replace getWalletTokenBalances with fetchOrGetCachedWalletBalances (#13403) 2024-02-07 11:18:59 +01:00
Jonathan Rainville 7b302c07ef feat(chat): preserve 1-1 chat history when closing it + rename copy
Fixes #12754
2024-02-06 12:30:57 -05:00
Anton Iakimov a5b87314f7
chore: go-waku fleets cleanup 2024-02-06 12:39:05 +01:00
Lukáš Tinkl 9b85a302fc fix(showcase): unbreak drag and drop reordering
- unify the signature of the method to `move(from, to, count)` so that
both ListModel and NIM have it the same
- realize the move operation using the proper `begin/endMoveRows`
instead of doing a full model reset
- simplify signaling `dataChanged()` for all model roles (nimqml now
follows the C++ impl)

Fixes #13329
2024-02-06 10:09:56 +01:00
Godfrain Jacques ae16bd8b67
fix(settings): It's not possible to switch the log level (#13309)
* chore: bump status-go

Closes #13139

* fix(settings): It's not possible to switch the log level

Previously it was not possible to change the state of the Debug toggle.
This is because the code forced the setting the default value, ignoring
the database setup, hence always setting the DEBUG as LogLevel.

Closes #13139
2024-02-05 09:11:27 -08:00
Richard Ramos 0dd07a825a fix: missing clusterID in node config 2024-02-05 09:17:01 -04:00
Anthony Laibe 1634109971 feat(@wallet): token list global updated at
fixes #13269
2024-02-02 12:01:17 +01:00
Stefan 40396dcf6f test(wallet) add dev integration tests for incremental activity updates
Test used to investigate the deadlock caused by sending message while
in a message handler.
2024-02-01 21:21:13 +01:00
Alex Jbanca a55dcf299e performance: Improve the wallet loading time
+ small bug fixes
2024-02-01 16:46:40 +02:00
Michal Iskierko 0fbb2ebcb5 fix(@desktop/communities): Change arg structure. Wrong casting caused crash.
Fix #13368
2024-02-01 12:35:17 +01:00
Michal Iskierko 0d21ed2617 fix(@desktop/communities): Keep community tokens in cache.
Fix #12547
2024-02-01 10:17:50 +01:00
Mikhail Rogachev 752eda50a4
fix(Chat): Replace chat fetching in CR flows with message parsing (#13361)
Close #11854
2024-01-30 21:52:35 +04:00
Anthony Laibe 1ef6c53fc6 chore(@wallet): cache get keycards with same key uid
fixes #13135
2024-01-30 17:32:22 +01:00
Michal Iskierko 0a18dda176 feat(@desktop/chat): Displaying new type of chat message - bridge message
Show discord user as a message sender.
Show discord avatar next to user name.
Show "Bridged from Discord" label.
Open adjusted profile context menu.

Issue #13098
2024-01-30 13:06:17 +01:00
Anthony Laibe eee8ec8e32 feat(@wallet): sepolia optimism 2024-01-30 11:36:23 +01:00
Khushboo Mehta ff951f624a fix(@deaktop/wallet): Remove old tokens_service under accounts service and only keep new one.
fixes #13142
2024-01-30 10:56:51 +01:00
Sale Djenic c8d17f48e5 fix(keycard): app crashes when trying to generate new keys with an already used keycard
A crash was happening cause the wallet account service was not available before the user logged in.

Fixes: #13286
2024-01-29 15:17:42 +01:00
Sale Djenic d8102fa2b3 fix(keycard): copy keycard flow is blocked if the keycard user is copying to is locked and doesn't belong to any of the app's known keypairs 2024-01-29 15:10:50 +01:00
Sale Djenic 2ae217a830 fix(keycard): unable to pass pin entry screen in certain flows
Fixes: #13289
2024-01-29 15:10:50 +01:00
Sale Djenic bbaafa8954 feat(savedaddresses): display various cards if an address user is trying to save is known
Closes: #13280
2024-01-29 14:56:24 +01:00
Godfrain Jacques ab61784816
(fix/desktop) removing custom picture is not reflected on contact's side (#13197)
* chore: bump status-go

* (fix/desktop) removing custom picture is not reflected on contact's side

This PR fixes [9947](#9947) and contains :

- Commit to fix the changing of custom picture and having the change
  reflected on contact's side
- Commit to fix the deleting of picture and having the change reflected
  on contact's side
2024-01-26 07:54:30 -08:00
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
Khushboo Mehta 8da6847d42 fix(@desktop/wallet): Uses the new wallet assets in Profile showcase 2024-01-23 23:27:40 +01:00
Noelia 21a33cabd9 feat(Wallet/Toasts): Updated / added toasts related to community tokens received
- Added new role into ephemeral_notification_model: image.
- Added new view API to display ephemeral notifications with image and action.
- Added support to display asset or collectible image in a toast with different shape (circle or square).
- Default values assigned to the new parameters added in `CommunityTokensStore` meanwhile backend is not ready.
- Created page for `StatusToastMessage` in `storybook`.

Closes #13039
2024-01-23 18:40:28 +01:00
Sale Djenic daecb836ac feat(onboarding): remove mnemonic as early as possible
Closes: #13260
2024-01-23 16:38:41 +01:00
Sale Djenic bd3e9cb67c fix(keycard): unable to re-run keycard flow on windows
The issue re-running keycard flows on Windows is fixed in this commit,
cause a different signal was emitted on windows in case of missing Keycard.
2024-01-22 14:35:11 +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 29f1bee218 feat(@desktop/wallet): implement allCollectibles module
Fixes #13235
2024-01-18 13:57:04 -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
Dario Gabriel Lipicar c82a4ba602 feat(@desktop/wallet): add collectibles filter option collectibleIDs
Closes #13215
2024-01-18 12:28:23 -03:00
Sale Djenic 61677b72ac fix(keycard): pairings.json file creation fixed for windows 2024-01-18 12:34:32 +01: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
Sale Djenic 7eb4d8bff9 fix(keycard): fetching balances for unknown accounts (those read from keycard) is fixed
The same issue was present in two places:
- check whats on a Keycard
- importing an account from a Keycard to Status app

Fixes #11841
2024-01-18 10:15:42 +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
Dario Gabriel Lipicar 2b6f2229c7 feat(@desktop/wallet): Implement loadTypes in collectibles controller
Fixes #13169
2024-01-16 16:08:41 -03:00
Sale Djenic e115d5e7ce refactor(wallet): show qr popup updated to meet new ui requirements
Show Qr popup is partially refactored because of the two things:
- to meet new UI requirements (introduced in the new saved addresses design)
- to make usage of that popup more generic, that it can be easily used from different places
2024-01-16 18:36:30 +01:00
Dario Gabriel Lipicar 00d78b6710 feat(@desktop/Wallet): adapt to updated collectible backend data types
Fixes #12942
2024-01-15 13:52:21 -03: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
Anthony Laibe eb06c64358 fix(@wallet): wrong decimal place for market value in assets list
fixes #13152
2024-01-11 16:02:25 +01:00
Mykhailo Prakhov 5392da5361
fix(descktop@community): show create/update/delete permissions toast notification for priviledged members only when it is approved by the control node (#13166) 2024-01-10 19:16:26 +01:00
Igor Sirotin 8144ccaf46
fix: use local nickname in chat input link previews (#13168) 2024-01-09 22:36:09 +00:00
Khushboo Mehta 19a6ba915c fix(@desktop/wallet): Improving performance when switching accounts 2024-01-09 20:32:40 +05:30
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
Dario Gabriel Lipicar bfeee36042 fix(@desktop/wallet): Handle collectibles with missing metadata in lists
Fixes #13162
2024-01-08 17:11:57 -03:00
Dario Gabriel Lipicar 415d0f3594 fix(@desktop/wallet): Fix collectibles autofetch mode 2024-01-08 17:11:57 -03:00
Sale Djenic cf09505071 feat(savedaddresses): context menu - remove saved address
Closes #13093
2024-01-08 14:41:30 +01:00
Sale Djenic e35bc9db40 feat(savedaddresses): context menu - edit saved address
Closes #13092
2024-01-08 14:41:30 +01: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
Sale Djenic a055ad4d71 fix(@desktop/community): appropriate password form used when signing join community request in case the profile is migrated to a keycard 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
Sale Djenic e4958adb0e fix(@desktop/onboarding): when recovering user sometimes needs to wait for the end of the countdown even if all backup data are fetched
Fixes: #13058
2023-12-22 11:04:55 +01:00
Igor Sirotin 50c187edff
remove legacy `requestCommunityInfo` code (#13012) 2023-12-21 20:05:04 +00:00
Godfrain Jacques 69f872f130
Fix recent stickers displayed after sticker packs are deleted (#13066)
* fix(@desktop/stickers): Fix sticker showing uninstalled sticker pack

fixes #12677

* chore: bump status-go
2023-12-21 11:49:55 -08: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
Dario Gabriel Lipicar 79cca1d5cc feat(@desktop/wallet): React to collectible metadata updates
Closes #12494
2023-12-20 16:59:41 -03:00
Dario Gabriel Lipicar 7e8cf4fa4d chore(@dekstop/wallet): cleanup collectibles data types 2023-12-20 16:59:41 -03: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
Godfrain Jacques 8872877524
fix(@desktop/chat): Message reactions popup shouldn't revoke reactions (#13003)
fixes #10703

- Adding a reaction by going in add reaction and clicking R1 should have no effect (Currently the reaction R1 is removed which is not expected)
- Clicking on the R1 directly on the message should remove the reaction (I checked and this already works)
- Add a visual indicator in the add reaction popup on which emoji is already selected
2023-12-18 14:34:10 -08:00
Sale Djenic e24e3d734c feat(walletconnect): check for potential WalletConnect pairings after the user logs in
Closes: #12993
2023-12-18 09:25:42 +01:00
Sale Djenic 969998dd3f chore(walletconnect): store wallet connect sessions instead of pairings
Closes: #13008
2023-12-18 09:25:42 +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
Sale Djenic bf8b87f034 feat(walletconnect): support for eth_signTypedData v3 and v4
Closes: #12961
2023-12-13 09:08:24 +01:00
Stefan a8fb355a8d feat(wallet) activate Wallet connect modal from deep-links
- Open wallet connect modal when the application is opened from a
  deep link
- Add test entry that opens wallet connect modal with mocked
  StatusDesktop app that can be used for testing
- Add tests

Closes #12641
2023-12-12 20:12:53 +01: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
Sale Djenic d587552c40 chore(walletconnect): improvements identifying pairings and sessions 2023-12-11 09:04:20 +01: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
Cuteivist 0b26070833
chore(@desktop/wallet): Show wallet activity (#12946) 2023-12-06 11:59:32 +01: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
Igor Sirotin 666c74dcc0
fix: prevent recursive logging (#12916) 2023-12-04 17:11:54 +00: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 e7c4cd7c6c chore(@dekstop/keycard): os sleep used in the past is not needed any more 2023-12-01 16:25:20 +01:00
Sale Djenic 608bb38874 chore(@desktop/keycard): improvement in terms of avoiding overlapping keycard library flows 2023-12-01 16:24:58 +01:00
Cuteivist e552a01d2b
fix(@desktop/wallet): Use second chain activity details data (#12705) 2023-12-01 15:31:47 +01:00
Michal Iskierko 320a3a3e3d fix(@desktop/permissions): Fix filling collectibles and assets model in permissions
Fix #12885
2023-12-01 11:17:47 +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
Stefan 17c7e46917 feat(wallet) Wallet Connect: process delete_session
Requires the specific status-go changes that brings WCChangePairingState

Process delete session and update internal pairing history state

Updated testing while fighting for the issue of not deleting the session
Found out that the client requests a different topic in the delete
session request.

Also:

- update debugging UX to support session events
- update storybook to support mocking session events
- fix go test utility to account for refactoring

Updates #12858
2023-11-30 10:47:41 +01: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