mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[GH-ISSUE #730] [Feature]: Feature Request: Per-User Print Statistics & User Assignment for Direct Prints #487
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#487
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @3823u44238 on GitHub (Mar 17, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/730
Originally assigned to: @maziggy on GitHub.
Problem or Use Case
First of all, I just want to say – Bambuddy is absolutely amazing. The work you've put into this project is incredible, and it's been a game-changer for managing our 3D printers at our university. Seriously, hats off to you!
We're running Bambuddy in a university FH environment with multiple students and 5 Bambu Lab printers. We have two feature requests that would make Bambuddy even more powerful for multi-user setups:
As an admin, it would be very useful to see how much each user has printed – number of prints, filament used, print time and costs. This is important for cost tracking and billing students for material usage.
Currently, a print job is only assigned to a user when it's started through the Queue. When a print is started directly via the "Print" button on a printer, no user is assigned. It would be great if direct prints were also tracked and assigned to the logged-in user who started them.
These two features together would make Bambuddy a complete solution for university and makerspace environments where accountability and cost tracking are essential.
Thank you again for the fantastic work – keep it up! 🙌
Proposed Solution
.
Alternatives Considered
No response
Feature Category
Print Archiving
Priority
Nice to have
Mockups or Examples
No response
Contribution
Checklist
@maziggy commented on GitHub (Mar 17, 2026):
Thank you for the flowers :)
This is something we certainly can look into. I'll add it to the "work queue".
@maziggy commented on GitHub (Mar 24, 2026):
Before we commit to building this, I'd like to gauge community interest. If you'd find this feature useful, please give this issue a thumbs up (👍) reaction so we can prioritize accordingly.
@maziggy commented on GitHub (Mar 28, 2026):
Can you please explain more detailed? Should it be an admin only dashboard or for all users?
@3823u44238 commented on GitHub (Mar 30, 2026):
To answer your question: we would love to see this as an admin feature, not necessarily for each user individually. The most useful implementation for us would be a simple dropdown in the existing Statistics page where you can select either "All Users" (current behaviour) or a specific user – and the statistics update accordingly.
The per-user view is less important for us. What matters most is that admins can filter and see usage per person.
But I want to highlight something I think is even more critical: knowing who started each print. Right now, if a print is started directly via the "Print" button on a printer card (not through the Queue), no user is assigned to it. This means the statistics and archive are incomplete. Every print should show who initiated it, regardless of how it was started.
This is not just relevant for us – I think any organization, company, or makerspace using Bambuddy in a multi-user setup would benefit enormously from this. It's the foundation for any kind of accountability or cost tracking.
The combination of: (1) user attribution on every print and (2) a per-user filter in the statistics dashboard would make Bambuddy a truly complete solution for professional and institutional environments.
Thank you again for your incredible work on this project!****
@maziggy commented on GitHub (Mar 30, 2026):
Please keep in mind, that no user can be assigned if the print is started from the slicer. It only works for prints that were initiated via Bambuddy.
@3823u44238 commented on GitHub (Mar 30, 2026):
yes we prefer and do it this way. Not directly via slicer
@maziggy commented on GitHub (Mar 31, 2026):
Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you.
Docs -> https://wiki.bambuddy.cool/features/statistics/?h=per+user#per-user-filtering
If you find Bambuddy useful, please consider giving it a ⭐ on GitHub — it helps others discover the project!
@3823u44238 commented on GitHub (Apr 14, 2026):
Hi again! Thank you for implementing the per-user statistics filtering – it's already working great in the daily build!
I wanted to follow up on the second part of the request: user assignment for direct prints (not via Queue).
You mentioned that no user can be assigned if the print is started from the slicer, which makes total sense. But what about prints started via the "Print" button directly on the printer card in Bambuddy (not from the slicer, not from the Queue)?
When a user clicks that button, Bambuddy receives an authenticated API request with a JWT token – so the logged-in user is technically known at that moment. Wouldn't it be possible to read the user from the JWT token and assign it as created_by_id on the resulting archive?
From a user perspective, the difference between "Print via Queue" and "Print directly" is just one extra click – but the tracking outcome is completely different. Both actions are performed inside Bambuddy by an authenticated user, so it feels like the user should be assignable in both cases.
Would love to hear your thoughts on whether this is technically feasible!
@maziggy commented on GitHub (Apr 14, 2026):
Available/Fixed in branch dev and available with the next release or daily build.
@3823u44238 commented on GitHub (Apr 21, 2026):
Hi! I'm Sorry somehow I cant seem to find the fix. Maybe I'm doing something wrong?
I tested all print paths with
v0.2.3.1and here are the results for user attribution (created_by_id):It seems the fix for "Library Prints Not Attributed to User" mentioned in the 0.2.3 release notes did not take effect, or it only covers a specific code path.
Additionally, I noticed two side effects when printing via the Direct Print button on the printer card:
If the file does not already exist in the File Manager, Bambuddy automatically uploads it there. This is undesirable — files should only land in the Archive, not in the File Manager, unless the user explicitly uploads them.
This happens even when the "Create archive entry when printing from File Manager" setting is set to never.
All three non-queue print paths are triggered by authenticated Bambuddy users with valid JWT tokens, so the logged-in user is technically known at the time of the request. Could user attribution be extended to cover all these paths?
@maziggy commented on GitHub (Apr 21, 2026):
I think something went wrong when merging new features for the release. Let me check....
@maziggy commented on GitHub (Apr 21, 2026):
I'm sorry, I forgot to merge the fixes for this issue. Hopfully all are fixed now.
Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you now.
If you find Bambuddy useful, please consider giving it a ⭐ on GitHub — it helps others discover the project!
@3823u44238 commented on GitHub (Apr 21, 2026):
Thank you very much!
@maziggy commented on GitHub (Apr 21, 2026):
Does that mean that it is working now for you?
@3823u44238 commented on GitHub (Apr 21, 2026):
I'm waiting for the next daily build cycle to trigger so I can pull the latest image and test. I'll update you as soon as I've verified the fix in my environment tomorrow. Thanks again for the quick turnaround!
@3823u44238 commented on GitHub (Apr 22, 2026):
Hi! After updating to v0.2.4b1 (daily build), the per-user statistics dropdown that was available in v0.2.3.1 seems to be missing from the Statistics page. Was this intentionally removed or was this a mistake?
@maziggy commented on GitHub (Apr 22, 2026):
Nope, still there. Cache problem?
@3823u44238 commented on GitHub (Apr 22, 2026):
oh yes it was. Thank you. I will try the different print paths. Thanks alot!
@3823u44238 commented on GitHub (Apr 23, 2026):
Hi! Quick update after testing v0.2.4b1:
Direct Print button on printer card: user is now correctly assigned ✅
Print from File Manager: user is now correctly assigned ✅
Reprint from Archive: user is still not assigned (created_by_id = NULL) ❌
@maziggy commented on GitHub (Apr 23, 2026):
Available/Fixed in branch dev and available with the next release or daily build. Please let me know it it works now.
If you find Bambuddy useful, please consider giving it a ⭐ on GitHub — it helps others discover the project!