For AI suggestions, do not accept suggestion on stop characters [devtools/devtools-frontend : main]

0 views
Skip to first unread message

Samiya Caur (Gerrit)

unread,
7:20 AMĀ (8 hours ago)Ā 7:20 AM
to Alex Rudenko, devtools-rev...@chromium.org
Attention needed from Alex Rudenko

Samiya Caur voted

Auto-Submit+1
Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Alex Rudenko
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: I505119eb1a86458273b32f19be58e7a595b48023
Gerrit-Change-Number: 7812637
Gerrit-PatchSet: 1
Gerrit-Owner: Samiya Caur <sam...@chromium.org>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
Gerrit-Comment-Date: Mon, 04 May 2026 11:20:18 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Alex Rudenko (Gerrit)

unread,
7:24 AMĀ (8 hours ago)Ā 7:24 AM
to Samiya Caur, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
Attention needed from Samiya Caur

Alex Rudenko added 1 comment

File front_end/panels/elements/StylePropertyTreeElement.ts
Line 3640, Patchset 1 (Latest): this.prompt.applySuggestion({text: activeAiSuggestion.name, isAiCodeCompletion: true}, true);
Alex Rudenko . unresolved

can we name this `acceptSuggestionOnStopCharacters: false` instead of isAiCodeCompletion because I do not think UI layer should know about AI vs non-AI suggestions?

Open in Gerrit

Related details

Attention is currently required from:
  • Samiya Caur
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: I505119eb1a86458273b32f19be58e7a595b48023
    Gerrit-Change-Number: 7812637
    Gerrit-PatchSet: 1
    Gerrit-Owner: Samiya Caur <sam...@chromium.org>
    Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
    Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
    Gerrit-Attention: Samiya Caur <sam...@chromium.org>
    Gerrit-Comment-Date: Mon, 04 May 2026 11:24:40 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Samiya Caur (Gerrit)

    unread,
    7:33 AMĀ (8 hours ago)Ā 7:33 AM
    to devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, Alex Rudenko, devtools-rev...@chromium.org
    Attention needed from Alex Rudenko

    Samiya Caur voted and added 1 comment

    Votes added by Samiya Caur

    Auto-Submit+1
    Commit-Queue+1

    1 comment

    File front_end/panels/elements/StylePropertyTreeElement.ts
    Line 3640, Patchset 1: this.prompt.applySuggestion({text: activeAiSuggestion.name, isAiCodeCompletion: true}, true);
    Alex Rudenko . resolved

    can we name this `acceptSuggestionOnStopCharacters: false` instead of isAiCodeCompletion because I do not think UI layer should know about AI vs non-AI suggestions?

    Samiya Caur

    Named it `disableAcceptSuggestionOnStopCharacters` so that it can be false by default

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alex Rudenko
    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: I505119eb1a86458273b32f19be58e7a595b48023
      Gerrit-Change-Number: 7812637
      Gerrit-PatchSet: 2
      Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Comment-Date: Mon, 04 May 2026 11:33:07 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Alex Rudenko <alexr...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Alex Rudenko (Gerrit)

      unread,
      7:45 AMĀ (8 hours ago)Ā 7:45 AM
      to Samiya Caur, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
      Attention needed from Samiya Caur

      Alex Rudenko voted

      Code-Review+1
      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Samiya Caur
      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: I505119eb1a86458273b32f19be58e7a595b48023
      Gerrit-Change-Number: 7812637
      Gerrit-PatchSet: 2
      Gerrit-Owner: Samiya Caur <sam...@chromium.org>
      Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
      Gerrit-Attention: Samiya Caur <sam...@chromium.org>
      Gerrit-Comment-Date: Mon, 04 May 2026 11:45:11 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Alex Rudenko (Gerrit)

      unread,
      8:35 AMĀ (7 hours ago)Ā 8:35 AM
      to Samiya Caur, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
      Attention needed from Samiya Caur

      Alex Rudenko voted

      Code-Review+1
      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Samiya Caur
      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: I505119eb1a86458273b32f19be58e7a595b48023
      Gerrit-Change-Number: 7812637
      Gerrit-PatchSet: 3
      Gerrit-Owner: Samiya Caur <sam...@chromium.org>
      Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
      Gerrit-Attention: Samiya Caur <sam...@chromium.org>
      Gerrit-Comment-Date: Mon, 04 May 2026 12:34:58 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

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

      unread,
      9:10 AMĀ (7 hours ago)Ā 9:10 AM
      to Samiya Caur, Alex Rudenko, devtools-rev...@chromium.org

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

      Change information

      Commit message:
      For AI suggestions, do not accept suggestion on stop characters
      Fixed: 508153374
      Change-Id: I505119eb1a86458273b32f19be58e7a595b48023
      Auto-Submit: Samiya Caur <sam...@chromium.org>
      Reviewed-by: Alex Rudenko <alexr...@chromium.org>
      Commit-Queue: Alex Rudenko <alexr...@chromium.org>
      Commit-Queue: Samiya Caur <sam...@chromium.org>
      Files:
      • M front_end/panels/elements/StylePropertyTreeElement.test.ts
      • M front_end/panels/elements/StylePropertyTreeElement.ts
      • M front_end/panels/elements/StylesSidebarPane.ts
      • M front_end/ui/legacy/SuggestBox.ts
      • M front_end/ui/legacy/TextPrompt.ts
      Change size: S
      Delta: 5 files changed, 10 insertions(+), 6 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Alex Rudenko
      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: I505119eb1a86458273b32f19be58e7a595b48023
      Gerrit-Change-Number: 7812637
      Gerrit-PatchSet: 4
      Gerrit-Owner: Samiya Caur <sam...@chromium.org>
      Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
      Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages