Commit Graph

3122 Commits

Author SHA1 Message Date
Sale Djenic cbf0fd3d71 fix(general): when biometric is setup the authentication flow is not correct showing the password one instead
Closes #14173
2024-03-28 07:38:15 +01:00
Stefan b1f8c8efa2 fix(wallet) serializing type for collectibles settings to backend
It seems `%*` operator we use in the `rpc` generics doesn't use the
`serializedFieldName` marker and `type` was serialized as `itemType`
and value the enum name instead of `type` and integer value

Updates: #13971
2024-03-27 20:26:15 +01:00
Stefan 26542970ee feat(wallet) save/load collectibles user handled state in DB
Add a separation layer for save/load/clear to ManageTokensModel
so that we can save/load from external sources.
The separate layer is composed of JSON as protocol, a set of signals
and slots for interface. The implementation forwards data to current
QSettings for storybook and nim controllers for the app.

Updates #13313, #13312
2024-03-27 20:26:15 +01:00
Khushboo Mehta f45a39bfcf feat(@desktop/wallet): Link out from collectible details view to opensea
fixes #13918
2024-03-27 17:47:06 +01:00
Cuteivist fae7e82e0a
fix(@wallet): Copy viewed account details (#14161) 2024-03-26 16:49:12 +01:00
Jonathan Rainville e937dfb56c fix(main): set personnal chat as active if last active was profile
Fixes #14111
2024-03-26 11:03:27 -04:00
Andrey Bocharnikov c53e4aeb92
(Chat): Display system messages about adding/removing members immediately after an update is performed (#14146)
* (Chat): Display system add/remove messages immediately after update

fixes #9876

* (Chat): Display system "pinned" message immediately after update

fixes #10702

* fix issues from the PR
2024-03-26 18:13:22 +04:00
Stefan a066cbeecb chore(wallet) remove unused code 2024-03-26 11:24:08 +01:00
Stefan fb530a099a fix(wallet) counterparty loading forever in activity history
Closes: #14067
2024-03-26 11:24:08 +01:00
Cuteivist 1deb5e86e5
fix(wallet): Add token data when new token is added (#14061) 2024-03-25 18:31:01 +01:00
Sale Djenic 10a8469b9e fix(communities): deltas between designs and build for join token gated community flow
This commit:
- improves selection of addresses to reveal
- keeps the selection state for the popup lifetime
- brings higher granularity in terms of signed requests by keypairs
- meets new requirements from the latest related Figma
- merges edit shared addresses feature and request to join community features
into a single component, cause the flow is logically the same, with the only
difference that when editing revealed addresses we don't show the community
intro screen

Fixes at least points 3 and 4 from #13988
2024-03-25 14:16:32 +01:00
Lukáš Tinkl 9ef513b419 fix(TokenManagement): Asset balance threshold value not reflected in main wallet view
- take the balance threshold value into account when presenting the
assets in the main wallet view
- additional fix from Emil for storing the threshold value
- storybook fixes to display the correct `currentCurrencyBalance` values
based on the address/wallet filters and mocking the threshold values
using TransactionStore

Fixes: #14017
2024-03-23 11:37:37 +01:00
Jonathan Rainville e71d749ef2
fix(category): fix missing category when empty (#14086)
Fixes https://github.com/status-im/status-desktop/issues/14059
2024-03-22 12:55:40 -04:00
Godfrain Jacques af6dd257cc
(fix/desktop) fix sporadic empty community token hodler list (#14057)
This PR fixes #13650

- Reduces the timer for fetching the token hodlers to refresh cashe
- Check for temporary contract address before making requests
2024-03-21 16:49:34 -07:00
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