Title: fix(canvas): show full Agent prompt tooltips by BillLeoutsakosvl346 · Pull Request #6961 · simstudioai/sim · GitHub
Open Graph Title: fix(canvas): show full Agent prompt tooltips by BillLeoutsakosvl346 · Pull Request #6961 · simstudioai/sim
X Title: fix(canvas): show full Agent prompt tooltips by BillLeoutsakosvl346 · Pull Request #6961 · simstudioai/sim
Description: Summary Separates compact canvas display values from tooltip labels so long Agent prompts are no longer shortened before the tooltip receives them. Agent cards keep the existing 50-character first-message preview, block sizing, and auto-layout behavior, while editor and read-only preview tooltips receive the complete first-message content. Long plain strings such as Function code remain unchanged. The renderer now supports an optional full tooltip value and opens the tooltip when the visible text is clipped or when it was shortened upstream. Password masking, selector hydration, regular row tooltip behavior, and structured-value summaries are unchanged. Type of Change Bug fix New feature Breaking change Documentation Other Testing bun run test lib/workflows/subblocks/display.test.ts in apps/sim: 28 tests passed bun run test src/workflow-block/sub-block-row-view.test.tsx in packages/workflow-renderer: 1 test passed bun run type-check in apps/sim bun run type-check in packages/workflow-renderer Scoped Biome check across all 7 changed files git diff --check Reviewers should focus on the display-versus-tooltip separation: the compact Agent chip must remain unchanged while its tooltip exposes the complete first message, including when the compact string itself fits and was truncated upstream. 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 Before behavior and both comparison screenshots are in the linked Slack thread. No after screenshot is attached because the compact preview and layout intentionally remain visually unchanged; only the tooltip content changes, and that behavior is covered by the focused renderer regression test.
Open Graph Description: Summary Separates compact canvas display values from tooltip labels so long Agent prompts are no longer shortened before the tooltip receives them. Agent cards keep the existing 50-character first-...
X Description: Summary Separates compact canvas display values from tooltip labels so long Agent prompts are no longer shortened before the tooltip receives them. Agent cards keep the existing 50-character first-...
Opengraph URL: https://github.com/simstudioai/sim/pull/6961
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:084b0010-caaa-190d-4077-16591627a604 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D7DE:8BAE:1D711:2881E:6AFB646A |
| html-safe-nonce | 70a139f7e3889306e8591e5a7cd1fe3f6395b2cf1b76e3554c6f6a7e74e4d237 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0RFOjhCQUU6MUQ3MTE6Mjg4MUU6NkFGQjY0NkEiLCJ2aXNpdG9yX2lkIjoiNjUzNzkyNzYxMzUxODQwNjc2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 32be8474890447066c010682c32d5ec3edb057453bb6fa461ae12cd4dc344127 |
| hovercard-subject-tag | pull_request:4336403763 |
| 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/6961/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 Separates compact canvas display values from tooltip labels so long Agent prompts are no longer shortened before the tooltip receives them. Agent cards keep the existing 50-character first-... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| 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 | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width