Skip to content

feat: add retract and extrude indicator#1898

Open
pedrolamas wants to merge 1 commit into
fluidd-core:developfrom
pedrolamas:pedrolamas/extruder-direction-indicator
Open

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

Conversation

@pedrolamas

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.

<v-icon
v-bind="attrs"
class="ml-3"
:color="extruderMovementDirection < 0 ? 'red' : 'green'"
@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.

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