Skip to content

Conversation

@friofry
Copy link
Contributor

@friofry friofry commented Nov 5, 2025

dApps list Popup in Browser

Adds a connected dApps popup in the browser header, allowing users to view and manage connected dApps from the browser.

  • New BCBrowserDappsProvider for browser-specific dApps with clientId filtering
  • DappsComboBox in the browser header for viewing and managing connections
  • Extended connector signals/services to support clientId throughout the stack
  • Enhanced disconnect functionality with clientId support
  • Improved connection status detection for the current tab

fixes #19223

@friofry friofry requested review from a team, alexjba, caybro, micieslak and noeliaSD as code owners November 5, 2025 15:03
@friofry friofry requested review from Copilot and vkjr and removed request for a team November 5, 2025 15:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for displaying and managing browser-connected dApps in the Status desktop application. It introduces a new provider for browser dApps that integrates with the existing wallet connector infrastructure, allowing users to view and disconnect browser dApps from the UI.

  • Adds BCBrowserDappsProvider component to track browser-connected dApps
  • Extends connector infrastructure to support client ID filtering and multi-client scenarios
  • Adds UI elements in browser header to display and manage connected dApps

Reviewed Changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
ui/imports/shared/popups/walletconnect/controls/DAppDelegate.qml Adds clickability and connector badge support to dApp delegate items
ui/imports/shared/popups/walletconnect/DAppsListPopup.qml Makes connect button visibility configurable
ui/app/AppLayouts/Wallet/services/dapps/qmldir Registers new BCBrowserDappsProvider component
ui/app/AppLayouts/Wallet/services/dapps/DAppsModel.qml Adds connectorBadge field to dApp model
ui/app/AppLayouts/Wallet/services/dapps/BCBrowserDappsProvider.qml New provider component for browser dApps with client ID filtering
ui/app/AppLayouts/Wallet/panels/WalletAccountHeader.qml Disables dApp clicking in wallet header context
ui/app/AppLayouts/Wallet/controls/DappsComboBox.qml Adds click handler and configurable connect button
ui/app/AppLayouts/Browser/provider/qml/ConnectorManager.qml Removes debug logging and adds clientId to disconnect calls
ui/app/AppLayouts/Browser/provider/qml/ConnectorBridge.qml Adds disconnectCurrentTab helper and updates disconnect signature
ui/app/AppLayouts/Browser/panels/BrowserHeader.qml Adds DappsComboBox to browser header for dApp management
ui/app/AppLayouts/Browser/BrowserLayout.qml Integrates BCBrowserDappsProvider and handles dApp navigation/disconnection
src/backend/connector.nim Updates RPC to support clientId parameter for disconnection
src/app_service/service/connector/service.nim Adds getDAppsByClientId method with filtering logic
src/app/modules/shared_modules/connector/controller.nim Updates disconnect and adds getDAppsByClientId to controller
src/app/core/signals/remote_signals/connector.nim Adds clientId field to all connector signal types
Comments suppressed due to low confidence (1)

src/backend/connector.nim:43

  • Corrected spelling of 'aargs' to 'args' in parameter name.
  aargs: RejectedArgs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

_hasPermission = newAccounts.length > 0

providerStateChanged()
accuntsChangedEvent(accounts)
Copy link

Copilot AI Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'accunts' to 'accounts' in function name.

Suggested change
accuntsChangedEvent(accounts)
accountsChangedEvent(accounts)

Copilot uses AI. Check for mistakes.
Comment on lines 81 to 89
MouseArea {
Layout.fillWidth: true
Layout.fillHeight: true
enabled: root.clickable
cursorShape: root.clickable ? Qt.PointingHandCursor : Qt.ArrowCursor
onClicked: {
root.dappClicked(root.url)
}
}
Copy link

Copilot AI Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MouseArea with Layout.fillWidth and Layout.fillHeight will consume layout space and compete with the ColumnLayout at line 48 which also has Layout.fillWidth: true. This can cause incorrect layout behavior. The MouseArea should likely be positioned as an overlay using anchors instead of being a layout item, or the ColumnLayout should not have fillWidth.

Copilot uses AI. Check for mistakes.
@status-im-auto
Copy link
Member

status-im-auto commented Nov 5, 2025

Jenkins Builds

