Skip to content

Conversation

@moggieuk
Copy link
Contributor

@moggieuk moggieuk commented Feb 12, 2026

Description

This PR moves the display of the "filament status message" which gives details of current movement from a vue text field and puts it in the filament status SVG. This ensures the font remains proportional to the rest of the status information. Previously on very narrow or wide displays, text would wrap or be of the incorrect size.

Related Tickets & Documents

n/a

Mobile & Desktop Screenshots/Recordings

Example mismatch prior:
filament_status_message_before copy

Fixed as part of filament status component:
filament_status_message_after

Signed-off-by: Paul Morgan moggieuk@hotmail.com

@pedrolamas pedrolamas requested a review from Copilot February 12, 2026 17:37
@pedrolamas pedrolamas added the GH - Bug Something isn't working label Feb 12, 2026
@pedrolamas pedrolamas added this to the 1.36.3 milestone Feb 12, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Moves the MMU “filament status message” from MmuCard’s HTML layout into the MmuFilamentStatus SVG so the text scales proportionally with the rest of the status display across different aspect ratios.

Changes:

  • Adjusts the filament status SVG viewBox and adds an SVG <text> node for the status message.
  • Relocates the statusText computed logic (and capitalize helper) from MmuCard into MmuFilamentStatus.
  • Removes the old status text container from MmuCard’s template.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
src/components/widgets/mmu/MmuFilamentStatus.vue Adds SVG-rendered status text and moves statusText computation into the filament status component.
src/components/widgets/mmu/MmuCard.vue Removes the HTML-rendered status text so the SVG becomes the single source of truth for that message.

Comment on lines +214 to +221
<text
x="282"
y="18"
font-size="16px"
text-anchor="middle"
>
{{ statusText }}
</text>
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

The new status is outside the existing that sets font-family/font-size styling (e.g. font-family: Roboto). As a result it will render with the browser default font and likely look inconsistent vs the rest of the SVG text. Consider applying the same font styling (wrap in the same styled or set font-family/font-size consistently).

Suggested change
<text
x="282"
y="18"
font-size="16px"
text-anchor="middle"
>
{{ statusText }}
</text>
<g style="font-family: Roboto, sans-serif;">
<text
x="282"
y="18"
font-size="16px"
text-anchor="middle"
>
{{ statusText }}
</text>
</g>

Copilot uses AI. Check for mistakes.
Copy link
Member

Choose a reason for hiding this comment

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

Not sure we want this...

pedrolamas and others added 4 commits February 12, 2026 17:44
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Copy link
Contributor

Copilot AI left a comment

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 3 out of 3 changed files in this pull request and generated 1 comment.

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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
@pedrolamas pedrolamas merged commit 0cb2650 into fluidd-core:develop Feb 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GH - Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants