Commit Graph

10462 Commits

Author SHA1 Message Date
Anastasiya Semenkevich 69cdd30c11 tests: add account with derivation path test randomised 2024-08-28 19:44:15 +03:00
Dario Gabriel Lipicar 4257294c60 feat(wallet): upgrade paraswap api to v6.2
Closes #15755
2024-08-28 13:43:07 -03:00
Jonathan Rainville 087c3c6088
perf(chat_section): improve onChatsLoaded performance (#16186)
Fixes #16181

This commit improves the time taken by onChatsLoaded that is called on login.
The culprit is `buildChatSectionUI` in the chat_section module.
There is no silver bullet here. It's slow because the community is big and has a lot of channels to load and generate.

This commit helps by removing some old code that was inefficient (calculating if a channel has a permission instead of just using the `tokenGated` property for example).
It also adds all the section items in one go instead of one another.

There are some other small improvements, but again, no way to make it way faster. Thankfully, that time is spent with the loading spinner at the same time.
2024-08-28 11:21:13 -04:00
Cuteivist 658fe2a5b4
fix(wallet): Update collectibles media management (#16080) 2024-08-28 15:58:33 +02:00
Anastasiya Semenkevich ef9c2598cc chore: clean up user.py 2024-08-28 14:26:27 +03:00
Anastasiya Semenkevich d698d81e3f tests: test for blocking/unblocking user is now using brand new accounts 2024-08-28 14:26:27 +03:00
Sale Djenic 3cf6614082 chore: new router error `no positive balance` added 2024-08-28 11:26:23 +02:00
Anton Iakimov 9c4890698a
ci: move proxy stage setup to jenkins-lib 2024-08-28 10:30:43 +02:00
Jakub Sokołowski 2cf9cd61ce
chore(ci): add option to select timestamp server
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-08-27 19:06:39 +02:00
Jakub Sokołowski c2b404f410
chore(ci): add debug logs for windows signing
https://learn.microsoft.com/en-us/windows/msix/package/signing-known-issues

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-08-27 19:06:38 +02:00
Anton cba367ba1d fix import 2024-08-27 15:24:55 +02:00
Anton 9bc479cb7b fix imports 2024-08-27 15:24:55 +02:00
Anton c2b0a1c7d1 tests: add soft assertion 2024-08-27 15:24:55 +02:00
Anastasiya Semenkevich a7cb7376dd tests: use own profile link in messages so the information is not gone after 30 days 2024-08-27 14:50:29 +03:00
Seitseman 2275fe4f1f fix(Stored): Make stores typed
Adding types instead of var for stores used in qml components

Closes: #14801
2024-08-27 10:52:18 +02:00
richΛrd 1913d8e43a
fix_: mailserver.not.working signal (#16184) 2024-08-26 17:16:38 -04:00
Sale Djenic 09cd02c0f1 fix: can't add account when being offline
Fixes #15299
2024-08-26 18:23:58 +02:00
Anton Iakimov 49866d631b
ci: change Nix build filename to differentiate with regular build 2024-08-26 14:47:41 +02:00
Anastasiya Semenkevich ad68f46c5b tests: use randomly generated seed where possible 2024-08-26 11:52:39 +02:00
Anastasiya Semenkevich ea31d1115f qml: change object name for account actions 2024-08-26 11:52:39 +02:00
Alex Jbanca 736075b817 fix(WalletConnect): Fixing sign for uniswap and paraswap
There are two fixes needed here.
1. Status-go fix for unknown primitive when signing the message
2. Fix for Paraswap pairing failure due to required namespaces mismatch

Needs: https://github.com/status-im/status-go/pull/5755
2024-08-26 11:41:27 +03:00
Andrey Bocharnikov d3131c2bb9 fix(community): Missing community owner token image
fixes #15855
2024-08-23 11:03:45 +07:00
Jonathan Rainville dea975cd0a
fix(ac): cache ac unread count and hasUnread in the view (#16152)
Fixes #16023

Caches the values of the number of notifications and hasUnseen in the view so that we access status-go only when there is an update or on app start.
Also, uses the response value from user actions in the AC to retrieve the hasUnseen value directly instead of re-fetching.
Finally, fixes an issue where marking notifs as read/unread wouldn't update the count
2024-08-22 15:29:20 -04:00
Jonathan Rainville 30f1529471
fix(notifs): only fetch notification exemptions when going to the page (#16166)
Fixes #16165

All the logs about `settings_notificationsGetExPersonalMentions` are only to populate the model in the Notifications settings view, so it was pointless to load them on app start.
Now we lazy load them on loading that page.

An additional improvement that could be done later is to make it async and/or create a new API that gets all the DB info in one shot, because calling 4 APIs for each chat and community is a bit useless.
2024-08-22 14:48:04 -04:00
Sale Djenic 9aac6bbcdb fix: fixed issue with no fees when minting community token 2024-08-22 12:19:16 +02:00
Khushboo Mehta aca22d840c fix(@desktop/wallet): fix sending erc1155 2024-08-22 12:14:15 +02:00
Lukáš Tinkl 7a29f93df5 chore(Makefile): reduce ui-tests build and runtime
- do not depend on NIM for building/running StatusQ and Storybook stuff
2024-08-22 10:39:22 +02:00
Anastasiya Semenkevich 66fac6fa96 tests: refactor user.py 2024-08-21 17:06:41 +03:00
Lukáš Tinkl e868f335aa feat(Settings/Privacy and security): add Privacy Policy popup
- mention the "Privacy Policy" document in the text explaining "Help us
improve Status", make a link to it and display it in a separate popup
- add a standalone header button to the settings page, doing the same
- extend storybook page with the "placement" param

Fixes #16157
2024-08-21 15:28:11 +02:00
Cuteivist 67cf522f0a
fix(wallet): Fill bridge tx type (#16162) 2024-08-21 14:49:12 +02:00
Sale Djenic f3a33f414d fix: can't add ens name as watched address
Fixes #13902
2024-08-21 12:08:26 +02:00
Lukáš Tinkl f59ce285a9 fix(StatusBaseButton): correct radius and icon size for `isRoundIcon` mode
- this fixes 2 small regressions, namely in how we calculate the
background corner radius and icon size when in the mode of `isRoundIcon`
- the "Saved addresses" button in wallet's left view is very special on
its own; overall we have only 2 instances of this "round" icon buttons
in the whole app

Fixes #16156
2024-08-20 22:08:19 +02:00
Jakub Sokołowski 08d8c9ebf2
fix(nix): add missing nix.conf with our binary cache
Because re-building QT that we already have in cache locally is dumb.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-08-20 11:58:54 +02:00
Lukáš Tinkl 8115a7d6da chore(Settings/About): update Privacy Policy document
- change the section names and titles accordingly too
- open embedded links with an external browser
2024-08-20 10:46:00 +02:00
Lukáš Tinkl f4040fb580 chore(links): do not open confirmation for "mailto:" links
- the domain for those is empty anyway
2024-08-20 10:46:00 +02:00
Cuteivist 224dd5e58d
fix(wallet): Filter collectibles filter options (#16125) 2024-08-20 06:02:14 +02:00
Jonathan Rainville 3bef20401f
chore: remove calls to getLatestVerificationRequestFrom (#16149)
Fixes #16147

Since ID verification is disabled for now, we can remove the calls to getLatestVerificationRequestFrom.

If we want to have ID verification back, we can re-add those calls, but in my opinion, it should be done better from status-go directly, or only asking for the ID verif when looking at the contact's profile
2024-08-19 16:58:58 -04:00
Lukáš Tinkl e3dae7e1db feat(StatusButton) Add support to show text when button is loading
- add a secondary "loading" state (`loadingWithText`), that is show the
loading indicator next to the text
- simplify the StatusBaseButton layout (esp. handling the overall
opacity/visibility)
- add a QML test suite; the code was becoming too complex and adding a
simple boolean prop was getting "dangerous"
- port the SwapModal to use the new `loadingWithText` property

Fixes #15313
2024-08-19 22:36:50 +02:00
Dario Gabriel Lipicar 8dade32a39 feat(wallet): cleanup proxy env vars, add proxy stage name 2024-08-19 16:58:16 -03:00
Anastasiya Semenkevich 9a17498149 ci: adding more output for pytest when running tests 2024-08-19 20:42:53 +03:00
Jonathan Rainville 42a9530452
feat(metrics): add onboarding screen metrics and section navigation (#16112) (#16145)
* feat(metrics): add onboarding screen metrics and section navigation

Fixes #16100

Adds metrics for navigating to the different screens of the onboarding and when navigating to a new section while logged in; only when enabled of course.

I refactored the code a little to make it simpler. I moved the check to see if the metrics collection is enabled in the async task itself, so we don't have to check it each time we add a new metric

* fix metric sent from module

* review comments

* add flowtype
2024-08-19 12:52:17 -04:00
Jonathan Rainville afc129ee5b
chore(connector): disable connector flag and WS server by default (#16146)
Fixes #16101
2024-08-19 12:52:10 -04:00
Anastasiya Semenkevich 4673c1af57 tests: reduce timeout for saved address test 2024-08-19 14:36:50 +03:00
Lukáš Tinkl 7c10b16b67 chore(AmountToSend): AmountToSendNew is dead, long live AmountToSend 2024-08-17 09:39:42 +02:00
Lukáš Tinkl 114abc7015 chore(swap): port SwapInputPanel to AmountToSendNew
- adjust the API calls
- fixup the tests
2024-08-17 09:39:42 +02:00
Lukáš Tinkl aae265123b feat(GenericValidator): expose locale name
- make it possible to configure the locale of the validator
- use the correct default decimal point in AmountValidator
- update/add the relevant tests for AmountToSendNew
2024-08-17 09:39:42 +02:00
Lukáš Tinkl 7ddbcf926b chore(AmountToSendNew): expose some more properties
- like cursorVisible or fiatInputInteractive
- add support for "loading" overlays
2024-08-17 09:39:42 +02:00
Anastasiya Semenkevich 589e72cdfd chore: add verifications when checking checkboxes on modal 2024-08-16 19:08:23 +03:00
Anastasiya Semenkevich de7872546a tests: reorganise automated tests executed in prs for better visibility 2024-08-16 12:08:32 +03:00
Khushboo Mehta b20cb42def \fix(@desktop/wallet): Fix register ENS flow which is currently broken 2024-08-16 09:04:54 +02:00