Skip to content

fix(FR-2689): allow longer accelerator names in session launcher selector#7187

Draft
nowgnuesLee wants to merge 1 commit intomainfrom
04-30-fix_fr-2689_allow_longer_accelerator_names_in_session_launcher_selector
Draft

fix(FR-2689): allow longer accelerator names in session launcher selector#7187
nowgnuesLee wants to merge 1 commit intomainfrom
04-30-fix_fr-2689_allow_longer_accelerator_names_in_session_launcher_selector

Conversation

@nowgnuesLee
Copy link
Copy Markdown
Contributor

@nowgnuesLee nowgnuesLee commented Apr 30, 2026

Resolves #6935 (FR-2689)

Summary

In the session launcher's accelerator-type selector, names longer than fgpu (e.g., longer device identifiers like cuda.shares) were visually truncated because the inner BAISelect was pinned to a fixed width: 75.

Replaced the fixed width with minWidth: 75, maxWidth: 100 on the accelerator-type BAISelect so the control grows to fit longer labels while keeping the compact baseline for short units like GPU / fGPU.

Test plan

  • Open the session launcher with a resource group that exposes a short accelerator unit (e.g., GPU, fGPU) and confirm the selector still renders at the compact 75px width.
  • Switch to a resource group whose accelerator unit label is longer than fgpu and confirm the label is fully visible (no truncation) up to the 100px cap.
  • Open the dropdown and confirm options are still readable (popupMatchSelectWidth={false} continues to size the popup to its content).

Copy link
Copy Markdown
Contributor Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements
8.12% (+0% 🔼)
1859/22905
🔴 Branches 7.35% 1187/16156
🔴 Functions
4.83% (+0.02% 🔼)
297/6154
🔴 Lines
7.89% (+0% 🔼)
1750/22190

Test suite run success

865 tests passing in 40 suites.

Report generated by 🧪jest coverage report action from b1f949a

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AI Accelerator name truncated in session launcher when name is longer than 'fgpu'

1 participant