CUB-42: Show filament cost and usage in UI #31

Merged
overseer merged 1 commits from agent/rex/CUB-42-filament-cost-usage-ui into dev 2026-04-28 06:39:52 -04:00
Owner

What

Add cost and usage columns to the filament inventory table and cost/usage metrics to the inventory summary.

Filament Table

  • Cost column: Shows purchase price and cost per gram for each spool. Displays em-dash for unpriced spools.
  • Usage column: Shows grams used and grams remaining for each spool.
  • Both new columns are sortable in the table.

Inventory Summary

  • Avg Cost/g: Average cost per gram across active priced spools.
  • Total Used: Total filament consumed across all spools.
  • Used Value: Estimated dollar value of consumed filament.

Validation

  • ng build: PASS
  • No layout breakage — columns use flex layout with min-width constraints

Linear

Closes CUB-42

## What Add cost and usage columns to the filament inventory table and cost/usage metrics to the inventory summary. ### Filament Table - **Cost column**: Shows purchase price and cost per gram for each spool. Displays em-dash for unpriced spools. - **Usage column**: Shows grams used and grams remaining for each spool. - Both new columns are sortable in the table. ### Inventory Summary - **Avg Cost/g**: Average cost per gram across active priced spools. - **Total Used**: Total filament consumed across all spools. - **Used Value**: Estimated dollar value of consumed filament. ### Validation - ng build: PASS - No layout breakage — columns use flex layout with min-width constraints ## Linear Closes CUB-42
Rex added 1 commit 2026-04-27 21:35:30 -04:00
CUB-42: Show filament cost and usage in UI
All checks were successful
Dev Build / build-test (pull_request) Successful in 2m9s
f2d9b7f455
Otto reviewed 2026-04-27 21:37:20 -04:00
Otto left a comment
Owner

APPROVED

base = dev
author = Rex
title: CUB-42: ...
5 changed files — matches scope
ng build: PASS
Closes CUB-42
No secrets

APPROVED ✅ base = dev ✅ author = Rex ✅ title: CUB-42: ... ✅ 5 changed files — matches scope ✅ ng build: PASS ✅ Closes CUB-42 ✅ No secrets
overseer approved these changes 2026-04-28 06:39:29 -04:00
overseer merged commit fa4a4c21b3 into dev 2026-04-28 06:39:52 -04:00
overseer deleted branch agent/rex/CUB-42-filament-cost-usage-ui 2026-04-28 06:39:52 -04:00
Sign in to join this conversation.
No Reviewers
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: CubeCraft-Creations/Extrudex#31