Commit Graph

10802 Commits

Author SHA1 Message Date
Anastasiya Semenkevich f48eed2b28 chore: refactor community tests to use random community data 2024-10-18 20:14:28 +03:00
Anastasiya Semenkevich 09524b925a chore(@StatusQ): add object name for community tag 2024-10-18 20:14:28 +03:00
Anastasiya Semenkevich 05f8005336 chore(@storybook): skip flaky test 2024-10-18 20:14:28 +03:00
Michał Cieślak 9332d1a2ed StatusQ: ModelCount simplified and property added
Closes: #15740
2024-10-17 16:25:34 +02:00
Michał Cieślak c22a15e8fa Backend-dependent content removed from Constants, userProfile removed from Global
Closes: #16459
2024-10-16 23:02:02 +02:00
Michał Cieślak 02993196e9 References to Global.userProfile removed from multiple components 2024-10-16 23:02:02 +02:00
Michał Cieślak 8fb9440235 ContactsStore: getProfileContext simplified 2024-10-16 23:02:02 +02:00
Michał Cieślak c4828a094b Access to user profile encapsulated in profile store 2024-10-16 23:02:02 +02:00
Michał Cieślak dc3a1ca39b SendModal handler removed from ProfileSectionStore 2024-10-16 23:02:02 +02:00
Michał Cieślak 3bf415add0 UserStatusContextMenu refactored to be not dependent on stores 2024-10-16 23:02:02 +02:00
Michał Cieślak affaf6099f chore: Unused PopupMenu removed 2024-10-16 23:02:02 +02:00
Anastasiya Semenkevich 3623807f62 chore: update password range and make change password test required for PRs 2024-10-16 22:24:56 +02:00
Lukáš Tinkl b052416666 fix(PasswordView): Password instructions missing max length requirement
- set the pass max length to 100 (via `Constants`, not with a hardcoded
regexp)
- delay the validation until the user hits the limit
- clear the categories (lower/upper/num/sym) info if the password is
cleared too
- update the error messages according to latest Figma designs

Fixes #16239
2024-10-16 22:24:56 +02:00
Michał Cieślak 62f85acf31 fix: bump SFPM to fix ussues caused by bug in SFPM
Closes: #16531
2024-10-16 13:55:06 +02:00
Sale Djenic fe5c135486 chore: sign the flow only once if approval and transaction need to be placed once after another (swap flow)
Closes #16337
2024-10-16 09:52:46 +02:00
Alex Jbanca 684d0b4d63 fix: DAppsWorkflow flaky test 2024-10-15 13:40:48 +03:00
Anastasiya Semenkevich eeef165743 chore: fix community tests to have tag filled in 2024-10-15 10:29:31 +03:00
Michał Cieślak 663364452e DappPermissionsView and related sub-components removed
Closes: #16517
2024-10-14 23:28:05 +02:00
Michał Cieślak fe08742cc3 Various small unused components removed 2024-10-14 23:28:05 +02:00
Michał Cieślak 1f61b77739 ChatCommandsPopup and related sub-components removed 2024-10-14 23:28:05 +02:00
Michał Cieślak 912b94859d TransactionBubbleView and related sub-components removed 2024-10-14 23:28:05 +02:00
Michał Cieślak d5a0589591 Remove unused RecipientSelector and related components 2024-10-14 23:28:05 +02:00
Anastasiya Semenkevich e864897863 chore: filling in tags for community is now required 2024-10-14 11:39:58 +02:00
Lukáš Tinkl 26dddcaff9 feat(CreateCommunityPopup): validation and ensuring min. 1 tag added
- enable the Next button, and delay the validation after it's been clicked
- visually display required fields also for logo, banner, and tags (min
1 tag is required now)
- when pasting over limit, chop the text to the maximum length, instead
of just leaving the text field empty
- do not let the popup autoclose on clicking outside or pressing Esc
- add a StoryBook page
- minor cleanups and alignments to the latest Figma designs/flows

