)]}'
{
  "commit": "41418513256120f20f706046223f20d7665e6e49",
  "tree": "ae641d462ed6a8d30864b50b4d7a174788528620",
  "parents": [
    "7d3d1ecd64235c485bd83a47eb307385ec0e912f"
  ],
  "author": {
    "name": "Khanak Khandelwal",
    "email": "kkhanak512@gmail.com",
    "time": "Thu Apr 23 04:28:07 2026 +0530"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Apr 22 22:58:07 2026 +0000"
  },
  "message": "Fix long string overlay in debugger Variables panel (#7112) (#9745)\n\nthis PR fixes issue #7112 \r\nIn the debugger Variables panel, when a variable\u0027s value is a long string (e.g. a URL), it was wrapping to the next line and visually overlaying the next item\u0027s controls. The TreeView uses a fixed row height of 20px via itemExtent, but `Text.rich` widgets inside `DisplayProvider` and `DapDisplayProvider` had no single-line constraint.\r\n\r\nnow this issue is fixed by adding `maxLines: 1`, `softWrap: false`, `overflow: TextOverflow.ellipsis` to all relevant `Text.rich` widgets.\r\nLiteral newlines are replaced with `\\\\n` for visibility and values are wrapped in DevToolsTooltip so the full value is accessible on hover.\r\nA widget test was added in `test/screens/debugger/debugger_screen_dap_variables_test.dart` that pumps a DAP variable node with a 1000-character value and asserts single-line truncation properties and the tooltip carrying the full value.\r\n\r\nbefore this fix Long URL wraps to next line, overlaying next item\u0027s controls \r\n\r\n\u003cimg width\u003d\"472\" height\u003d\"124\" alt\u003d\"image\" src\u003d\"https://github.com/user-attachments/assets/abada05b-ccb0-458c-a6b0-26f12c9175ad\" /\u003e\r\n\r\nafter this fix Long URL truncated with ... on a single line, hover shows full value\r\nscreenshot for reference  \r\n\r\n\u003cimg width\u003d\"538\" height\u003d\"590\" alt\u003d\"image\" src\u003d\"https://github.com/user-attachments/assets/c6c3f2ee-efe9-4d7c-afc5-9d7894ca407f\" /\u003e\r\n\r\n### General checklist\r\n\r\n### Issues checklist\r\n\r\n### Tests checklist\r\n\r\n### AI-tooling checklist\r\n\r\n    * [ ] I read the [AI contributions guidelines] and agree to follow them.\r\n    * [ ] I reviewed all AI-generated code before opening this PR.\r\n    * [ ] I understand and am able to discuss the code in this PR.\r\n    * [ ] I have verifed the accuracy of any AI-generated text included in the PR description.\r\n    * [ ] I commit to verifying the accuracy of any AI-generated code or text that I upload in response to review comments.\r\n\r\n### Feature-change checklist \r\n\r\n    * [ ] I added the `release-notes-not-required` label or left a comment requesting the label be added.\r\n    * [ ] I added an entry to `packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md`.\r\n    * [ ] I included before/after screenshots and/or a GIF demo of the new UI to my PR description.\r\n    * [ ] I ran the DevTools app locally to manually verify my changes.\r\n\r\n![build.yaml badge]\r\n\r\nIf you need help, consider asking for help on [Discord].\r\n\r\n[`contributions-welcome`]: https://github.com/flutter/devtools/issues?q\u003dstate%3Aopen%20label%3Acontributions-welcome\r\n[`good-first-issue`]: https://github.com/flutter/devtools/issues?q\u003dstate%3Aopen%20label%3Agood-first-issue\r\n[build.yaml badge]: https://github.com/flutter/devtools/actions/workflows/build.yaml/badge.svg",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2fed4f1c9b465d41f6a38bc2981dd9a87615f0fe",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/lib/src/shared/console/widgets/display_provider.dart",
      "new_id": "4e389efb5e3e5948d4d610e8adf6e5b3a5c41a69",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/lib/src/shared/console/widgets/display_provider.dart"
    },
    {
      "type": "modify",
      "old_id": "9bbdfe3857475553ebecbc01b2cc6e1d9a478f93",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md",
      "new_id": "639875d1ad65008efbbaf4ca2f20985b66cfe659",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md"
    },
    {
      "type": "modify",
      "old_id": "4bd607df63ff009775c5ca3a56252b1716416afb",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/test/screens/debugger/debugger_screen_dap_variables_test.dart",
      "new_id": "f227f29a9f7247e76c7cfd71eda4a272400305ef",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/test/screens/debugger/debugger_screen_dap_variables_test.dart"
    }
  ]
}
