Show comment thread near drawer row when not anchored

When clicking a comment row in the Comments drawer whose target element
can no longer be found or has been removed:
- Mark the thread as orphaned (`isOrphaned`) during `ThreadRevealer.reveal`
  and display a `(removed)` label and disabled styling on the drawer row.
- Pass the clicked row's position via `RevealableThread` as a fallback
  position to `CommentsOverlayWidget.openThread`, rendering the thread
  popup directly above the drawer row (`translateY(-100%)`) when no
  anchor pin is present.
- Close the open comment thread popup when clicking outside the overlay
  content element.

Bug: 567396200
Change-Id: I2f28bdbc759db58882eedc1fd01942a0ffd60db9
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/8585335
Reviewed-by: Yulun Zeng <yulunz@chromium.org>
Auto-Submit: Natallia Harshunova <nharshunova@chromium.org>
Commit-Queue: Natallia Harshunova <nharshunova@chromium.org>
7 files changed
tree: c93d4e7e7605fcd6969603d59ebe78124dd23a98
  1. .agents/
  2. .gemini/
  3. .github/
  4. .vscode/
  5. build_overrides/
  6. config/
  7. docs/
  8. extension-api/
  9. extensions/
  10. front_end/
  11. inspector_overlay/
  12. mcp/
  13. scripts/
  14. test/
  15. third_party/
  16. v8/
  17. .clang-format
  18. .clang-format-ignore
  19. .editorconfig
  20. .env.template
  21. .geminiignore
  22. .git-blame-ignore-revs
  23. .gitallowed
  24. .gitattributes
  25. .gitignore
  26. .gitmodules
  27. .gn
  28. .mailmap
  29. .npmignore
  30. .npmrc
  31. .style.yapf
  32. .stylelintignore
  33. .stylelintrc.json
  34. AUTHORS
  35. BUILD.gn
  36. codereview.settings
  37. CONTRIBUTING.md
  38. DEPS
  39. DIR_METADATA
  40. dt
  41. dt.bat
  42. eslint.config.mjs
  43. favicon.ico
  44. LICENSE
  45. OWNERS
  46. package-lock.json
  47. package.json
  48. PRESUBMIT.py
  49. README.md
  50. SECURITY.md
  51. WATCHLISTS
README.md

Chrome DevTools frontend

npm package

The client-side of the Chrome DevTools, including all TypeScript & CSS to run the DevTools webapp.

Source code and documentation

The frontend is available on chromium.googlesource.com. Check out the Chromium DevTools documentation for instructions to set up, use, and maintain a DevTools front-end checkout, as well as design guidelines, and architectural documentation.

Source mirrors

DevTools frontend repository is mirrored on GitHub.

DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.

The version number of the npm package (e.g. 1.0.373466) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.

Getting in touch

There are a few options to keep an eye on the latest and greatest of DevTools development: