[PR #395] [MERGED] feat(Queue) Add more information in Currently Printing job #1025

Closed
opened 2026-05-06 12:34:33 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/395
Author: @aneopsy
Created: 2/16/2026
Status: Merged
Merged: 2/16/2026
Merged by: @maziggy

Base: 0.2.0bHead: queue-currently-printing-card


📝 Commits (4)

  • 687a48e feat(queue): enhance currently printing item display
  • 7134007 fix(queue): optimize printer status polling and minor cleanup
  • ddce4d5 Merge branch '0.2.0b' into queue-currently-printing-card
  • 78fdb27 Fix indentation in QueuePage.tsx

📊 Changes

13 files changed (+107 additions, -115 deletions)

View changed files

📝 frontend/src/components/PrintModal/PlateSelector.tsx (+2 -2)
📝 frontend/src/i18n/locales/de.ts (+1 -1)
📝 frontend/src/i18n/locales/en.ts (+1 -1)
📝 frontend/src/i18n/locales/fr.ts (+1 -1)
📝 frontend/src/i18n/locales/it.ts (+1 -1)
📝 frontend/src/i18n/locales/ja.ts (+1 -1)
📝 frontend/src/pages/ArchivesPage.tsx (+1 -8)
📝 frontend/src/pages/FileManagerPage.tsx (+1 -9)
📝 frontend/src/pages/PrintersPage.tsx (+4 -40)
📝 frontend/src/pages/QueuePage.tsx (+35 -13)
📝 frontend/src/pages/StreamOverlayPage.tsx (+11 -27)
📝 frontend/src/utils/amsHelpers.ts (+0 -11)
📝 frontend/src/utils/date.ts (+48 -0)

📄 Description

Description

Currently Printing job now show:

  • The actual print progress
  • Remaining time
  • Estimated time of completion (ETA)
  • Layer information

Fixes #392

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test addition or update

Changes Made

  • Add progress bar, time remaining, ETA, and layer count to currently printing item
  • Remove duplicate formatDuration & formatETA functions, now imported from utils/dates
  • Remove formatTime (duplicate of formatDuration)
  • Update formatETA to support optional i18n translation
  • Update translation: common.tomorrow

Screenshots

image

Testing

  • I have tested this on my local machine
  • I have tested this on my server (prod)
  • I have tested with my printer model: X1C, H2S, H2D

Checklist

  • My code follows the project's coding style
  • I have commented my code where necessary
  • I have updated the documentation (if needed)
  • My changes generate no new warnings
  • I have tested my changes thoroughly

Additional Notes


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/maziggy/bambuddy/pull/395 **Author:** [@aneopsy](https://github.com/aneopsy) **Created:** 2/16/2026 **Status:** ✅ Merged **Merged:** 2/16/2026 **Merged by:** [@maziggy](https://github.com/maziggy) **Base:** `0.2.0b` ← **Head:** `queue-currently-printing-card` --- ### 📝 Commits (4) - [`687a48e`](https://github.com/maziggy/bambuddy/commit/687a48e655670bd050158e0197a3de0140657b86) feat(queue): enhance currently printing item display - [`7134007`](https://github.com/maziggy/bambuddy/commit/7134007e6a207510683264174becde2b64e156aa) fix(queue): optimize printer status polling and minor cleanup - [`ddce4d5`](https://github.com/maziggy/bambuddy/commit/ddce4d5c98842bf2b63a913cfb4d72db52e5b899) Merge branch '0.2.0b' into queue-currently-printing-card - [`78fdb27`](https://github.com/maziggy/bambuddy/commit/78fdb27fa534e3a243477b6b0151cb0b2347c4aa) Fix indentation in QueuePage.tsx ### 📊 Changes **13 files changed** (+107 additions, -115 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/PrintModal/PlateSelector.tsx` (+2 -2) 📝 `frontend/src/i18n/locales/de.ts` (+1 -1) 📝 `frontend/src/i18n/locales/en.ts` (+1 -1) 📝 `frontend/src/i18n/locales/fr.ts` (+1 -1) 📝 `frontend/src/i18n/locales/it.ts` (+1 -1) 📝 `frontend/src/i18n/locales/ja.ts` (+1 -1) 📝 `frontend/src/pages/ArchivesPage.tsx` (+1 -8) 📝 `frontend/src/pages/FileManagerPage.tsx` (+1 -9) 📝 `frontend/src/pages/PrintersPage.tsx` (+4 -40) 📝 `frontend/src/pages/QueuePage.tsx` (+35 -13) 📝 `frontend/src/pages/StreamOverlayPage.tsx` (+11 -27) 📝 `frontend/src/utils/amsHelpers.ts` (+0 -11) 📝 `frontend/src/utils/date.ts` (+48 -0) </details> ### 📄 Description ## Description Currently Printing job now show: - The actual print progress - Remaining time - Estimated time of completion (ETA) - Layer information ## Related Issue Fixes #392 ## Type of Change - [ ] Bug fix (non-breaking change that fixes an issue) - [x] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [ ] Code refactoring - [ ] Performance improvement - [ ] Test addition or update ## Changes Made - Add progress bar, time remaining, ETA, and layer count to currently printing item - Remove duplicate formatDuration & formatETA functions, now imported from utils/dates - Remove formatTime (duplicate of formatDuration) - Update formatETA to support optional i18n translation - Update translation: common.tomorrow ## Screenshots <img width="1446" height="674" alt="image" src="https://github.com/user-attachments/assets/6ffe4faf-1d07-497f-8a07-4671050fc4e1" /> ## Testing - [x] I have tested this on my local machine - [x] I have tested this on my server (prod) - [x] I have tested with my printer model: X1C, H2S, H2D ## Checklist - [x] My code follows the project's coding style - [x] I have commented my code where necessary - [x] I have updated the documentation (if needed) - [x] My changes generate no new warnings - [x] I have tested my changes thoroughly ## Additional Notes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:34:33 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#1025
No description provided.