Title: fix(terminal): keep running-command tooltips concise by BillLeoutsakosvl346 · Pull Request #6991 · simstudioai/sim · GitHub
Open Graph Title: fix(terminal): keep running-command tooltips concise by BillLeoutsakosvl346 · Pull Request #6991 · simstudioai/sim
X Title: fix(terminal): keep running-command tooltips concise by BillLeoutsakosvl346 · Pull Request #6991 · simstudioai/sim
Description: Summary Show the terminal working directory and a concise foreground program name in terminal-tab tooltips. Keep the literal running command unchanged in terminal state and scrollback, where it remains selectable and copyable. Add regression coverage for the long compound heredoc command reported in Slack and the existing idle-terminal fallbacks. Slack issue: https://sim-ai.slack.com/archives/C093DF8MA21/p1786758187764159 The oversized tooltip was caused by passing the complete literal command into a short, non-interactive tooltip. Its existing width cap then wrapped document-length commands into a viewport-height column. This fixes the semantic input at the terminal call site by reusing describeRunningCommand; it does not change the shared tooltip primitive or affect browser/resource-tab tooltip behavior. Type of Change Bug fix New feature Breaking change Documentation Other Testing Focused terminal-session test: 10 passed. @sim/terminal-protocol tests: 9 passed. Full monorepo test suite: 18 workspace tasks passed; Sim app reported 2,166 passing test files and 30,775 passing tests. Full monorepo type-check passed. Full monorepo lint check passed with one unrelated existing unused-suppression warning in lib/workspace-files/shell-layout.test.ts. API-validation audit passed. Source-built Electron manual QA against the local renderer: Ran a 900-character multiline heredoc in one of two terminal tabs. Keyboard-focused the running tab and verified the tooltip was /Users/billleoutsakos — python3 rather than the literal heredoc. Verified the tooltip remained compact in a narrow split terminal pane and in both dark and light themes. Verified the full command remained visible in terminal scrollback and that selecting it enabled the existing Copy action. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) Screenshots/Videos The original oversized-tooltip screenshot is in the linked Slack thread. Manual QA was completed in both dark and light themes using the source-built desktop app.
Open Graph Description: Summary Show the terminal working directory and a concise foreground program name in terminal-tab tooltips. Keep the literal running command unchanged in terminal state and scrollback, where it re...
X Description: Summary Show the terminal working directory and a concise foreground program name in terminal-tab tooltips. Keep the literal running command unchanged in terminal state and scrollback, where it re...
Opengraph URL: https://github.com/simstudioai/sim/pull/6991
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a743c9fe-dedb-8ba9-8a80-1940425b465a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C53A:32D628:C2B051:10AA92D:6AFB569C |
| html-safe-nonce | 82e891e703d95c92b5c8ea5bbec9361921362e4a0d88fd2a63385b7e5d9385bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTNBOjMyRDYyODpDMkIwNTE6MTBBQTkyRDo2QUZCNTY5QyIsInZpc2l0b3JfaWQiOiI0NzUyNjMwMDMyMDgwMDAwNjY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b6f0fce53f8bf01182073ecdf222799796772e6a13a8cdcfc70e1fe2def63fcb |
| hovercard-subject-tag | pull_request:4340002766 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6991/files |
| twitter:image | https://avatars.githubusercontent.com/u/157128530?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/157128530?s=400&v=4 |
| og:image:alt | Summary Show the terminal working directory and a concise foreground program name in terminal-tab tooltips. Keep the literal running command unchanged in terminal state and scrollback, where it re... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width