[Settings] Update people page on ChromeOS [chromium/src : main]

0 views
Skip to first unread message

Mahmoud Rashad (Gerrit)

unread,
4:57 AM (4 hours ago) 4:57 AM
to Chrome Signin Desktop Reviews, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, droger+w...@chromium.org, tbarzi...@chromium.org, rrsilva+wat...@google.com, crost...@chromium.org, srahim...@chromium.org
Attention needed from Chrome Signin Desktop Reviews

Mahmoud Rashad added 1 comment

Patchset-level comments
File-level comment, Patchset 7 (Latest):
Mahmoud Rashad . resolved

Adding chrome-signin-desktop-reviews for people_page

Open in Gerrit

Related details

Attention is currently required from:
  • Chrome Signin Desktop Reviews
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I56b97e989819cd6adb89aa8001c3365fc7cb1074
Gerrit-Change-Number: 7813435
Gerrit-PatchSet: 7
Gerrit-Owner: Mahmoud Rashad <mmra...@google.com>
Gerrit-Reviewer: Chrome Signin Desktop Reviews <chrome-signin-...@google.com>
Gerrit-Reviewer: Mahmoud Rashad <mmra...@google.com>
Gerrit-Attention: Chrome Signin Desktop Reviews <chrome-signin-...@google.com>
Gerrit-Comment-Date: Tue, 05 May 2026 08:56:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

gwsq (Gerrit)

unread,
4:59 AM (4 hours ago) 4:59 AM
to Chrome Signin Desktop Reviews, Mihai Sardarescu, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, droger+w...@chromium.org, tbarzi...@chromium.org, rrsilva+wat...@google.com, crost...@chromium.org, srahim...@chromium.org
Attention needed from Mihai Sardarescu

Message from gwsq

Reviewer source(s):
msa...@chromium.org is from context(googleclient/chrome/chromium_gwsq/components/signin/config.gwsq)

Open in Gerrit

Related details

Attention is currently required from:
  • Mihai Sardarescu
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I56b97e989819cd6adb89aa8001c3365fc7cb1074
Gerrit-Change-Number: 7813435
Gerrit-PatchSet: 7
Gerrit-Owner: Mahmoud Rashad <mmra...@google.com>
Gerrit-Reviewer: Mahmoud Rashad <mmra...@google.com>
Gerrit-Reviewer: Mihai Sardarescu <msa...@chromium.org>
Gerrit-CC: Chrome Signin Desktop Reviews <chrome-signin-...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Mihai Sardarescu <msa...@chromium.org>
Gerrit-Comment-Date: Tue, 05 May 2026 08:59:30 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Mihai Sardarescu (Gerrit)

unread,
7:19 AM (1 hour ago) 7:19 AM
to Mahmoud Rashad, Amelie Schneider, Chrome Signin Desktop Reviews, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, droger+w...@chromium.org, tbarzi...@chromium.org, rrsilva+wat...@google.com, crost...@chromium.org, srahim...@chromium.org
Attention needed from Amelie Schneider and Mahmoud Rashad

Mihai Sardarescu added 2 comments

Patchset-level comments
Mihai Sardarescu . resolved

I do not think I know this code enough to provide a good review. Re-routing this review to Amelie.

File chrome/app/settings_strings.grdp
Line 3872, Patchset 7 (Latest): <message name="IDS_SETTINGS_GOOGLE_SERVICES_PAGE_TITLE" desc="Name of the settings page for managing Google services.">
Mihai Sardarescu . unresolved

Why is this change needed?

Open in Gerrit

Related details

