Spool Count & Total Weight per Filament in List #15

Closed
opened 2026-01-16 04:24:11 +00:00 by tonym · 0 comments
Owner

Summary

Show the number of active spools AND total remaining weight for each filament in the filament list/table view.

Upstream Issues

Problem

Users want to see at a glance:

  1. How many spools they have of each filament type
  2. Total remaining weight across all spools of that filament

Currently must manually calculate or navigate to each filament.

Proposed Solution

Backend

Add computed fields to filament API response:

  • spool_count - count of non-archived spools
  • total_remaining_weight - sum of remaining weight across all spools
  • Optional query param to include/exclude these (performance)

Frontend

Add columns to filament list table:

| Name           | Material | Color | Spools | Total Weight |
|----------------|----------|-------|--------|-------------|
| Prusament PETG | PETG     | 🔴    | 3      | 2,450g      |
| Hatchbox PLA   | PLA      | 🔵    | 1      | 523g        |
| eSUN PLA+      | PLA      | 🟢    | 5      | 3,102g      |

Use Cases

  • Quickly see which filaments are running low
  • Order planning - identify depleted stock
  • Inventory overview without drilling into each filament

Bonus (Future)

  • Set minimum stock threshold per filament
  • Show warning when below threshold
  • Low stock report (#23)
## Summary Show the number of active spools AND total remaining weight for each filament in the filament list/table view. ## Upstream Issues - https://github.com/Donkie/Spoolman/issues/746 - Spool count per filament - https://github.com/Donkie/Spoolman/issues/572 (5 👍) - Total available weight per filament ## Problem Users want to see at a glance: 1. How many spools they have of each filament type 2. Total remaining weight across all spools of that filament Currently must manually calculate or navigate to each filament. ## Proposed Solution ### Backend Add computed fields to filament API response: - `spool_count` - count of non-archived spools - `total_remaining_weight` - sum of remaining weight across all spools - Optional query param to include/exclude these (performance) ### Frontend Add columns to filament list table: ``` | Name | Material | Color | Spools | Total Weight | |----------------|----------|-------|--------|-------------| | Prusament PETG | PETG | 🔴 | 3 | 2,450g | | Hatchbox PLA | PLA | 🔵 | 1 | 523g | | eSUN PLA+ | PLA | 🟢 | 5 | 3,102g | ``` ### Use Cases - Quickly see which filaments are running low - Order planning - identify depleted stock - Inventory overview without drilling into each filament ### Bonus (Future) - Set minimum stock threshold per filament - Show warning when below threshold - Low stock report (#23)
tonym changed title from Show Spool Count per Filament in Filament List to Spool Count & Total Weight per Filament in List 2026-01-16 04:56:54 +00:00
tonym closed this issue 2026-01-16 05:33:38 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tonym/spoolman2#15
No description provided.