Spoolman icon indicating copy to clipboard operation
Spoolman copied to clipboard

Add support for tracking drying of spools

Open SConaway opened this issue 7 months ago • 6 comments

Adding support for tracking drying status of filament spools.

Implemented so far:

  • server changes
    • [x] database
    • [x] migration
    • [x] API support
    • [ ] API docs (can't get them to generate on my machine, pdm was giving me grief and I can't get them to generate with the REPL.)
  • UI changes
    • [x] Spool Show page
      • [x] Displays dried and last_dried fields with appropriate labels
      • [x] modal to add drying
    • [x] Spool List page
      • [x] Can display last_dried field with appropriate labels & sort by it
      • [x] modal to add drying
    • [ ] Spool Edit page -- nothing is changed here, as I'm not sure what the best UI would look like / how it would work

SConaway avatar Jun 12 '25 04:06 SConaway

I appreciate you working on improving Spoolman, but I gotta ask, why can't this be solved using the already existing "extra fields" feature?

Donkie avatar Jun 16 '25 17:06 Donkie

It could, but then the dry button wouldn't be implemented in the list UI — right now, I have last_dried as an extra field of my own, but it's clunky to use as I have to edit the spool as opposed to clicking the dry icon from the list view.

SConaway avatar Jun 16 '25 17:06 SConaway

I understand, but this is a somewhat niche use-case for doing something relatively obtrusive as adding a button in the spool list page. Most people won't care about it.

Perhaps it can be hidden behind a setting?

Donkie avatar Jun 16 '25 18:06 Donkie

That's totally fair! I'm open to whatever you think best -- just let me know, and I can try to get the code changed (am not completely familiar with your code!).

SConaway avatar Jun 16 '25 18:06 SConaway

Hey @Donkie, any thoughts on this?

SConaway avatar Jul 01 '25 23:07 SConaway

I am 100% behind this feature. Have it toggle/able on off (or even behind the "custom fields" area of config, but 100% an easy to use "dried" that tracks when it was last dried is very helpful.

I would go as far as saying as adding a location named dryer (like I currently have) and tracking when it was last moved/removed would be even more useful and provide a similar usecase.

PedroC1999 avatar Aug 27 '25 18:08 PedroC1999