Add loading spinner and timer to teaser [devtools/devtools-frontend : main]

0 views
Skip to first unread message

Samiya Caur (Gerrit)

unread,
Dec 2, 2025, 2:17:02 AMDec 2
to Ergün Erdoğmuş, devtools-rev...@chromium.org
Attention needed from Ergün Erdoğmuş

Samiya Caur voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Ergün Erdoğmuş
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: I06a0cb2d95e4bc932394e8be23485a83b53498ba
Gerrit-Change-Number: 7205756
Gerrit-PatchSet: 2
Gerrit-Owner: Samiya Caur <sam...@chromium.org>
Gerrit-Reviewer: Ergün Erdoğmuş <erg...@chromium.org>
Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
Gerrit-Attention: Ergün Erdoğmuş <erg...@chromium.org>
Gerrit-Comment-Date: Tue, 02 Dec 2025 07:16:58 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Ergün Erdoğmuş (Gerrit)

unread,
Dec 19, 2025, 8:14:46 AM (12 days ago) Dec 19
to Samiya Caur, Code Review Nudger, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org
Attention needed from Samiya Caur

Ergün Erdoğmuş voted and added 2 comments

Votes added by Ergün Erdoğmuş

Code-Review+1

2 comments

Patchset-level comments
File-level comment, Patchset 8 (Latest):
Ergün Erdoğmuş . resolved

LGTM % CSS animation

File front_end/panels/common/AiCodeGenerationTeaser.ts
Line 39, Patchset 8 (Latest):const SPINNER_CHARS = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
Ergün Erdoğmuş . unresolved

As discussed offline, I think this can be implemented using a CSS animation and that'd remove some complexity from the implementation.

Open in Gerrit

Related details

Attention is currently required from:
  • Samiya Caur
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: I06a0cb2d95e4bc932394e8be23485a83b53498ba
Gerrit-Change-Number: 7205756
Gerrit-PatchSet: 8
Gerrit-Owner: Samiya Caur <sam...@chromium.org>
Gerrit-Reviewer: Ergün Erdoğmuş <erg...@chromium.org>
Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Samiya Caur <sam...@chromium.org>
Gerrit-Comment-Date: Fri, 19 Dec 2025 13:14:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Samiya Caur (Gerrit)

unread,
Dec 22, 2025, 6:38:27 AM (9 days ago) Dec 22
to Ergün Erdoğmuş, Code Review Nudger, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org
Attention needed from Ergün Erdoğmuş

Samiya Caur voted and added 1 comment

Votes added by Samiya Caur

Auto-Submit+1
Commit-Queue+1

1 comment

File front_end/panels/common/AiCodeGenerationTeaser.ts
Line 39, Patchset 8:const SPINNER_CHARS = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
Ergün Erdoğmuş . resolved

As discussed offline, I think this can be implemented using a CSS animation and that'd remove some complexity from the implementation.

Samiya Caur

Updated, thank you for that suggestion!

Open in Gerrit

Related details

Attention is currently required from:
  • Ergün Erdoğmuş
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: I06a0cb2d95e4bc932394e8be23485a83b53498ba
Gerrit-Change-Number: 7205756
Gerrit-PatchSet: 9
Gerrit-Owner: Samiya Caur <sam...@chromium.org>
Gerrit-Reviewer: Ergün Erdoğmuş <erg...@chromium.org>
Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Ergün Erdoğmuş <erg...@chromium.org>
Gerrit-Comment-Date: Mon, 22 Dec 2025 11:38:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Ergün Erdoğmuş <erg...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Ergün Erdoğmuş (Gerrit)

unread,
Dec 29, 2025, 6:24:04 AM (yesterday) Dec 29
to Samiya Caur, Code Review Nudger, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org
Attention needed from Samiya Caur

Ergün Erdoğmuş voted and added 1 comment

Votes added by Ergün Erdoğmuş

Code-Review+1

1 comment

File front_end/panels/common/AiCodeGenerationTeaser.ts
Line 136, Patchset 11 (Latest): if (this.#displayState === AiCodeGenerationTeaserDisplayState.LOADING) {
Ergün Erdoğmuş . unresolved

Let's wait for the `updateComplete` in here to that it's linked to the update we're waiting exactly.

Open in Gerrit

Related details

Attention is currently required from:
  • Samiya Caur
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: I06a0cb2d95e4bc932394e8be23485a83b53498ba
Gerrit-Change-Number: 7205756
Gerrit-PatchSet: 11
Gerrit-Owner: Samiya Caur <sam...@chromium.org>
Gerrit-Reviewer: Ergün Erdoğmuş <erg...@chromium.org>
Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Samiya Caur <sam...@chromium.org>
Gerrit-Comment-Date: Mon, 29 Dec 2025 11:24:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Samiya Caur (Gerrit)

unread,
Dec 29, 2025, 9:15:22 AM (yesterday) Dec 29
to Ergün Erdoğmuş, Code Review Nudger, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org

Samiya Caur voted and added 1 comment

Votes added by Samiya Caur

Auto-Submit+1

1 comment

File front_end/panels/common/AiCodeGenerationTeaser.ts
Line 136, Patchset 11: if (this.#displayState === AiCodeGenerationTeaserDisplayState.LOADING) {
Ergün Erdoğmuş . resolved

Let's wait for the `updateComplete` in here to that it's linked to the update we're waiting exactly.

Samiya Caur

Done

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: I06a0cb2d95e4bc932394e8be23485a83b53498ba
    Gerrit-Change-Number: 7205756
    Gerrit-PatchSet: 12
    Gerrit-Owner: Samiya Caur <sam...@chromium.org>
    Gerrit-Reviewer: Ergün Erdoğmuş <erg...@chromium.org>
    Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Comment-Date: Mon, 29 Dec 2025 14:15:18 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Ergün Erdoğmuş <erg...@chromium.org>
    satisfied_requirement
    open
    diffy

    Samiya Caur (Gerrit)

    unread,
    Dec 29, 2025, 9:15:27 AM (yesterday) Dec 29
    to Ergün Erdoğmuş, Code Review Nudger, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org

    Samiya Caur 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: I06a0cb2d95e4bc932394e8be23485a83b53498ba
    Gerrit-Change-Number: 7205756
    Gerrit-PatchSet: 12
    Gerrit-Owner: Samiya Caur <sam...@chromium.org>
    Gerrit-Reviewer: Ergün Erdoğmuş <erg...@chromium.org>
    Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Comment-Date: Mon, 29 Dec 2025 14:15:23 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Ergün Erdoğmuş (Gerrit)

    unread,
    6:07 AM (17 hours ago) 6:07 AM
    to Samiya Caur, Code Review Nudger, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org
    Attention needed from Samiya Caur

    Ergün Erdoğmuş 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: I06a0cb2d95e4bc932394e8be23485a83b53498ba
    Gerrit-Change-Number: 7205756
    Gerrit-PatchSet: 14
    Gerrit-Owner: Samiya Caur <sam...@chromium.org>
    Gerrit-Reviewer: Ergün Erdoğmuş <erg...@chromium.org>
    Gerrit-Reviewer: Samiya Caur <sam...@chromium.org>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Attention: Samiya Caur <sam...@chromium.org>
    Gerrit-Comment-Date: Tue, 30 Dec 2025 11:07:46 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Devtools-frontend LUCI CQ (Gerrit)

    unread,
    6:09 AM (17 hours ago) 6:09 AM
    to Samiya Caur, Ergün Erdoğmuş, Code Review Nudger, devtools-rev...@chromium.org

    Devtools-frontend LUCI CQ submitted the change

    Change information

    Commit message:
    Add loading spinner and timer to teaser
    Bug: 448796757
    Change-Id: I06a0cb2d95e4bc932394e8be23485a83b53498ba
    Reviewed-by: Ergün Erdoğmuş <erg...@chromium.org>
    Auto-Submit: Samiya Caur <sam...@chromium.org>
    Commit-Queue: Ergün Erdoğmuş <erg...@chromium.org>
    Files:
    • M front_end/panels/common/AiCodeGenerationTeaser.test.ts
    • M front_end/panels/common/AiCodeGenerationTeaser.ts
    • M front_end/panels/common/aiCodeGenerationTeaser.css
    • M front_end/ui/components/text_editor/AiCodeGenerationProvider.test.ts
    Change size: M
    Delta: 4 files changed, 137 insertions(+), 12 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Ergün Erdoğmuş
    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: I06a0cb2d95e4bc932394e8be23485a83b53498ba
    Gerrit-Change-Number: 7205756
    Gerrit-PatchSet: 15
    Gerrit-Owner: Samiya Caur <sam...@chromium.org>
    Gerrit-Reviewer: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages