Skip to content

Conversation

@alexjba
Copy link
Contributor

@alexjba alexjba commented Dec 10, 2025

What does the PR do

Iterates #19545

The keycard channel events will inform the app of the channel state (waiting for keycard, reading, error, idle). This will be used on mobile platforms to control a drawer that informs the user when it's required to tap the keycard.

status-keycard-qt adds these new events driven by the channel state.

NOTE: Tests can be done in the final PR #19549

@alexjba alexjba requested a review from a team as a code owner December 10, 2025 11:42
@alexjba alexjba requested review from Khushboo-dev-cpp, caybro, iurimatias, micieslak and saledjenic and removed request for a team and iurimatias December 10, 2025 11:42
@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

✔️ status-desktop/e2e/prspr19548 🔹 ~17 min 🔹 86711e0 🔹 📦 tests/e2e package

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@jrainville jrainville linked an issue Dec 10, 2025 that may be closed by this pull request
@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

if jsonSignal["type"].getStr == "status-changed":
let signalType = jsonSignal["type"].getStr

if signalType == "status-changed":
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can add "status-changed" and "channel-state-changed" to app_service/common/wallet_constants.nim?

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@alexjba alexjba requested a review from a team as a code owner December 22, 2025 08:41
@status-im-auto
Copy link
Member

status-im-auto commented Dec 22, 2025

Jenkins Builds

Click to see older builds (35)
Commit #️⃣ Finished (UTC) Duration Platform Result
86711e0 #1 2025-12-10 11:50:16 ~7 min android/arm64 📄log
86711e0 #1 2025-12-10 11:50:55 ~8 min macos/aarch64-nwaku 📄log
✔️ 86711e0 #1 2025-12-10 11:53:15 ~10 min tests/nim 📄log
86711e0 #1 2025-12-10 11:56:30 ~14 min ios/aarch64 📄log
✔️ 86711e0 #1 2025-12-10 11:57:13 ~14 min tests/ui 📄log
86711e0 #1 2025-12-10 11:57:19 ~14 min windows/x86_64 📄log
✔️ 86711e0 #1 2025-12-10 12:03:39 ~21 min macos/aarch64 🍎dmg
✔️ 86711e0 #1 2025-12-10 12:04:17 ~21 min linux/x86_64 📦tgz
✔️ 86711e0 #1 2025-12-10 12:06:29 ~23 min linux/x86_64-nwaku 📦tgz
✔️ 86711e0 pr19548 2025-12-10 12:21:38 ~17 min tests/e2e 📊rpt
✖️ e71a2fa #2 2025-12-10 16:25:16 ~16 min ios/aarch64 📱ipa
✔️ e71a2fa #2 2025-12-10 16:29:05 ~19 min android/arm64 🤖apk 📲
✔️ e71a2fa #2 2025-12-10 16:31:56 ~22 min tests/nim 📄log
✔️ e71a2fa #2 2025-12-10 16:34:29 ~25 min macos/aarch64 🍎dmg
✔️ e71a2fa #2 2025-12-10 16:35:51 ~26 min macos/aarch64-nwaku 🍎dmg
✔️ e71a2fa #2 2025-12-10 16:39:01 ~29 min tests/ui 📄log
✔️ e71a2fa #2 2025-12-10 16:39:43 ~30 min linux/x86_64 📦tgz
✔️ e71a2fa #2 2025-12-10 16:43:23 ~34 min linux/x86_64-nwaku 📦tgz
✔️ e71a2fa #2 2025-12-10 16:45:14 ~35 min windows/x86_64 💿exe
e71a2fa pr19548 2025-12-10 16:55:23 ~15 min tests/e2e 📄log
✖️ e71a2fa PR19548 2025-12-10 17:12:46 ~27 min tests/e2e-windows 📊rpt
cd46a72 #3 2025-12-11 12:56:59 ~11 min macos/aarch64-nwaku 📄log
✖️ cd46a72 #3 2025-12-11 13:04:26 ~19 min ios/aarch64 📱ipa
✔️ cd46a72 #3 2025-12-11 13:04:35 ~19 min android/arm64 🤖apk 📲
✔️ cd46a72 #3 2025-12-11 13:06:03 ~20 min macos/aarch64 🍎dmg
✔️ cd46a72 #3 2025-12-11 13:09:07 ~24 min tests/nim 📄log
bcf9a24 #4 2025-12-11 13:27:28 ~15 min macos/aarch64-nwaku 📄log
✖️ bcf9a24 #4 2025-12-11 13:28:58 ~17 min ios/aarch64 📱ipa
✔️ bcf9a24 #4 2025-12-11 13:29:18 ~17 min android/arm64 🤖apk 📲
✔️ bcf9a24 #4 2025-12-11 13:33:35 ~21 min macos/aarch64 🍎dmg
✔️ bcf9a24 #4 2025-12-11 13:35:31 ~23 min tests/nim 📄log
✔️ bcf9a24 #4 2025-12-11 13:41:42 ~30 min linux/x86_64-nwaku 📦tgz
✖️ bcf9a24 #4 2025-12-11 13:41:42 ~30 min linux/x86_64 📦tgz
✔️ bcf9a24 #4 2025-12-11 13:42:49 ~31 min tests/ui 📄log
✖️ bcf9a24 #4 2025-12-11 13:58:09 ~46 min windows/x86_64 💿exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ aab486b #5 2025-12-22 09:04:30 ~22 min ios/aarch64 📱ipa
✔️ aab486b #5 2025-12-22 09:05:45 ~23 min android/arm64 🤖apk 📲
✔️ aab486b #5 2025-12-22 09:09:17 ~26 min macos/aarch64-nwaku 🍎dmg
✔️ aab486b #5 2025-12-22 09:10:04 ~27 min tests/nim 📄log
✔️ aab486b #5 2025-12-22 09:13:33 ~31 min macos/aarch64 🍎dmg
✔️ aab486b #5 2025-12-22 09:15:41 ~33 min tests/ui 📄log
✔️ aab486b #5 2025-12-22 09:19:10 ~36 min linux/x86_64-nwaku 📦tgz
✔️ aab486b #5 2025-12-22 09:22:09 ~39 min linux/x86_64 📦tgz
✔️ aab486b #5 2025-12-22 09:25:12 ~42 min windows/x86_64 💿exe
✔️ aab486b pr19548 2025-12-22 09:38:27 ~16 min tests/e2e 📊rpt
✔️ aab486b PR19548 2025-12-22 09:58:36 ~33 min tests/e2e-windows 📊rpt
668b750 #6 2025-12-22 14:40:09 ~12 min macos/aarch64-nwaku 📄log
✖️ 668b750 #6 2025-12-22 14:43:52 ~16 min ios/aarch64 📱ipa
✔️ 668b750 #6 2025-12-22 14:53:28 ~26 min macos/aarch64 🍎dmg
✔️ 668b750 #6 2025-12-22 14:56:40 ~29 min android/arm64 🤖apk 📲
✔️ 668b750 #6 2025-12-22 15:01:26 ~34 min tests/nim 📄log
✔️ 668b750 #6 2025-12-22 15:07:06 ~39 min tests/ui 📄log
✔️ 668b750 #6 2025-12-22 15:07:43 ~40 min linux/x86_64-nwaku 📦tgz
✔️ 668b750 #6 2025-12-22 15:09:31 ~42 min linux/x86_64 📦tgz
✔️ 668b750 #6 2025-12-22 15:10:42 ~43 min windows/x86_64 💿exe
✔️ 668b750 pr19548 2025-12-22 15:26:08 ~16 min tests/e2e 📊rpt
✖️ 668b750 PR19548 2025-12-22 15:32:30 ~21 min tests/e2e-windows 📊rpt

notify = keycardChannelStateChanged

# Constants for channel states (readonly properties for QML)
proc getStateIdle*(self: View): string {.slot.} =
Copy link
Member

Choose a reason for hiding this comment

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

These read-only constant properties could go to some QML enums, wdyt? Unless you really need them on the NIM side as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense. I'll update the following PR where I'm actually using these constants.

The keycard channel events will inform the app of the channel state (waiting for keycard, reading, error, idle). This will be used on mobile platforms to control a drawer that informs the user when it's required to tap the keycard.
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.

[MobileParity] Keycard support

4 participants