Found while reviewing LibreChat-AI#16789 (local review finding local:a61609d:L-002).
The composer workspace menu titles each machine section with the environment's display name only. When two attached environments share a display name and each holds a workspace with the same name, repository and ref, the two sections and their rows read identically, so a reader cannot tell which machine a pick lands on. The heading ambiguity predates LibreChat-AI#16789 (the base also titled sections by name only); LibreChat-AI#16789 keeps a workspace id visible only when names collide within one machine.
Suggested fix: when environment display names collide in the menu, show the environment id (or another stable disambiguator) beside the heading, and compute workspace name collisions across all rendered sections.
Surface: client/src/components/Chat/Input/CodeWorkspaceMenu.tsx (EnvironmentWorkspaces heading and sharedNames).
Found while reviewing LibreChat-AI#16789 (local review finding
local:a61609d:L-002).The composer workspace menu titles each machine section with the environment's display name only. When two attached environments share a display name and each holds a workspace with the same name, repository and ref, the two sections and their rows read identically, so a reader cannot tell which machine a pick lands on. The heading ambiguity predates LibreChat-AI#16789 (the base also titled sections by name only); LibreChat-AI#16789 keeps a workspace id visible only when names collide within one machine.
Suggested fix: when environment display names collide in the menu, show the environment id (or another stable disambiguator) beside the heading, and compute workspace name collisions across all rendered sections.
Surface:
client/src/components/Chat/Input/CodeWorkspaceMenu.tsx(EnvironmentWorkspacesheading andsharedNames).