Skip to content

Install details: "(" separates from the time when the line wraps #58743

Open

Description

@Brajim20

Fleet versions

Web browser and operating system: Chromium on macOS


💥 Actual behavior

In the Install details and Script details modals opened from host › Software › Library, when the sentence wraps, the opening "(" stays at the end of one line and the time starts the next: … on <host> ( / 7 minutes ago). The same modals opened from the activity feed wrap normally.

image

🛠️ Expected behavior

The "(" stays on the same line as the time.

🧑‍💻 Steps to reproduce

These steps:

  • Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
  • Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
  1. Install a package (or script-only package) on a host whose name is long enough that the modal's first sentence wraps right before the time.
  2. Host details › Software › Library → click the row's Installed / Ran status.

🕯️ More info (optional)

Introduced by #56642 (5dcb9be, for #50969). The time is now wrapped in TooltipWrapper, which is inline-flex + white-space: nowrap, while " (" and ")" stay outside it, so the only break point is between "(" and the time: SoftwareInstallDetailsModal.tsx:146, SoftwareScriptDetailsModal.tsx:103.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    #g-auto-patchingProduct group focused on auto patching softwarebugSomething isn't working as documented~frontendFrontend-related issue.~unreleased bugThis bug was found in an unreleased version of Fleet.

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions