Add visual logging contexts to Layers panel for comment anchoring [devtools/devtools-frontend : main]

0 views
Skip to first unread message

Alex Rudenko (Gerrit)

unread,
Aug 18, 2026, 3:43:36 AMĀ (yesterday)Ā Aug 18
to devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, devtools-rev...@chromium.org

Alex Rudenko voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I2cbb05c985137d30973028b8d769429da48d2b79
Gerrit-Change-Number: 8257559
Gerrit-PatchSet: 2
Gerrit-Owner: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Comment-Date: Tue, 18 Aug 2026 07:43:33 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Alex Rudenko (Gerrit)

unread,
Aug 18, 2026, 3:57:50 AMĀ (yesterday)Ā Aug 18
to devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, devtools-rev...@chromium.org

Alex Rudenko added 2 comments

File front_end/panels/layer_viewer/LayerDetailsView.ts
Line 224, Patchset 2 (Latest): data-backend-node-id=${domNode ? domNode.id : nothing}
Alex Rudenko . unresolved

`domNode.id` returns the `NodeId`. Since the attribute is named `data-backend-node-id`, you likely want to use `domNode.backendNodeId()` instead.

File front_end/panels/layer_viewer/LayerTreeOutline.ts
Line 83, Patchset 2 (Latest): data-backend-node-id=${domNode ? domNode.id : nothing}
Alex Rudenko . unresolved

`domNode.id` returns the `NodeId`. You probably want to use `domNode.backendNodeId()` here to match the attribute name.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I2cbb05c985137d30973028b8d769429da48d2b79
    Gerrit-Change-Number: 8257559
    Gerrit-PatchSet: 2
    Gerrit-Owner: Alex Rudenko <alexr...@chromium.org>
    Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
    Gerrit-Comment-Date: Tue, 18 Aug 2026 07:57:46 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alex Rudenko (Gerrit)

    unread,
    Aug 18, 2026, 12:12:21 PMĀ (22 hours ago)Ā Aug 18
    to devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, devtools-rev...@chromium.org

    Alex Rudenko added 2 comments

    File front_end/panels/layer_viewer/LayerDetailsView.ts
    Line 224, Patchset 2: data-backend-node-id=${domNode ? domNode.id : nothing}
    Alex Rudenko . resolved

    `domNode.id` returns the `NodeId`. Since the attribute is named `data-backend-node-id`, you likely want to use `domNode.backendNodeId()` instead.

    Alex Rudenko

    Done

    File front_end/panels/layer_viewer/LayerTreeOutline.ts
    Line 83, Patchset 2: data-backend-node-id=${domNode ? domNode.id : nothing}
    Alex Rudenko . resolved

    `domNode.id` returns the `NodeId`. You probably want to use `domNode.backendNodeId()` here to match the attribute name.

    Alex Rudenko

    Done

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: devtools/devtools-frontend
      Gerrit-Branch: main
      Gerrit-Change-Id: I2cbb05c985137d30973028b8d769429da48d2b79
      Gerrit-Change-Number: 8257559
      Gerrit-PatchSet: 6
      Gerrit-Comment-Date: Tue, 18 Aug 2026 16:12:19 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Alex Rudenko <alexr...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Alex Rudenko (Gerrit)

      unread,
      8:22 AMĀ (1 hour ago)Ā 8:22 AM
      to Yulun Zeng, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, devtools-rev...@chromium.org
      Attention needed from Yulun Zeng

      Alex Rudenko voted Commit-Queue+1

      Commit-Queue+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Yulun Zeng
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: devtools/devtools-frontend
      Gerrit-Branch: main
      Gerrit-Change-Id: I2cbb05c985137d30973028b8d769429da48d2b79
      Gerrit-Change-Number: 8257559
      Gerrit-PatchSet: 6
      Gerrit-Owner: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Reviewer: Yulun Zeng <yul...@chromium.org>
      Gerrit-Attention: Yulun Zeng <yul...@chromium.org>
      Gerrit-Comment-Date: Wed, 19 Aug 2026 12:22:30 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Yulun Zeng (Gerrit)

      unread,
      9:03 AMĀ (1 hour ago)Ā 9:03 AM
      to Alex Rudenko, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, devtools-rev...@chromium.org
      Attention needed from Alex Rudenko

      Yulun Zeng voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Alex Rudenko
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: devtools/devtools-frontend
      Gerrit-Branch: main
      Gerrit-Change-Id: I2cbb05c985137d30973028b8d769429da48d2b79
      Gerrit-Change-Number: 8257559
      Gerrit-PatchSet: 6
      Gerrit-Owner: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Reviewer: Yulun Zeng <yul...@chromium.org>
      Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Comment-Date: Wed, 19 Aug 2026 13:03:56 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Alex Rudenko (Gerrit)

      unread,
      9:04 AMĀ (1 hour ago)Ā 9:04 AM
      to Yulun Zeng, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, devtools-rev...@chromium.org

      Alex Rudenko voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: devtools/devtools-frontend
      Gerrit-Branch: main
      Gerrit-Change-Id: I2cbb05c985137d30973028b8d769429da48d2b79
      Gerrit-Change-Number: 8257559
      Gerrit-PatchSet: 6
      Gerrit-Owner: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Reviewer: Yulun Zeng <yul...@chromium.org>
      Gerrit-Comment-Date: Wed, 19 Aug 2026 13:04:16 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com (Gerrit)

      unread,
      9:07 AMĀ (1 hour ago)Ā 9:07 AM
      to Alex Rudenko, Yulun Zeng, android-bu...@system.gserviceaccount.com, devtools-rev...@chromium.org

      devtools-fro...@luci-project-accounts.iam.gserviceaccount.com submitted the change

      Change information

      Commit message:
      Add visual logging contexts to Layers panel for comment anchoring

      Add jslog contexts and data-backend-node-id to LayerTreeOutline
      ('layer-item') and LayerDetailsView ('layer-details' section and
      'detail-row' rows) to support CommentAnchorResolver.

      Bug: 542928776
      Change-Id: I2cbb05c985137d30973028b8d769429da48d2b79
      TAG=agy
      CONV=fdf66637-1abc-41a3-afd9-c4f8272a49c8
      Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/8257559
      Reviewed-by: Yulun Zeng <yul...@chromium.org>
      Commit-Queue: Alex Rudenko <alexr...@chromium.org>
      Files:
      • M front_end/panels/layer_viewer/LayerDetailsView.ts
      • M front_end/panels/layer_viewer/LayerTreeOutline.ts
      • M front_end/ui/visual_logging/KnownContextValues.ts
      Change size: S
      Delta: 3 files changed, 15 insertions(+), 7 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Yulun Zeng
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: devtools/devtools-frontend
      Gerrit-Branch: main
      Gerrit-Change-Id: I2cbb05c985137d30973028b8d769429da48d2b79
      Gerrit-Change-Number: 8257559
      Gerrit-PatchSet: 7
      Gerrit-Owner: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Reviewer: Yulun Zeng <yul...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages