Cuteivist
c934ba74ef
feat(wallet): Networks model improvements ( #15305 )
...
* refactor getters for chainIds and enabledChainIds
* simplify community chainIds getter
* simplify usage of network dto objects
* remove duplicated roles from send area
* rename network model in send module to network route model
2024-07-03 10:51:15 +02:00
Alex Jbanca
4bcda69d4a
feat(WC-establish-connection): Fine-tune dApps button
...
1. Transform the dApps button into a combo box and add badge indicator + tooltip
2. Add storybook page
3. Adding tests
4. Minor fixes - dApps popup width, ModelUtils imports
2024-07-03 11:03:18 +03:00
Cuteivist
c59ac4f3f0
feat(wallet): Wallet accounts model improvements ( #15213 )
2024-07-03 05:55:05 +02:00
Lukáš Tinkl
869abe8b59
fix(TokenSelector): fix sections and empty search result
...
- do not display sections with an active search
- display a "No assets found text" when the search yields no results
2024-07-02 21:25:15 +02:00
Lukáš Tinkl
ca3d1ba067
fix(TokenSelector): fix margins and hardcode popup height
...
- also position the view at the beginning, not on the selected item on
startup
(based on feedback from design)
2024-07-02 21:25:15 +02:00
Lukáš Tinkl
464af7a04d
fix(TokenSelector): Duplicate plain token entries
...
- filter out plain tokens from the adaptor's if already present in the
output model
- add a corresponding regression test
Fixes #15412
2024-07-02 21:25:15 +02:00
Lukáš Tinkl
a18056c7d1
chore(TokenSelectorViewAdaptor): extract "favorites" section name
2024-07-02 21:25:15 +02:00
Cuteivist
e199e7f9da
fix(wallet): Added adaptor to properly refresh send modal total balances ( #15409 )
2024-07-02 14:22:20 +02:00
Stefan
97413d99d1
feat(dapps) implement eth_sendTransaction support for wallet
...
Add `Fees` section to request modal
Closes : #15126
2024-07-02 09:24:09 +02:00
Khushboo Mehta
e2949ad6e7
feat(@desktop/wallet): Implements Approve spending cap
...
fixes #14833
2024-07-02 00:14:19 +02:00
Dario Gabriel Lipicar
25127bfd63
chore(@desktop/wallet): intergrate uuid to Swap
...
Part of #15330
2024-07-01 15:53:21 -03:00
Lukáš Tinkl
273858bc81
fix: TokenSelector doesn't show list of all known assets
...
- concat the assets model with the list of plain tokens model
- adjust the delegates and tests
Fixes #15278
2024-07-01 19:57:01 +02:00
Lukáš Tinkl
55e88be4f1
fix: SwapModal contents doesn't scroll
...
- wrap the contents in `StatusScrollView`
- adjust padding/margins
Fixes #15276
2024-07-01 19:57:01 +02:00
Lukáš Tinkl
531252fd73
[UI - Swap] Update / improve AccountsSelector component to cover swap design specs
...
- sort accounts by total currency balance, irrespective of the tokens
held
- fixup 0 sub-balance formatting
Fixes #14779
2024-07-01 19:57:01 +02:00
Sale Djenic
7e9f680e0b
chore: router v2 integration
...
Closes : #15204
2024-07-01 16:19:15 +02:00
Michał Cieślak
d3d0080b2d
feat(StatusQ): Generic attachd type for providing model count
...
Closes : #15374
2024-07-01 13:59:20 +02:00
Michał Cieślak
05b47fb831
chore(StatusQ/TestLib): TestModel::resetAndClear method added
2024-07-01 13:59:20 +02:00
Roman Chornii
b005a5606e
feat(DAppsCopyUriInstructions): implemented popup with the instructions ( #15354 )
...
how to copy URI of DApps into Status app.
Closes #14677
2024-07-01 14:34:30 +03:00
Khushboo Mehta
5e8f7515cf
feat(@desktop/wallet): Swap: Switch input/output params
...
fixes #14827
2024-07-01 11:46:07 +02:00
Khushboo Mehta
64efd47805
fix(@desktop/wallet): [SwapModal] Fix for flaky tests and remove the skip flag
...
fixes #15272
2024-07-01 10:44:57 +02:00
Lukáš Tinkl
13815bf81c
[SendModal] fix pasting an address
...
- validate input also when pasting via the button (extract to a common
function)
- show the Paste button only when the input is empty and we have sth to
paste actually and prevent it from stealing focus
- upon clicking the Paste button, put focus on the input field
- after pasting, set the cursor past the end of the text
Fixes #14576
2024-07-01 10:21:33 +02:00
Michał Cieślak
a2b8eb333d
feat(StatusQ): GroupingModel for grouping rows with the same key into
...
submodels
Closes : #12683
2024-06-28 17:35:41 +02:00
Michał Cieślak
c88317d7ad
feat(MonitoringTool): Search improved
...
Closes : #15181
2024-06-28 15:57:23 +02:00
Valentina Novgorodtceva
c71d11e990
chore: duplicate permission step added to permission test
2024-06-27 09:58:24 +03:00
Andrey Bocharnikov
588be3c60e
fix(airdrop): Incorrect default amount when airdropping a community token or setting token permission
...
(regression after a12a6a48
)
fixes #15264
2024-06-26 21:39:08 +07:00
Stefan
8cca2664e4
fix(dapps): failure if case sensitivity mismatch in account address
...
Update: #15126
2024-06-26 12:00:54 +02:00
Stefan
cb368ea5fb
feat(dapps) fix missing list of dapps in wallet connect
...
Updates: #15126
2024-06-26 12:00:54 +02:00
Stefan
92d0420449
feat(dApps) implement sign transaction for wallet connect
...
Uses status-go's endpoints:
- `wallet_buildTransactions` to format the transaction
- `wallet_signMessage` to sign the transaction
- `wallet_buildRawTransaction` to format the final signed transaction
Updates #15126
2024-06-26 12:00:54 +02:00
Stefan
dfe53c4c7c
chore(dApps) support multiple actions in DAppRequestModal
...
Also fix minor issue and add improvements
Updates #15126
2024-06-26 12:00:54 +02:00
Roman Chornii
3e04967309
chore(Wallet.RootStore): Fixed qml runtime error. ( #15323 )
...
Quickfix
2024-06-25 21:17:48 +03:00
Alex Jbanca
1dcf2d485a
perf: Remove network calls to validate the URLs on main thread
2024-06-25 17:53:36 +03:00
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
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
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
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
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
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
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
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