Fixes #13966
Fixes #16479
Fixes #14902
2024-10-14 11:39:58 +02:00
Anastasiya Semenkevich 5518df3af9 chore(@e2e): enable change password test in nightly 2024-10-14 11:52:23 +03:00
Anastasiya Semenkevich 748b9b94fc chore(@e2e): update test for sharing wallet address 2024-10-14 11:52:23 +03:00
Michał Cieślak 03db15529e Cleanup after #16497 workaround 2024-10-11 23:37:50 +02:00
Michał Cieślak f75e4e0c47 Introduce ability of calling StatusQ methods from nim
Closes: #16496
2024-10-11 23:37:50 +02:00
Anastasiya Semenkevich 14637a8709 chore: fix max limit for password to keep it 64 chars 2024-10-11 18:48:37 +02:00
Anastasiya Semenkevich bebeaf2de3 chore: change tests for adding saved address according to new flows 2024-10-11 18:48:37 +02:00
Khushboo Mehta 3f55e6c9c5 feat(@desktop/wallet): Remove preferred chains from wallet accounts all over the app 2024-10-11 18:48:37 +02:00
Khushboo Mehta 7003ba73e2 feat(@desktop/wallet): Remove network prefixes in saved addresses and ReceiveModal 2024-10-11 18:48:37 +02:00
Khushboo Mehta 95369bca11 feat(@desktop/wallet): Remove network prefixes from main wallet accounts list 2024-10-11 18:48:37 +02:00
Khushboo Mehta 16a403e3e5 feat(@desktop/wallet): Remove network prefixes in Profile, Profile showcase and Profile preview 2024-10-11 18:48:37 +02:00
Khushboo Mehta 60fb566580 feat(@desktop/wallet): remove address prefixes from wallet account settings 2024-10-11 18:48:37 +02:00
Jonathan Rainville d6031f8126
refactor(members): use a single members list for public community chats (#16301)
Fixes #16288

Introduces a new instance of the users module, but managed by the section module.
This user module is managing the "public" community members list. Meaning that everytime we have a public channel in a community, we use that module instead.

The channel's user module is empty for public channels to reduce the amount of processing and memory used.

If the channel becomes private, we update the member list and populate it.
2024-10-11 12:35:35 -04:00
Jakub Sokołowski 3e4e3591cd fix(ci)_: move nim cache to workspace tmp folder
An error has shown that Nim compilation uses cache folder in `jenkins` home:
```
clang: error: no such file or directory:
'/Users/jenkins/.cache/nim/nimsuggest_r/@m..@slib@swrappers@slinenoise@slinenoise.c.o'
```
This is a bad idea as parallel CI builds can result in very bizzarre bugs.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-10-11 13:23:35 +02:00
Michał Cieślak 206bc79ab4 downloadImageByUrl moved to SystemUtils 2024-10-11 12:14:53 +02:00
Michał Cieślak 3f9f175e07 restartApplication() removed from Utils.qml and nim 2024-10-11 12:14:53 +02:00
Michał Cieślak 417ad03ce1 StatusQ: Redundant TextUtils removed 2024-10-11 12:14:53 +02:00
Michał Cieślak 9f9dcefcf8 chore: using StringUtils.plainText consistently
There were two version of plainText - one exposed from the backend,
another, backend-independent in StringUtils. The latter one is now
used in all cases.
2024-10-11 12:14:53 +02:00
Alex Jbanca 17be3bfb2c chore(E2E): Use `mouseWheel` method to scroll
This makes the scrolling work for any qml type where the child supports scrolling.
By default the cursor is positioned in the middle of the scrollable item and scroll in steps of 30px.
2024-10-11 09:22:16 +03:00
Anastasiya Semenkevich 65798a0046 chore: fix tests 2024-10-11 01:37:10 +03:00
Alex Jbanca e99f817ccc chore: Migrate to the new WC packages
Migrate from `Web3Wallet` to `WalletKit`.
More details in the WC docs https://docs.reown.com/walletkit/upgrade/from-web3wallet-web
2024-10-10 23:32:50 +03:00
Lukáš Tinkl 28e9b6da27 fix(CommunityMemberMessagesPopup): fix displaying of messages
- fix a refactoring bug in the stores
- disable the context menu since it's not really usefull and we're still
missing like a dozen of stores needed for MessageView anyway
2024-10-10 21:50:58 +02:00
Lukáš Tinkl 6ba74fae8e fix(StatusChatInfoButton): missing lock icon
- propagate and set `requiresPermissions` + `locked` from the
`chatContentModule.chatDetails`
- set the icon accordingly for community chats

Fixes #16502
2024-10-10 21:50:58 +02:00
Jonathan Rainville 0bb2bc0e03
Fix some of the freezes experienced by the admins when the community updates (#16384)
* fix: force focus on search inputs in permissions and sort members
* fix(admin): fix freezes when community gets updated
* fix(airdrop): use FastExpressionFilter to speed up

Iterates #16043

When the community gets updated by any means, we reconstruct the section item, which is already bad, but we also re-fetch all tokens and all shared addresses, which in turn re-updates models for no reason.

Instead, I make sure to only fetch those on first section build, then, I get the new shared addresses when members join using the request to join response that comes from status-go
2024-10-10 13:01:47 -04:00
Anthony Laibe 70fccb3835 chore(@wallet): Desktop is in beta
Remove warning discouraging usage
2024-10-10 13:21:46 +02:00
Alex Jbanca fd99b96cb5 feat(WalletConnect): Handle sign request expiration
Implementing the user-story for sign request expiry and add qml tests
+ other minor fixes

## Acceptance Criteria

```
//Always show the expiration
Given the sign/transaction request dialog is shown
When request has an expiration date
Then the user sees a 1 minute countdown in the dialog
```

```
// Show 1 minute timer
Given the sign/transaction request dialog is shown
When the request has 1 minute or less before expiring
Then the user sees a 1 second countdown in the dialog
```

```
Given the sign/transaction dialog is open
When the request expires
Then the Accept button is removed
And the only option for the user is to close the dialog
```

```
Given the sign/transaction request dialog is open
When the request expired
Then the `Sign` and `Reject` buttons are removed
And the `Close` button is visible
```

```
Given the sign/transaction request expired
Then a toast message is showing
And it contains the "<dapp domain> sign request timed out" message
```

```
Given the sign/transaction request dialog is open
When the request expired
Then the sign/transaction request dialog is still visible
```

```
Given the sign/transaction request expires
Then a console message is shown
And it contains 'WC WalletConnectSDK.onSessionRequestExpire; id: ${id}`'
```
2024-10-10 12:49:15 +03:00
Anastasiya f536c3447f chore: update tests 2024-10-10 10:33:13 +03:00