New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 801233 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

[MD Extensions] Respect ProfileInfo#isSupervised boolean

Project Member Reported by dpa...@chromium.org, Jan 11 2018

Issue description

Current UI ignores the isSupervised boolean [1]. The old UI did the following when the boolean was true (see screenshots):

1) Showed a yellow banner at the top
2) Disabled the "developer mode" checkbox
3) Hid the "Get more extensions" link at the bottom of the page

[1] https://cs.chromium.org/chromium/src/chrome/common/extensions/api/developer_private.idl?l=236
 
missing_get_more_link.png
14.4 KB View Download
banner_checkbox.png
14.8 KB View Download

Comment 1 by dpa...@chromium.org, Jan 11 2018

Blocking: 780164

Comment 2 by dpa...@chromium.org, Jan 11 2018

Cc: dschuyler@chromium.org hcarmona@chromium.org scottchen@chromium.org
How do we want to display this text? AFAIK, we don't have any yellow banners across the top in MD.

Comment 4 by dpa...@chromium.org, Jan 11 2018

Cc: bettes@chromium.org
For the banner text we probably need some suggestion from UX. Adding bettes@. The other two changes are fairly straight-forward.

@bettes: Any suggestions for the yellow-banner equivalent in MD Extensions?

Comment 5 by dpa...@chromium.org, Jan 12 2018

Owner: dpa...@chromium.org
Status: Started (was: Available)
Starting on items 2 and 3 from initial post.


Project Member

Comment 6 by bugdroid1@chromium.org, Jan 12 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9c4b487b9b7713f6fd3fe4016a6938de9b12a33d

commit 9c4b487b9b7713f6fd3fe4016a6938de9b12a33d
Author: dpapad <dpapad@chromium.org>
Date: Fri Jan 12 22:45:36 2018

MD Extensions: Respect ProfileInfo#isSupervised boolean.

When true, disable dev mode checkbox, and stop displaying a link to the CWS.
This matches the old UI's behavior.

Bug: 801233
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I50d49aea0672429c8aa53c75493746adf7ff8abf
Reviewed-on: https://chromium-review.googlesource.com/865156
Reviewed-by: Scott Chen <scottchen@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#529095}
[modify] https://crrev.com/9c4b487b9b7713f6fd3fe4016a6938de9b12a33d/chrome/browser/resources/md_extensions/manager.html
[modify] https://crrev.com/9c4b487b9b7713f6fd3fe4016a6938de9b12a33d/chrome/browser/resources/md_extensions/manager.js
[modify] https://crrev.com/9c4b487b9b7713f6fd3fe4016a6938de9b12a33d/chrome/browser/resources/md_extensions/sidebar.html
[modify] https://crrev.com/9c4b487b9b7713f6fd3fe4016a6938de9b12a33d/chrome/browser/resources/md_extensions/sidebar.js
[modify] https://crrev.com/9c4b487b9b7713f6fd3fe4016a6938de9b12a33d/chrome/browser/resources/md_extensions/toolbar.html
[modify] https://crrev.com/9c4b487b9b7713f6fd3fe4016a6938de9b12a33d/chrome/browser/resources/md_extensions/toolbar.js
[modify] https://crrev.com/9c4b487b9b7713f6fd3fe4016a6938de9b12a33d/chrome/test/data/webui/extensions/cr_extensions_browsertest.js
[modify] https://crrev.com/9c4b487b9b7713f6fd3fe4016a6938de9b12a33d/chrome/test/data/webui/extensions/extension_sidebar_test.js
[modify] https://crrev.com/9c4b487b9b7713f6fd3fe4016a6938de9b12a33d/chrome/test/data/webui/extensions/extension_toolbar_test.js

Comment 7 by dpa...@chromium.org, Jan 13 2018

Blocking: -780164
Labels: -Pri-1 Pri-2
The most important parts of this bug have been fixed. Only the equivalent of the yellow banner is missing. Leaving it open, but not a blocker anymore.

Comment 8 by dpa...@chromium.org, Feb 12 2018

Owner: namratakannan@chromium.org
@namratakannan: See the 2nd screenshot from the old UI on the bug description. We are missing an equivalent for the new UI.

Sign in to add a comment