Click to see older builds (43)
Commit #️⃣ Finished (UTC) Duration Platform Result
a1310cf #1 2025-11-05 15:13:23 ~9 min ios/aarch64 📄log
✔️ a1310cf #1 2025-11-05 15:13:55 ~9 min android/arm64 🤖apk 📲
a1310cf #1 2025-11-05 15:15:55 ~11 min macos/aarch64-nwaku 📄log
✔️ a1310cf #1 2025-11-05 15:16:07 ~11 min tests/nim 📄log
✔️ a1310cf #1 2025-11-05 15:20:32 ~16 min macos/aarch64 🍎dmg
✔️ a1310cf #1 2025-11-05 15:23:58 ~19 min linux/x86_64 📦tgz
✔️ a1310cf #1 2025-11-05 15:29:27 ~25 min linux/x86_64-nwaku 📦tgz
a1310cf #1 2025-11-05 15:29:59 ~25 min tests/ui 📄log
✔️ a1310cf #1 2025-11-05 15:36:00 ~31 min windows/x86_64 💿exe
✔️ a1310cf pr19225 2025-11-05 15:41:37 ~17 min tests/e2e 📊rpt
✔️ a1310cf PR19225 2025-11-05 15:52:06 ~16 min tests/e2e-windows 📊rpt
b8ec1d2 #2 2025-11-06 13:13:04 ~7 min android/arm64 📄log
b8ec1d2 #2 2025-11-06 13:13:19 ~7 min ios/aarch64 📄log
✔️ b8ec1d2 #2 2025-11-06 13:14:03 ~8 min tests/nim 📄log
b8ec1d2 #2 2025-11-06 13:19:00 ~12 min macos/aarch64-nwaku 📄log
b8ec1d2 #2 2025-11-06 13:19:12 ~13 min linux/x86_64-nwaku 📄log
✔️ b8ec1d2 #2 2025-11-06 13:19:32 ~13 min macos/aarch64 🍎dmg
b8ec1d2 #2 2025-11-06 13:20:19 ~14 min tests/ui 📄log
✔️ b8ec1d2 #2 2025-11-06 13:23:28 ~17 min linux/x86_64 📦tgz
✔️ b8ec1d2 #2 2025-11-06 13:35:44 ~29 min windows/x86_64 💿exe
✖️ b8ec1d2 pr19225 2025-11-06 13:46:27 ~22 min tests/e2e 📊rpt
✔️ b8ec1d2 PR19225 2025-11-06 13:50:06 ~14 min tests/e2e-windows 📊rpt
✔️ a8025b7 #3 2025-11-07 17:15:48 ~12 min ios/aarch64 📱ipa
✔️ a8025b7 #3 2025-11-07 17:16:57 ~13 min macos/aarch64 🍎dmg
6194138 #4 2025-11-07 17:29:08 ~9 min macos/aarch64-nwaku 📄log
✔️ 6194138 #4 2025-11-07 17:31:11 ~11 min macos/aarch64 🍎dmg
✔️ 6194138 #4 2025-11-07 17:32:32 ~13 min ios/aarch64 📱ipa
✖️ 6194138 #4 2025-11-07 17:45:38 ~26 min windows/x86_64 💿exe
✔️ 6194138 #4 2025-11-07 17:58:02 ~38 min tests/nim 📄log
✔️ 6194138 #4 2025-11-07 18:00:24 ~41 min android/arm64 🤖apk 📲
✔️ 6194138 #4 2025-11-07 18:06:33 ~47 min tests/ui 📄log
✖️ 6194138 #4 2025-11-07 18:07:07 ~47 min linux/x86_64 📦tgz
✔️ 6194138 #4 2025-11-07 18:12:14 ~52 min linux/x86_64-nwaku 📦tgz
✔️ 37aa5d1 #5 2025-11-08 05:57:26 ~7 min tests/nim 📄log
37aa5d1 #5 2025-11-08 05:57:44 ~7 min macos/aarch64-nwaku 📄log
✔️ 37aa5d1 #5 2025-11-08 05:59:44 ~9 min android/arm64 🤖apk 📲
✔️ 37aa5d1 #5 2025-11-08 06:04:03 ~14 min tests/ui 📄log
✔️ 37aa5d1 #5 2025-11-08 06:04:08 ~14 min ios/aarch64 📱ipa
✔️ 37aa5d1 #5 2025-11-08 06:04:08 ~14 min macos/aarch64 🍎dmg
✖️ 37aa5d1 #5 2025-11-08 06:06:48 ~16 min linux/x86_64 📦tgz
✔️ 37aa5d1 #5 2025-11-08 06:06:53 ~16 min linux/x86_64-nwaku 📦tgz
✔️ 37aa5d1 #5 2025-11-08 06:23:59 ~33 min windows/x86_64 💿exe
✔️ 37aa5d1 PR19225 2025-11-08 06:35:35 ~11 min tests/e2e-windows 📊rpt
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 5fe7b0b #6 2025-11-11 16:24:58 ~6 min tests/nim 📄log
5fe7b0b #6 2025-11-11 16:25:15 ~6 min macos/aarch64-nwaku 📄log
✔️ 5fe7b0b #7 2025-11-11 16:28:15 ~9 min android/arm64 🤖apk 📲
✔️ 5fe7b0b #6 2025-11-11 16:30:06 ~11 min macos/aarch64 🍎dmg
✔️ 5fe7b0b #6 2025-11-11 16:32:23 ~13 min tests/ui 📄log
✔️ 5fe7b0b #7 2025-11-11 16:32:37 ~13 min ios/aarch64 📱ipa
✔️ 5fe7b0b #7 2025-11-11 16:34:53 ~16 min linux/x86_64 📦tgz
✔️ 5fe7b0b #7 2025-11-11 16:34:56 ~16 min linux/x86_64-nwaku 📦tgz
✔️ 5fe7b0b pr19225 2025-11-11 16:52:46 ~17 min tests/e2e 📊rpt
7b2d8e7 #7 2025-11-11 16:48:36 ~6 min macos/aarch64-nwaku 📄log
✔️ 7b2d8e7 #7 2025-11-11 16:48:42 ~6 min tests/nim 📄log
✔️ 7b2d8e7 #8 2025-11-11 16:51:06 ~9 min android/arm64 🤖apk 📲
✔️ 7b2d8e7 #8 2025-11-11 16:55:01 ~13 min ios/aarch64 📱ipa
✔️ 7b2d8e7 #7 2025-11-11 16:55:27 ~13 min macos/aarch64 🍎dmg
7b2d8e7 #8 2025-11-11 16:56:29 ~5 min macos/aarch64-nwaku 📄log
✔️ 7b2d8e7 #7 2025-11-11 16:56:41 ~14 min tests/ui 📄log
✔️ 7b2d8e7 #8 2025-11-11 16:57:55 ~16 min linux/x86_64-nwaku 📦tgz
✔️ 7b2d8e7 #8 2025-11-11 16:58:01 ~16 min linux/x86_64 📦tgz
✔️ 7b2d8e7 #7 2025-11-11 17:07:34 ~25 min windows/x86_64 💿exe
✔️ 7b2d8e7 pr19225 2025-11-11 17:19:09 ~21 min tests/e2e 📊rpt
✔️ 7b2d8e7 PR19225 2025-11-11 17:21:26 ~13 min tests/e2e-windows 📊rpt
7b2d8e7 #9 2025-11-11 18:41:42 ~5 min macos/aarch64-nwaku 📄log
7b2d8e7 #10 2025-11-12 08:25:03 ~5 min macos/aarch64-nwaku 📄log

Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@friofry friofry force-pushed the ab/issue-18545-connector-backend-5 branch 2 times, most recently from 36c4ce8 to f6db4b8 Compare November 7, 2025 12:34
@friofry friofry force-pushed the ab/issue-19223-dapps-combobox branch 2 times, most recently from a8025b7 to 6194138 Compare November 7, 2025 17:19
@friofry friofry force-pushed the ab/issue-18545-connector-backend-5 branch from b8544f5 to 4903151 Compare November 7, 2025 21:30
@friofry friofry force-pushed the ab/issue-19223-dapps-combobox branch from 6194138 to 37aa5d1 Compare November 8, 2025 05:49
@friofry friofry force-pushed the ab/issue-19223-dapps-combobox branch from 37aa5d1 to 5fe7b0b Compare November 11, 2025 16:18
@friofry friofry requested review from a team as code owners November 11, 2025 16:18
@friofry friofry requested review from glitchminer and removed request for a team November 11, 2025 16:18
@friofry friofry changed the base branch from ab/issue-18545-connector-backend-5 to master November 11, 2025 16:18
@friofry
Copy link
Contributor Author

friofry commented Nov 11, 2025

@friofry friofry merged commit fe3fd66 into master Nov 12, 2025
12 of 13 checks passed
@friofry friofry deleted the ab/issue-19223-dapps-combobox branch November 12, 2025 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Browser] Display connected apps button

4 participants