Skip to content

feat(production): filament sync button - #17

Merged
tech5-opti merged 1 commit into
mainfrom
tushar
Aug 22, 2026
Merged

feat(production): filament sync button#17
tech5-opti merged 1 commit into
mainfrom
tushar

Conversation

@tech5-opti

Copy link
Copy Markdown
Collaborator

A "Sync from BambuBuddy" button on Filament Inventory, beside Add Filament. Pulls the spool shelf and reports what it found — against the real inventory: 129 spools → 9 materials, 129.0kg.

The result deliberately states both numbers, because they are different counts and an operator comparing this page with BambuBuddy's needs to know which one they are reading. BambuBuddy shows 129 rows; Tensor shows 9; neither is wrong.

Manual, mirroring FleetSyncButton and for the same reasons: the far end is a laptop reached over a VPN, so a background poll would fail routinely whenever it sleeps — and a filament shelf changes when a human puts a spool on it, not continuously. It also overwrites Tensor's stock figures with BambuBuddy's, which is something someone should choose to do rather than have happen quietly.

An empty result is reported as a problem, not a success: "BambuBuddy answered, but has no spools" looks identical to a broken connection on a page that was already empty.

Requires the backend sync endpoint.

🤖 Generated with Claude Code

A "Sync from BambuBuddy" button on Filament Inventory, beside Add
Filament. Pulls the spool shelf and reports what it found: 129 spools
became 9 materials totalling 129.0kg against the real inventory.

The result deliberately states BOTH numbers - spools and material/colour
buckets - because they are different counts and an operator comparing
this page with BambuBuddy's needs to know which one they are reading.
BambuBuddy shows 129 rows; Tensor shows 9, and neither is wrong.

Manual, mirroring FleetSyncButton and for the same reasons: the far end
is a laptop reached over a VPN, so a background poll would fail routinely
whenever it sleeps, and a filament shelf changes when a human puts a
spool on it rather than continuously. It also overwrites Tensor's stock
figures with BambuBuddy's, which is a thing someone should choose to do
rather than have happen quietly.

An empty result is reported as a problem, not a success: "BambuBuddy
answered, but has no spools" looks identical to a broken connection on a
page that was already empty.

The empty state now points at the sync as well as the manual form, since
this page can populate itself.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@tech5-opti
tech5-opti merged commit 40ff5fc into main Aug 22, 2026
1 of 3 checks passed
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@vercel

vercel Bot commented Aug 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tensor Building Building Preview Aug 22, 2026 7:09am
tensor-9bct Building Building Preview Aug 22, 2026 7:09am

Request Review

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant