-
Notifications
You must be signed in to change notification settings - Fork 90
feat(keycard): Add support for keycard channel events #19548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: fix/keycard-nfc-2
Are you sure you want to change the base?
Conversation
✔️ status-desktop/prs/linux/x86_64/tests-ui/PR-19548#1 🔹 ~14 min 🔹 86711e0 🔹 📦 tests/ui package |
✔️ status-desktop/e2e/prspr19548 🔹 ~17 min 🔹 86711e0 🔹 📦 tests/e2e package |
39ed060 to
d281472
Compare
86711e0 to
e71a2fa
Compare
✔️ status-desktop/prs/linux/x86_64/tests-ui/PR-19548#2 🔹 ~29 min 🔹 e71a2fa 🔹 📦 tests/ui package |
d281472 to
e64335b
Compare
e71a2fa to
adabada
Compare
e64335b to
92e99e9
Compare
adabada to
cd46a72
Compare
✔️ status-app/prs/linux/x86_64/tests-nim/PR-19548#3 🔹 ~24 min 🔹 cd46a72 🔹 📦 tests/nim package |
92e99e9 to
397f697
Compare
cd46a72 to
bcf9a24
Compare
| if jsonSignal["type"].getStr == "status-changed": | ||
| let signalType = jsonSignal["type"].getStr | ||
|
|
||
| if signalType == "status-changed": |
There was a problem hiding this comment.
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-app/prs/linux/x86_64/tests-nim/PR-19548#4 🔹 ~23 min 🔹 bcf9a24 🔹 📦 tests/nim package |
✔️ status-app/prs/linux/x86_64/tests-ui/PR-19548#4 🔹 ~31 min 🔹 bcf9a24 🔹 📦 tests/ui package |
397f697 to
41159d3
Compare
bcf9a24 to
aab486b
Compare
Jenkins BuildsClick to see older builds (35)
|
| notify = keycardChannelStateChanged | ||
|
|
||
| # Constants for channel states (readonly properties for QML) | ||
| proc getStateIdle*(self: View): string {.slot.} = |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
41159d3 to
d606f25
Compare
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.
aab486b to
668b750
Compare
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