status-desktop/storybook/qmlTests/tests
Alex Jbanca 106988d534 fix(WC): Refactor dapps service to work with multiple SDKs
This PR is refactoring the dapps service to avoid code duplication between SDKs and also to avoid overlapping requests/responses.
It brings Browser Connect inline with Wallet Connect in terms of session management and sign transactions.

New architecture:

WalletConnectService becomes DAppsService. Its responsibility is to provide dapp access to the app. This is the component currently used by the UI
What does it do:
1. Provide dapp APIs line connect, disconnect, session requests etc
2. Spawn app notifications on dapp events
3. Timeout requests if the dapp does not respons

DAppsRequestHandler becomes DAppsModule. This component is consumed by the DAppService. Its responsibility is to aggregate all the building blocks for the dapps, but does not control any of the dapp features or consume the SDKs requests.
What does it do:
1. Aggregate all the building blocks for dapps (currently known as plugins)

DAppConnectionsPlugin - This component provides the session management features line connect, disconnect and provide a model with the connected dapps.
SignRequestPlugin - This component provides the sign request management. It receives the sign request from the dapp, translates it to what Status understands and manages the lifecycle of the request.
2024-11-20 18:10:29 +02:00
..
helpers feat(WalletConnect): Handle sign request expiration 2024-10-10 12:49:15 +03:00
tst_AmountToSend.qml QClipboardProxy QML type renamed to ClipboardUtils 2024-08-29 15:46:17 +02:00
tst_AmountValidator.qml feat(StatusQ): AmountValidator for handling user-provided fp numbers 2024-07-19 17:27:08 +02:00
tst_AssetSelector.qml Token/Asset selectors fixes 2024-09-23 12:30:50 +02:00
tst_BCDAppsProvider.qml fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-20 18:10:29 +02:00
tst_BuyCryptoModal.qml feat: hide mercuryo 2024-11-19 11:16:16 +01:00
tst_ChainsAvailabilityWatchdog.qml fix(WC): Adding tests for ChainsAvailabilityWatchdog and ChainsSupervisorPlugin 2024-11-20 18:10:29 +02:00
tst_ChainsSupervisorPlugin.qml fix(WC): Adding tests for ChainsAvailabilityWatchdog and ChainsSupervisorPlugin 2024-11-20 18:10:29 +02:00
tst_ConnectDAppModal.qml fix(ConnectDAppModal): don't overflow texts 2024-07-31 00:10:10 +02:00
tst_ContactDetails.qml remove old code about ID verification and fix trustStatus bug (#16548) 2024-10-29 14:08:12 -04:00
tst_CurrencyAmountInput.qml feat: Add Advanced settings in new Advanced Tab 2024-01-11 14:52:52 +01:00
tst_DAppsWorkflow.qml fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-20 18:10:29 +02:00
tst_DappsComboBox.qml feat(WC): Enable Wallet Connect feature by default 2024-11-20 18:10:29 +02:00
tst_DerivationPathInput.qml Cleanup after #16497 workaround 2024-10-11 23:37:50 +02:00
tst_EnterSeedPhrase.qml fix(StatusSeedPhraseInput): accept a common prefix suggestion 2024-09-10 16:00:40 +02:00
tst_ErrorTag.qml fix(SwapModal): ErrorTag looks wrong 2024-07-25 15:11:29 +02:00
tst_LazyStackLayout.qml StatusQ: Introduce LazyStackLayout - stack layout with deferred instantiation (#16417) 2024-09-26 14:16:30 -04:00
tst_ManageCollectiblesPanel.qml fix(wallet): Update collectibles media management (#16080) 2024-08-28 15:58:33 +02:00
tst_ModelEntryChangeTracker.qml StatusQ: ModelEntryChangeTracker component introduced 2024-11-14 15:13:24 +01:00
tst_NetworkSelectItemDelegate.qml [Style] remove legacy Style and its themes 2024-10-22 15:54:31 +02:00
tst_NetworkSelectPopup.qml feat(networkSelector): Refatoring of NetworkSelector to remove backend dependency 2024-06-21 16:18:51 +03:00
tst_NetworkSelectorView.qml [Style] remove legacy Style and its themes 2024-10-22 15:54:31 +02:00
tst_RecipientSelectorPanel.qml feat(@desktop/wallet): Remove preferred chains from wallet accounts all over the app 2024-10-11 18:48:37 +02:00
tst_SearchableAssetsPanel.qml Token/Asset selectors fixes 2024-09-23 12:30:50 +02:00
tst_SendRecipientInput.qml feat(SendModal): add a spinner when resolving an ENS name 2024-09-20 12:10:26 +02:00
tst_SessionRequest.qml fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-20 18:10:29 +02:00
tst_SessionRequestWithAuth.qml fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-20 18:10:29 +02:00
tst_SignRequestPlugin.qml fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-20 18:10:29 +02:00
tst_SiweLifeCycle.qml fix(WC): Adding tests for ChainsAvailabilityWatchdog and ChainsSupervisorPlugin 2024-11-20 18:10:29 +02:00
tst_SiweRequestPlugin.qml fix(WC): Adding tests for ChainsAvailabilityWatchdog and ChainsSupervisorPlugin 2024-11-20 18:10:29 +02:00
tst_SlippageSelector.qml fix(SlippageSelector): cant do Swap with 100% slippage 2024-09-25 16:16:33 +02:00
tst_StatusAmountInput.qml feat: [UI - Swap] Create swap input component 2024-06-06 11:13:18 +02:00
tst_StatusButton.qml feat(StatusButton) Add support to show text when button is loading 2024-08-19 22:36:50 +02:00
tst_StatusChatInput.qml Cleanup after #16497 workaround 2024-10-11 23:37:50 +02:00
tst_StatusMessage.qml feat(@desktop/wallet): Added feature flag FLAG_SEND_VIA_PERSONAL_CHAT_ENABLED for the send via personal chat feature 2024-09-23 11:20:56 +02:00
tst_SwapApproveCapModal.qml [Style] remove legacy Style and its themes 2024-10-22 15:54:31 +02:00
tst_SwapInputPanel.qml chore: usage of goerli removed 2024-10-29 15:46:09 +01:00
tst_SwapModal.qml fix(swap): invalidate old uuid and route when a new route request is made 2024-10-31 12:12:28 -03:00
tst_SwapSignModal.qml [Style] remove legacy Style and its themes 2024-10-22 15:54:31 +02:00
tst_TestRunnerControls.qml
tst_TokenSelectorAssetDelegate.qml AssetSelector covered with unit tests 2024-09-23 12:30:50 +02:00
tst_TokenSelectorButton.qml AssetSelector covered with unit tests 2024-09-23 12:30:50 +02:00
tst_TokenSelectorViewAdaptor.qml feat(@desktop/wallet): Implements Network selection behaviour 2024-07-09 11:27:55 +02:00
tst_WCDAppsProvider.qml fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-20 18:10:29 +02:00