Files
Spoolman/client
Donkie 025f18f914 Fix spool price disappearing from the list on live updates (#814)
The REST endpoints serialize with response_model_exclude_none=True (unset fields
are omitted), but websocket events were serialized with a plain .json() that
includes unset fields as explicit null. The spool list fills a missing price
from the filament price only when it is `undefined`, so a live update carrying
`price: null` (e.g. after a quick weight adjust) blanked the price column until
a full page reload.

Fixed on both sides so the two serialization paths can no longer drift:
- Server: websocket payloads now use exclude_none=True (spoolman/ws.py), giving
  live updates and REST responses an identical shape. Note this is a small
  websocket wire-format change external consumers will see: unset fields are now
  omitted instead of sent as null, matching REST.
- Client: collapseSpool and the price column now fall back for both `null` and
  `undefined`, keeping the list resilient regardless of serialization.
2026-07-06 11:50:07 +02:00
..
2024-05-16 12:27:52 +00:00
2026-01-06 00:28:31 +01:00
2023-05-28 23:10:36 +02:00
2023-10-14 13:28:48 +02:00
2026-02-03 16:27:38 +00:00
2026-02-03 16:27:38 +00:00
2023-05-10 21:11:10 +02:00
2024-08-05 19:20:29 +02:00
2023-05-10 21:11:10 +02:00

Spoolman UI

A simple refine based UI for manipulating the data in the Spoolman database.