View Issue Details

IDProjectCategoryView StatusLast Update
0011794Talerwallet-corepublic2026-09-13 14:46
ReporterFlorian Dold Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Target Version1.7 
Summary0011794: wallet-core should have observation helpers for domain views, starting with transactions
DescriptionRight now the UIs need to understand a lot of notifications and make various separate requests to update their UI state.

To simplify this, we should introduce helpers to observe transactions (or other domain models) that give the UI consistent snapshots of their state. For example:

{
  "id": 101,
  "operation": "observePayment",
  "args": {
    "transactionId": "txn:payment:example",
    "observationId": "payment-screen-17"
  }
}

Now, a notification when a payment becomes affordabe:

{
  "type": "notification",
  "payload": {
    "type": "payment-snapshot",
    "observationId": "payment-screen-17",
    "revision": 1,
    "payment": {
      "transactionId": "txn:payment:example",
      "txState": { "major": "dialog", "minor": "proposed" },
      "choices": [
        {
          "choiceIndex": 0,
          "status": "insufficient-balance",
          "amountRaw": "EUR:5"
        }
      ]
    }
  }
}
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-09-13 14:46 Florian Dold New Issue
2026-09-13 14:46 Florian Dold Assigned To => Florian Dold
2026-09-13 14:46 Florian Dold Status new => assigned