Commit Graph

10040 Commits

Author SHA1 Message Date
Lukáš Tinkl 42533b8c61 feat:[UI - Swap] Create new TokenSelector component
- create new dedicated (asset) token selector component
- integrate it into `SwapInputPanel` and `SwapModal`
- add respective SB page and QML tests suite

Fixes #14783
2024-06-25 13:06:57 +02:00
Valentina Novgorodtceva afde836517 test: replaced old test of sending request to send/accept/decline request and remove contact 2024-06-24 16:24:57 +03:00
Valentina Novgorodtceva 50553f623a test: prepared user data for future tests 2024-06-24 16:24:57 +03:00
Valentina Novgorodtceva 40bcf33ffb chore: added global timeout so any test would fail in case it is stuck and takes more than 3 minutes 2024-06-24 16:24:37 +03:00
Anastasiya Semenkevich 5b729557f5 Update Jenkinsfile.tests-e2e 2024-06-24 16:24:37 +03:00
Anastasiya Semenkevich 98f6f1df9c Update Jenkinsfile.tests-e2e 2024-06-24 16:24:37 +03:00
Anastasiya Semenkevich b97c9ba057 more debug with debug plugins 2024-06-24 16:24:37 +03:00
Anastasiya Semenkevich a6c996e841 chore: set qt logging rules env var 2024-06-24 16:24:37 +03:00
Valentina Novgorodtceva b3e6d49915 chore: added global timeout so any test would fail in case it is stuck and takes more than 3 minutes 2024-06-24 16:24:37 +03:00
Roman Chornii 1ba7ba31aa
fix(Wallet.RootStore): Improved some of the property bindings between QML and Nim layer. Removed unused properties. (#15279)
Fixes: #14803
2024-06-24 13:30:24 +03:00
Ivan Belyakov ee8da30c95 chore: bump status-go to include cryptocompare proxy feat 2024-06-24 12:16:37 +02:00
Alex Jbanca eb6f037df0 fix(e2e): Fixing ComboBox isChecked flag to allow 3 state checkboxes 2024-06-21 16:18:51 +03:00
Alex Jbanca 901362dfc1 feat(networkSelector): Refatoring of NetworkSelector to remove backend dependency 2024-06-21 16:18:51 +03:00
Jonathan Rainville 8ca51c34cc
refactor(messages): make message sending async (#15237)
Fixes #12411

Makes message sending async and adds a placeholder "Sending.." message
2024-06-20 18:46:12 -04:00
Anastasiya 033bf99974 chore: add reference to skipped test 2024-06-20 22:07:19 +03:00
Anastasiya Semenkevich d975dc66a1 tests: test for adding account from settings is disabled 2024-06-20 22:07:19 +03:00
Alex Jbanca d1053be5f0 fix(SwapModal): Fixing the modal height 2024-06-20 21:32:00 +03:00
Alex Jbanca b4a9df62e2 refactoring(NetworkSelectionView): Update NetworkSelectionView and remove the backend dependency
This commit creates a new component NetworkSelectorView and it's implementation will replace the NetworkSelectionView
+ Adding the storybook page
+ Adding tests
2024-06-20 16:30:10 +03:00
Anastasiya Semenkevich 527654e579 chore: fix locator for RoundImage to use object name 2024-06-20 15:13:54 +03:00
Alex Jbanca 429203cd66 refactoring(NetworkSelectItemDelegate): Remove backend dependency and clean the API
This is the first step in refactoring the NetworkFilter, by cleaning the base component that handles the check states.
This component supports multiple configurations:
1. Single selection with or without radio button
2. Multiple selection with or without checkbox
3. Automatic handling of the check state. The component will change the check state based on user clicks
4. Manual handling of the check state. The component will not change the check state, but offers a toggled signal and expects the user to change the check state based on external flows

+ Fix minor bugs
2024-06-20 15:13:54 +03:00
Siddarth Kumar 5bdda2e6d9
e2e: specify linux platform for QT (#15268)
In this commit we specify `QT_QPA_PLATFORM` to  `linuxfb`
reference -> https://doc.qt.io/qt-5/embedded-linux.html#linuxfb
This ensures we do not rely on `xcb` for e2e tests on linux hosts.

Helps us fix the following error :
```
"Could not load the Qt platform plugin "xcb" in "" even though it was found."
```
2024-06-20 17:05:04 +05:30
Valentina1133 c3112e9f23
chore: replaced inviting people to community by another method (#15226) 2024-06-20 17:18:10 +07:00
Valentina1133 c8eb48cf04 chore: changes for mint owner token test (#15270) 2024-06-20 11:24:35 +03:00
Alex Jbanca 8b4cbc59a8 refactor: Refactoring of AccountSelector dropdown
The new account selector expects a generic account model. It will display all the account data if provided, including preferred chains, balance or asset balance. Otherwise it will display only the available data.
The account selector can receive an initial selection based on account address and will provide the current selected address and the current selected model item.

- Unify the account selector between communities and wallet
- Update the account selector to work with addresses instead of model indexes
- Adapt all components using the account selector or the account selection
- Move/reuse qml components involved in the account selector UI
- Remove nim logic used to handle index based account selection.
- Adding storybook page
2024-06-20 11:24:35 +03:00
Khushboo Mehta 0645ed4712 fix(@desktop/wallet): solving the issues with SwapInputPanel list in the issue
fixes  #15162
2024-06-19 17:20:22 +02:00
Michał Cieślak d700a1ad53 chore(Wallet): AssetView replaced with the refactored version
Closes: #14704
Closes: #14939
2024-06-19 16:36:18 +02:00
Michał Cieślak 38914df0f0 chore(Wallet): Integrate refactored AssetView and related adaptor 2024-06-19 16:36:18 +02:00
Michał Cieślak b12caa3f9a feat(Wallet): AssetsViewAdaptor added for preparing data for AssetsView 2024-06-19 16:36:18 +02:00
Michał Cieślak 4f24ee0422 fix(ObjectProxyModel): source data change handling improved
- source dataChanged rage is checked and skipped if malformed
- dataChange is not propagated to delegate for rows not accessed so far
2024-06-19 16:36:18 +02:00
Michał Cieślak 45863ad4c1 feat(MangeTokensController): add method returning order of given token 2024-06-19 16:36:18 +02:00
Michał Cieślak 3aa48b0549 feat(Storybook): Simple checkBox-based selector useful in SB pages 2024-06-19 16:36:18 +02:00
Michał Cieślak 6cfef32204 feat(GenericListView): Ability to display images, option for skipping empty roles 2024-06-19 16:36:18 +02:00
Michał Cieślak 22be234f7c featch(MonitoringTool): Add possibility to copy model to clipboard as JSON 2024-06-19 16:36:18 +02:00
Michał Cieślak 436ae9f1f3 feat(AssetsView): business logic not related to ui removed 2024-06-19 16:36:18 +02:00
Dario Gabriel Lipicar 15452aa79c feat(wallet): integrate swap slippage percentage parameter
Closes #15096
2024-06-19 09:58:36 -03:00
Andrey Bocharnikov f118af8403 fix(community): update hidden channels visibility when joining the community
fixes #14719
2024-06-19 19:57:54 +07:00
Patryk Osmaczko 774c08eec7 chore(tests): make permissions tests required for PRs 2024-06-19 13:58:55 +02:00
Patryk Osmaczko dc49843948 Revert "chore: disabled permissions tests, there is a bug"
This reverts commit 4226eaed0b.
2024-06-19 13:58:55 +02:00
Patryk Osmaczko 77df059c9f Revert "Bump nim-serialization and nim-json-serialization (#14058)"
This reverts commit 6d96745c04.

fixes: #15246
2024-06-19 13:58:55 +02:00
Khushboo Mehta 5c1e800f14 feat(@desktop/wallet): Add Select Input and output params to swap modal
fixes #14826, #14825
2024-06-19 12:47:26 +02:00
Valentina Novgorodtceva 4226eaed0b chore: disabled permissions tests, there is a bug 2024-06-19 11:44:19 +03:00
Khushboo Mehta 8d6d6bdd84 feat(@desktop/wallet): Getting swap proposal
fixes #14828
2024-06-19 10:21:07 +02:00
Lukáš Tinkl a12a6a4894 feat[UI - Wallet Stability] Create generic/reusable assets listview component
TLDR: later this should form a basic building block for a new
TokenSelector picker component, potentially replacing the current
HoldingSelector* and TokenListView components (support for collectibles
TBD as part of https://github.com/status-im/status-desktop/issues/15121)

- create reusable `TokenSelectorAssetDelegate` and `TokenSelectorView`
- add corresponding SB page, showcasing the flow/integration and the
separation of concerns between the view, adaptor and delegate layers
- add QML testcase for TokenSelectorView
- don't display crypto symbol for token balances per chain tags
- update the stores and SB pages
- add some missing formatter functions to LocaleUtils and CurrenciesStore

Fixes #14716
2024-06-18 23:09:20 +02:00
andri lim 6d96745c04
Bump nim-serialization and nim-json-serialization (#14058) 2024-06-18 17:05:45 +02:00
Igor Sirotin 430f2501d4
fix: bandwidth usage (#15231)
* feat: added bandwidthStatsEnabled login flag

* update status-go
2024-06-18 15:19:10 +01:00
Anastasiya Semenkevich 1c5aad7733 chore: replace conditions with function call in system.py 2024-06-18 15:04:44 +03:00
Anastasiya Semenkevich dc628f300a chore: terminate process on windows 2024-06-18 15:04:44 +03:00
Igor Sirotin eb9c629bbf
fix: removeTrustStatus response processing (#15206) 2024-06-18 11:08:30 +01:00
Igor Sirotin 067f406572
feat: limit message link previews count (#15214) 2024-06-18 11:08:14 +01:00
Valentina1133 4170f589b3
chore: improved 1-1 chat so it will decrease duration of test + added verification that message was edited (#15201) 2024-06-18 16:42:55 +07:00