Workflow switcher dropdowns now size open menus to fit long workflow names without widening the collapsed trigger.
- Add menu width calculation that combines measured workflow names, option decorations, trigger width, and viewport bounds.
- Measure option names with a canvas when opening/repositioning the dropdown.
- Cover long-name, viewport clamp, trigger sizing, and CSS overflow behavior in WorkflowSwitcher tests.
- Document the open-listbox sizing behavior in the dashboard guide.
Files changed:
docs/dashboard-guide.md | 2 +-
.../dashboard/app/components/WorkflowSwitcher.tsx | 49 +++++++++++++-
.../components/__tests__/WorkflowSwitcher.test.tsx | 78 +++++++++++++++++++++-
3 files changed, 123 insertions(+), 6 deletions(-)
Fusion-Task-Id: FN-6894
Fusion-Task-Lineage: 3f2f8129-3f85-484d-9c0f-b6ebe673b6a9