commit | 1ac935eb730adcd6d79cfefff153f91dafa1bb04 | [log] [tgz] |
---|---|---|
author | Dana Fried <dfried@chromium.org> | Thu Feb 13 14:30:46 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 13 14:30:46 2025 |
tree | ecdaf765770e3339fc11bc14aa4341f4fb39da26 | |
parent | a9cf0e9ce638adff70a420ffdd2743cae61ff77e [diff] |
[User Education] Disclaimer for internals page. Changes title and puts a disclaimer at the top that this is not intended Chrome experience. Change-Id: I56b11c64dbe7c842d6b3a3bd571b3ab89a2e7104 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6258074 Auto-Submit: Dana Fried <dfried@chromium.org> Reviewed-by: Rebekah Potter <rbpotter@chromium.org> Commit-Queue: Dana Fried <dfried@chromium.org> Cr-Commit-Position: refs/heads/main@{#1419858}
diff --git a/chrome/browser/resources/user_education_internals/index.html b/chrome/browser/resources/user_education_internals/index.html index 4eaed88..21eb4904 100644 --- a/chrome/browser/resources/user_education_internals/index.html +++ b/chrome/browser/resources/user_education_internals/index.html
@@ -5,7 +5,7 @@ <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css"> <link rel="stylesheet" href="chrome://theme/colors.css?sets=ui,chrome"> <link rel="stylesheet" href="chrome://resources/css/md_colors.css"> - <title>User Education Internals</title> + <title>User Education Debug Page</title> <style> html, body {
diff --git a/chrome/browser/resources/user_education_internals/user_education_internals.css b/chrome/browser/resources/user_education_internals/user_education_internals.css index 95f0e15..1989e75 100644 --- a/chrome/browser/resources/user_education_internals/user_education_internals.css +++ b/chrome/browser/resources/user_education_internals/user_education_internals.css
@@ -55,6 +55,15 @@ padding-inline: var(--cr-section-padding); } +p { + line-height: 1.4; + padding-inline: var(--cr-section-padding); +} + +.blurb-warning { + color: var(--cr-fallback-color-error); +} + .whats-new-section { padding-inline: var(--cr-section-padding); }
diff --git a/chrome/browser/resources/user_education_internals/user_education_internals.html.ts b/chrome/browser/resources/user_education_internals/user_education_internals.html.ts index a0b564f..eede249 100644 --- a/chrome/browser/resources/user_education_internals/user_education_internals.html.ts +++ b/chrome/browser/resources/user_education_internals/user_education_internals.html.ts
@@ -52,6 +52,15 @@ <span id="errorMessage">${this.featurePromoErrorMessage_}</span> </cr-toast> <div id="content"> + <div id="warning"> + <h2>User Education Debug Page</h2> + <p> + <span class="blurb-warning">NOTICE: DEBUGGING PAGE ONLY!</span> + This page is not part of the intended Chrome experience. It is only + for testing User Education features and may cause Chrome to behave + in ways it was not designed to. Use at your own risk. + </p> + </div> <div id="iph"> <a name="iph"></a> <h2>Feature Promos</h2>