open-design/apps/web/src/styles
YOMXXX 9305bd1cff
fix(web): truncate long project names in the automation project picker (#3274) (#3317)
Long project names in the "Existing projects" section of the
automation project picker rendered verbatim with no truncate styling,
so a single name like "A very long project name that would otherwise
wrap onto several lines" blew up the row height and made the dropdown
messy to scan. The expected behavior is a single-line label with
ellipsis, with the full name still discoverable on hover.

Add the standard truncate triad (`white-space: nowrap`,
`overflow: hidden`, `text-overflow: ellipsis`) to
`.automation-popover__label`. The parent
`.automation-popover__body` already sets `min-width: 0`, so the
ellipsis renders cleanly. Thread an optional `title` prop through
`PopoverItem` and pass each project's full name from the picker
call site, so the native hover tooltip carries the unclipped name.

Other PopoverItems with fixed in-product copy (e.g. "New project
each run") deliberately omit the title — they never exceed the row
width and the redundant tooltip would be noise.

Regression test covers the DOM contract (every project row has
`title=<full name>`, fixed rows do not); the CSS half is verified by
code review since jsdom does not apply stylesheets.
2026-05-30 04:42:21 +00:00
..
home fix(web): truncate long project names in the automation project picker (#3274) (#3317) 2026-05-30 04:42:21 +00:00
remixicon Fix/projects page/button (#3130) 2026-05-27 14:54:58 +00:00
viewer fix(#3247): Detect, terminate, and warn on fabricated role markers across all agent paths (#3303) 2026-05-30 03:57:56 +00:00
workspace Improve model picker search and shared BYOK catalogs (#3262) (#3278) 2026-05-29 07:07:40 +00:00
base.css refactor(web): split global CSS by ownership (#2609) 2026-05-25 05:48:28 +00:00
chat.css fix(composer): ellipsis overflow for referenced filenames (#3269) 2026-05-29 07:41:16 +00:00
design-system-flow.css fix(web): polish design system source flows (#2933) 2026-05-25 12:38:05 +00:00
primitives.css refactor(web): split global CSS by ownership (#2609) 2026-05-25 05:48:28 +00:00
shell.css Add preview iframe keep-alive pool (#2190) 2026-05-29 03:01:17 +00:00
tokens.css refactor(web): split global CSS by ownership (#2609) 2026-05-25 05:48:28 +00:00