Commit Graph

10855 Commits

Author SHA1 Message Date
Lukáš Tinkl e58ae2c213 feat: Add external link to download extension plugin
- add a local popup with selection between "Status Connector" (external
link to Chrome Store) or "Wallet Connect" (the old flow involving
inputting the WC URI)
- simplify DAppsListPopup to use StatusDropdown to reduce code
duplication
- adjust SB and QML tests

Fixes #16111
2024-09-05 11:22:52 +02:00
Anastasiya Semenkevich e2e45fec3b chore: fix method reference 2024-09-05 10:39:49 +03:00
Michał Cieślak b8fbeb157f CollectiblesSelectionAdaptor: use default token icon as a fallback 2024-09-05 08:55:15 +02:00
Michał Cieślak 204d72cd40 TokenSelectorNew: workaround for QTBUG-62411, minor sizing fixes 2024-09-05 08:55:15 +02:00
Michał Cieślak d82499fd7b AssetSelector added
This component is simpler version of TokenSelector, composed of the same
basic componets, useful when only assets are subject of selection.

Closes: #16234
2024-09-05 08:55:15 +02:00
Michał Cieślak 01a24e1b19 TokenSelectorNew decomposed into smaller, reusable subcomponents 2024-09-05 08:55:15 +02:00
Michał Cieślak afd16d6f6c TokenSelectorButton excluded from TokensSelector, sizing issues fixed 2024-09-05 08:55:15 +02:00
Lukáš Tinkl 6b8702b0b2 fix(StatusNavigationListItem): unbreak hovering over settings menu items
- fixes regression when hover wouldn't work if the menu item contained a
beta tag

Fixes #16263
2024-09-04 18:16:15 +02:00
Anastasiya Semenkevich 32d50d6e86 tests: test for sending 0 eth 2024-09-04 16:16:10 +03:00
Anastasiya Semenkevich 9598e9a44c qml: new object names for token selector panel 2024-09-04 16:16:10 +03:00
Anastasiya Semenkevich 94c62dae26 chore: enable back test with context menu interactions 2024-09-04 12:06:11 +03:00
Jakub Sokołowski fa500a3b5b
fix(ci): add hash algoritm for Sectigo TS server
Otherwise signing fails with:
```
Error: SignerSign() failed." (-2146869243/0x80096005)
```
See:
https://stackoverflow.com/questions/62161135/signersign-failed-2146869243-0x80096005
https://github.com/electron-userland/electron-builder/issues/5166#issuecomment-663568037

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-09-04 09:21:58 +02:00
Alex Jbanca 99a209635b fix(Accounts): Avoid model reset on every account change
This fixes the issues where the accounts model gets reset on every minor model change triggering full UI refresh.
This is not fixing the root cause, but the symptoms in the upper-most level I could find in order to keep the regression risk to a low level.
2024-09-04 09:33:18 +03:00
Cuteivist 186b5f8798
fix: Update account only when networks did change (#16229) 2024-09-04 06:32:07 +02:00
Cuteivist f1904d9ef8
fix: Reset collectible details after exiting details page (#16231) 2024-09-04 06:29:31 +02:00
Iuri Matias 16d0df694c chore: update storybook minimum mac version 2024-09-03 13:36:37 -04:00
Iuri Matias c0885d66db chore: update in config.nims the minimum version to montery / 12 2024-09-03 13:36:37 -04:00
Iuri Matias 1b8d40dfc0 chore: Fix error detection for missing Homebrew bottles 2024-09-03 13:36:37 -04:00
Iuri Matias 491e6f89c7 chore: Update macOS deployment target to 12.0 and bottle version to Monterey 2024-09-03 13:36:37 -04:00
Lukáš Tinkl 5cf4592c3b fix: Slippage Selector Issues
- add various error/warning messages according to Figma (where it makes
sense)
- letters or more than 2 decimals are caught by the internal validator
so those combinations are impossible to enter
- fix marking the custom value as (in)valid
- fix selecting "Use default" after typing a custom value
- fix resetting to predefined value after typing a custom value that
matches one of the predefined ones
- reject typing thousands separator
- add regression QML tests for the above fixes

Fixes #15017
2024-09-03 17:36:48 +02:00
Khushboo Mehta e698fd3e34 fix(@desktop/wallet): merge to latest status-go version 2024-09-03 15:29:46 +02:00
Lukáš Tinkl 9d9fb69e3b feat(StatusEmojiPopup): reimplement around C++ EmojiModel
- the new C++ EmojiModel provides a simple wrapper around the existing
JSON to facilitate a faster access and to be able to search/filter in
QML using SFPM
- no more nested GridViews inside Repeaters
- get rid of emoji manipulation and search/filter using JavaScript
- included the C++ script to generate the emojiList.js
2024-09-03 10:19:54 +02:00
Lukáš Tinkl 19e0be07d8 feat: Upgrade emoji selection to support latest emojis
- upgrade to latest TWEmoji 15.1.0 from
https://github.com/jdecked/twemoji (the original twemoji is abandonware
now)
- create new EmojiJSON metadata from https://github.com/milesj/emojibase
- removed unused 26x26 assets
- add storybook page for StatusEmojiPopup

Fixes #8979
2024-09-03 10:19:54 +02:00
Cuteivist 70421a0454
fix: Correctly display manage tokens icons (#16228) 2024-09-03 06:07:03 +02:00
Michał Cieślak 9c4e1a8fe9 SubmodelProxyModel removed
Closes: #15825
2024-09-02 20:20:10 +02:00
Michał Cieślak 7c24d19241 Usages of SubmodelProxyModel migrated to ObjectProxyModel 2024-09-02 20:20:10 +02:00
Anastasiya Semenkevich 1e06a9c15a tests: enable back buy ens name test 2024-09-02 19:30:58 +03:00
Khushboo Mehta b8f41e35c4 feat(@desktop/wallet): Buy Mercuryo flow - Improvements
fixes #16041
2024-09-02 16:51:16 +02:00
Anastasiya Semenkevich 2c2f87f654 tests: temp exclude test from critical path
Referece: https://github.com/status-im/status-desktop/issues/16236
2024-09-02 15:49:48 +03:00
Anastasiya Semenkevich 31c2df2762 chore: update status-go to include fix for resolving community links in waku 2024-09-02 12:51:25 +03:00
Anastasiya Semenkevich 36e383eec6 chore: update random seed generator 2024-09-02 10:01:35 +03:00
Lukáš Tinkl 7c184f3500 fix(StatusChatInput): set max number of images to 6 to align with mobile
- re-evaluate the validators to be able to hide the warning after 3
seconds (the validators won't let the user select/paste an invalid
image; it's just the warning bubble that persisted)
- some small cleanups

Fixes #16210
2024-08-30 18:26:59 +02:00
Anastasiya Semenkevich 3c4eb3180d tests: fix typo in method name and update PRs tests list 2024-08-30 16:14:04 +03:00
Cuteivist ee770257c5
chore: Disable clicking on Betatag (#16207) 2024-08-30 12:19:42 +02:00
Anastasiya Semenkevich 5fa33249c7 tests: fix editing with right click 2024-08-29 18:06:26 +03:00
Anastasiya Semenkevich cc1e185080 tests: simplify adding new account from seed test 2024-08-29 18:06:26 +03:00
Michał Cieślak c9b7d9eab6 Remove nim api for clipboard handling
Additionally there is hook on ClipboardUtils added
to detect if copied string is a wallet address and call addressWasShown.
Earlier that call was done internally on nim side.

Closes: #16196
2024-08-29 15:46:17 +02:00
Michał Cieślak 4ac9a9b305 copyImageToClipboardByUrl moved to ClipboardUtils 2024-08-29 15:46:17 +02:00
Michał Cieślak 9c3b8fc34b Use ClipboardUtils.text instead of backend-dependent getFromClipboard 2024-08-29 15:46:17 +02:00
Michał Cieślak a8940a71f5 Using ClipboardUtils.setText instead of nim's copyToClipboard 2024-08-29 15:46:17 +02:00
Michał Cieślak 7757f4e615 QClipboardProxy QML type renamed to ClipboardUtils
Additionally, copyTextToClipboard is renamed to setText, mimicking
QClipboard naming.
2024-08-29 15:46:17 +02:00
Michał Cieślak 781133238a ClipboardUtils: isValidImageUrl and isValidImageUrl excluded to UrlUtils 2024-08-29 15:46:17 +02:00
Michał Cieślak 9311ebe7fe QClipboardProxy renamed to ClipboardUtils 2024-08-29 15:46:17 +02:00
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