You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Branch trigger shows "Fromnew-design" instead of "From new-design" #23625
resolveBranchTriggerLabel (apps/web/src/components/BranchToolbar.logic.ts) returns the correct string, From new-design. MiddleTruncate (apps/web/src/components/ui/middle-truncate.tsx) then splits it: splitForMiddleTruncate keeps the last 10 characters by default, so the 15-character label becomes head "From " and tail "new-design". Each part renders in its own <span> inside an inline-flex whitespace-nowrap container. Flex items lay out their text on their own, so the trailing space of the head span is collapsed and never renders. Any label where the cut lands right after a space loses that space.
Introduced with the middle-truncation change in #12805.
Activity