Skip to content
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

feat: payment request nim input area model #16822

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Cuteivist
Copy link
Contributor

Closes #16739

What does the PR do

Nim backend for payment requests

  • Added payment request model to input area
  • Added payment request model to cat message
  • Added payment requests to message sent to status-go

Affected areas

Chat / Community Chat

Architecture compliance

@status-im-auto
Copy link
Member

status-im-auto commented Nov 27, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ c1a62d1 #1 2024-11-27 05:08:41 ~7 min tests/nim 📄log
✔️ c1a62d1 #1 2024-11-27 05:10:07 ~8 min macos/aarch64 🍎dmg
c1a62d1 #1 2024-11-27 05:13:24 ~12 min tests/ui 📄log
✔️ c1a62d1 #1 2024-11-27 05:19:23 ~18 min macos/x86_64 🍎dmg
✔️ c1a62d1 #1 2024-11-27 05:19:34 ~18 min linux-nix/x86_64 📦tgz
✔️ c1a62d1 #1 2024-11-27 05:22:36 ~21 min linux/x86_64 📦tgz
✔️ c1a62d1 #1 2024-11-27 05:27:34 ~26 min windows/x86_64 💿exe
✔️ 7bdaee9 #2 2024-11-27 07:44:03 ~4 min macos/aarch64 🍎dmg
✔️ 7bdaee9 #2 2024-11-27 07:47:03 ~7 min tests/nim 📄log
✔️ 7bdaee9 #2 2024-11-27 07:52:03 ~12 min tests/ui 📄log
✔️ 7bdaee9 #2 2024-11-27 07:52:31 ~13 min macos/x86_64 🍎dmg
✔️ 7bdaee9 #2 2024-11-27 07:56:27 ~17 min linux-nix/x86_64 📦tgz
✔️ 7bdaee9 #2 2024-11-27 07:59:50 ~20 min linux/x86_64 📦tgz
✔️ 7bdaee9 #2 2024-11-27 08:01:34 ~22 min windows/x86_64 💿exe

@Cuteivist Cuteivist force-pushed the feat/payment-request-send-message-16739 branch from c1a62d1 to 7bdaee9 Compare November 27, 2024 07:38
Copy link
Contributor

@alexjba alexjba left a comment

Choose a reason for hiding this comment

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

LGTM! Nice work! 👍

Please see the comment below on the count signal

proc getPaymentRequests*(self: Model): seq[PaymentRequest] =
return self.items

proc countChanged(self: Model) {.signal.}
Copy link
Contributor

Choose a reason for hiding this comment

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

It's better to use the ModelCount attached property instead of the nim count signal.
In qml you can do something like this:

anyModel.ModelCount.count

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.

Request payment - send message
3 participants