Attention is currently required from:
  • Amelie Schneider
  • Mahmoud Rashad
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I56b97e989819cd6adb89aa8001c3365fc7cb1074
    Gerrit-Change-Number: 7813435
    Gerrit-PatchSet: 7
    Gerrit-Owner: Mahmoud Rashad <mmra...@google.com>
    Gerrit-Reviewer: Amelie Schneider <ame...@google.com>
    Gerrit-Reviewer: Mahmoud Rashad <mmra...@google.com>
    Gerrit-CC: Chrome Signin Desktop Reviews <chrome-signin-...@google.com>
    Gerrit-CC: Mihai Sardarescu <msa...@chromium.org>
    Gerrit-Attention: Amelie Schneider <ame...@google.com>
    Gerrit-Attention: Mahmoud Rashad <mmra...@google.com>
    Gerrit-Comment-Date: Tue, 05 May 2026 11:19:18 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mahmoud Rashad (Gerrit)

    unread,
    7:44 AM (1 hour ago) 7:44 AM
    to Amelie Schneider, Mihai Sardarescu, Chrome Signin Desktop Reviews, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, droger+w...@chromium.org, tbarzi...@chromium.org, rrsilva+wat...@google.com, crost...@chromium.org, srahim...@chromium.org
    Attention needed from Amelie Schneider and Mihai Sardarescu

    Mahmoud Rashad added 1 comment

    File chrome/app/settings_strings.grdp
    Line 3872, Patchset 7 (Latest): <message name="IDS_SETTINGS_GOOGLE_SERVICES_PAGE_TITLE" desc="Name of the settings page for managing Google services.">
    Mihai Sardarescu . unresolved

    Why is this change needed?

    Mahmoud Rashad

    This string needs to be exposed to ChromeOS to be used by google-services in people_page.html.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Amelie Schneider
    • Mihai Sardarescu
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I56b97e989819cd6adb89aa8001c3365fc7cb1074
    Gerrit-Change-Number: 7813435
    Gerrit-PatchSet: 7
    Gerrit-Owner: Mahmoud Rashad <mmra...@google.com>
    Gerrit-Reviewer: Amelie Schneider <ame...@google.com>
    Gerrit-Reviewer: Mahmoud Rashad <mmra...@google.com>
    Gerrit-CC: Chrome Signin Desktop Reviews <chrome-signin-...@google.com>
    Gerrit-CC: Mihai Sardarescu <msa...@chromium.org>
    Gerrit-CC: gwsq
    Gerrit-Attention: Mihai Sardarescu <msa...@chromium.org>
    Gerrit-Attention: Amelie Schneider <ame...@google.com>
    Gerrit-Comment-Date: Tue, 05 May 2026 11:44:39 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mihai Sardarescu <msa...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Amelie Schneider (Gerrit)

    unread,
    7:59 AM (1 hour ago) 7:59 AM
    to Mahmoud Rashad, Mihai Sardarescu, Chrome Signin Desktop Reviews, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, droger+w...@chromium.org, tbarzi...@chromium.org, rrsilva+wat...@google.com, crost...@chromium.org, srahim...@chromium.org
    Attention needed from Mahmoud Rashad and Mihai Sardarescu

    Amelie Schneider added 3 comments

    Patchset-level comments
    Amelie Schneider . resolved

    Thanks Mahmoud!
    What's the general idea for the settings page? Should it look exactly the same as on other Desktop platforms or are there different pages, as seen in the screenshots you linked? Do you have some mocks for reference?

    File chrome/browser/resources/settings/people_page/people_page.html
    Line 191, Patchset 7 (Latest): <cr-link-row id="account-subpage-row" on-click="onAccountClick_"
    hidden="[[!shouldLinkToAccountSettingsPage_(
    syncStatus.signedInState)]]">
    <div id="profile-icon"
    style="background-image: [[getIconImageSet_(
    profileIconUrl_)]]">
    </div>
    <div class="cr-row-gap cr-padded-text flex no-min-width">
    <div id="account-name" class="text-elide">
    [[profileName_]]
    </div>
    <div id="account-subtitle" class="secondary">
    [[getAccountRowSubtitle_(syncStatus)]]
    </div>
    </div>
    </cr-link-row>

    <cr-link-row id="sync-setup"
    label="$i18n{syncAndNonPersonalizedServices}"
    sub-label="[[getSyncAndNonPersonalizedServicesSubtext_(syncStatus)]]"
    on-click="onSyncClick_"
    role-description="$i18n{subpageArrowRoleDescription}"
    hidden="[[shouldHideSyncSetupLinkRow_(syncStatus)]]">
    </cr-link-row>
    <cr-link-row id="google-services"
    label="$i18n{googleServicesPageTitle}"
    on-click="onGoogleServicesClick_"
    role-description="$i18n{subpageArrowRoleDescription}"
    hidden="[[!shouldHideSyncSetupLinkRow_(syncStatus)]]">
    </cr-link-row>
    Amelie Schneider . unresolved

    This is now mostly duplicated with the non-chromeos platform's code. I would advocate for combining the code blocks for chromeos and non-chromeos platforms, what do you think?

    File chrome/browser/resources/settings/people_page/people_page.ts
    Line 513, Patchset 7 (Latest): return '';
    Amelie Schneider . unresolved

    Can we make this an early return instead to avoid some of the nesting?
    Same with `return this.syncStatus.signedInUsername;`

    Something like

    ```
    if (!this.syncStatus || this.syncStatus.signedInUsername) {
    return '';
    }
    if (!this.syncStatus.statusText) {
    return this.syncStatus.signedInUsername;
    }

    ...

    ```

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Mahmoud Rashad
    • Mihai Sardarescu
    Gerrit-Attention: Mahmoud Rashad <mmra...@google.com>
    Gerrit-Comment-Date: Tue, 05 May 2026 11:59:01 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages