Skip to content

feat: add retract and extrude indicator#1898

Open
pedrolamas wants to merge 4 commits into
fluidd-core:developfrom
pedrolamas:pedrolamas/extruder-direction-indicator
Open

feat: add retract and extrude indicator#1898
pedrolamas wants to merge 4 commits into
fluidd-core:developfrom
pedrolamas:pedrolamas/extruder-direction-indicator

Conversation

@pedrolamas

@pedrolamas pedrolamas commented Jul 3, 2026

Copy link
Copy Markdown
Member

Adds a new extruding/retracting indicator to the header of the Tool card, using the live extruder velocity.

Extruding

image

Retracting

image

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
@pedrolamas pedrolamas added this to the 1.37.3 milestone Jul 3, 2026
@pedrolamas pedrolamas requested a review from Copilot July 3, 2026 18:29
@pedrolamas pedrolamas added the FR - Enhancement New feature or request label Jul 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds an extruding/retracting indicator to the Toolhead widget header using Klipper’s motion_report.live_extruder_velocity, and aligns related UI affordances (icons/tooltips) to match.

Changes:

  • Add a header icon + tooltip in ToolheadCard that reflects live extruder movement direction (extruding vs retracting).
  • Update extrude/retract button icons and adjust global icon aliases for retract / extrude.
  • Add English i18n strings for “Extruding” / “Retracting”.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/locales/en.yaml Adds new tooltip strings for the extruding/retracting indicator.
src/globals.ts Introduces new MDI imports and maps retract / extrude icon aliases to triangle icons.
src/components/widgets/toolhead/ToolheadCard.vue Adds live extruder velocity-derived direction indicator (icon + tooltip) in the card header.
src/components/widgets/toolhead/ExtruderMoves.vue Switches extrude/retract button icons to the new aliases.
src/components/widgets/retract/RetractCard.vue Uses $retractions icon alias for the Retract card to preserve the prior card icon after alias changes.

Comment thread src/components/widgets/toolhead/ToolheadCard.vue Outdated
@thijstriemstra

thijstriemstra commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

oh, im sorry to say, but this looks very web 1.0. making it much smaller, and using greyscale up/down icons from the set you're using is the way to go I think.

@pedrolamas

pedrolamas commented Jul 4, 2026

Copy link
Copy Markdown
Member Author

oh, im sorry to say, but this looks very web 1.0. making it much smaller, and using greyscale up/down icons from the set you're using is the way to go I think.

Thanks for the feedback @thijstriemstra. Not disagreeing with your assessment, I should point out that these are icons from the set we are using in Fluidd.

I went for the colored triangle to match the ones we use in the Gcode Preview, but I admit that I am not sold on them either...

Having said that, I've now updated the icons to simple arrows (still keeping the red/green color for now, but that might also change)

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comment thread src/components/widgets/toolhead/ToolheadCard.vue
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

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

Labels

FR - Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants