View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009955 | Taler | merchant backoffice SPA | public | 2025-05-13 23:54 | 2026-01-31 12:39 |
| Reporter | Bohdan | Assigned To | sebasjm | ||
| Priority | high | Severity | minor | Reproducibility | always |
| Status | assigned | Resolution | open | ||
| Product Version | 1.0 | ||||
| Target Version | 1.5 | ||||
| Summary | 0009955: Page has to be reload to show changes in orders | ||||
| Description | When the orders are changed using API calls backoffice doesn't show this; the page has to be reloaded to show changes; simple navigation between segments is not enough to check for changes | ||||
| Steps To Reproduce | 1. Create the order 2. Delete it using a direct call to a backend 3. Go through different pages(e.g. to inventory) 4. Go back to orders 5. Still see the order that has been deleted | ||||
| Tags | No tags attached. | ||||
|
|
the backend long polling doesn't support this so the SPA doesn't check if the current list changed. https://docs.taler.net/core/api-merchant.html#get-[-instances-$INSTANCE]-private-orders We should improve first the backend |
|
|
Added long-polling API with new not_etag query parameter to GET /private/orders/$ID. Not quite complete though: the trigger on a reconciliation update (wire transfer finished) is missing. |
|
|
(that said, should be OK to add to SPA!) |
|
|
898aad8e..64978c91 adds notifications on settlement status changes. So with this, the SPA should now be able to long-poll on ANY change to the order status using the new not_etag query parameter (ideally in combination with if-none-match set to the ETag to really only get a 304 if nothing changed). |
|
|
this won't solve the original issue. the lp_not_etag is on the order details but no on the order listing. |
|
|
Eh, that depends on which dialog we are talking about. I though this was about the dialog showing an individual order's details. For that dialog, this will help. For the *list* of all orders, it doesn't directly help, and I'm not sure there is a good way to do that. |
|
|
Anyway, for now please just modify the order details view to long-poll like this on changes to the order that is currently being viewed. |
|
|
d3e65709f..4becda012 adds the long polling on order details there is a problem still, see 0010943 |
|
|
server needs to add long polling on order list or mark as wont fix |
|
|
Ok, order list is another issue. I'm honestly not quite sure how to best do this. Needs discussion! |
|
|
I just checked, and the server *HAS* long-polling on the order list. There was only one unusual constraint, which is that the "delta" value given had to be positive. I've now removed that in 0009955. So with this, you should be able to do two long pollers, one into the future and one for the visible "window" of orders and receive notifications if any of them change. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-05-13 23:54 | Bohdan | New Issue | |
| 2025-05-14 20:30 | Christian Grothoff | Status | new => confirmed |
| 2025-05-14 20:30 | Christian Grothoff | Target Version | 1.0 stretch goals => 1.5 |
| 2025-12-07 10:43 | Christian Grothoff | Relationship added | related to 0009681 |
| 2025-12-07 10:44 | Christian Grothoff | Relationship added | related to 0010734 |
| 2025-12-08 19:15 | sebasjm | Category | merchant backoffice SPA => merchant backend |
| 2025-12-08 19:17 | sebasjm | Note Added: 0026826 | |
| 2026-01-25 13:05 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2026-01-25 13:05 | Christian Grothoff | Status | confirmed => assigned |
| 2026-01-26 00:27 | Christian Grothoff | Priority | normal => high |
| 2026-01-26 03:33 | Christian Grothoff | Note Added: 0027355 | |
| 2026-01-26 03:34 | Christian Grothoff | Note Added: 0027356 | |
| 2026-01-26 05:52 | Christian Grothoff | Note Added: 0027357 | |
| 2026-01-26 05:52 | Christian Grothoff | Assigned To | Christian Grothoff => sebasjm |
| 2026-01-26 05:52 | Christian Grothoff | Category | merchant backend => merchant backoffice SPA |
| 2026-01-26 18:22 | sebasjm | Assigned To | sebasjm => Christian Grothoff |
| 2026-01-26 18:22 | sebasjm | Status | assigned => feedback |
| 2026-01-26 18:22 | sebasjm | Note Added: 0027374 | |
| 2026-01-26 19:26 | Christian Grothoff | Note Added: 0027377 | |
| 2026-01-26 19:26 | Christian Grothoff | Note Added: 0027378 | |
| 2026-01-26 19:27 | Christian Grothoff | Assigned To | Christian Grothoff => sebasjm |
| 2026-01-26 19:27 | Christian Grothoff | Status | feedback => assigned |
| 2026-01-29 20:26 | sebasjm | Note Added: 0027454 | |
| 2026-01-29 20:26 | sebasjm | Assigned To | sebasjm => Christian Grothoff |
| 2026-01-29 20:26 | sebasjm | Status | assigned => feedback |
| 2026-01-29 20:26 | sebasjm | Note Added: 0027455 | |
| 2026-01-30 06:31 | Christian Grothoff | Note Added: 0027473 | |
| 2026-01-30 06:32 | Christian Grothoff | Tag Attached: discussion-needed | |
| 2026-01-31 12:38 | Christian Grothoff | Note Added: 0027497 | |
| 2026-01-31 12:39 | Christian Grothoff | Tag Detached: discussion-needed | |
| 2026-01-31 12:39 | Christian Grothoff | Assigned To | Christian Grothoff => sebasjm |
| 2026-01-31 12:39 | Christian Grothoff | Status | feedback => assigned |