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

Issue 796484 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Email to this user bounced
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: ----



Sign in to add a comment

[sensors] Resources for settings UI are needed

Project Member Reported by alexande...@intel.com, Dec 20 2017

Issue description

In order to implement sensors related settings UI, few strings and icons are needed.

Raymes Khoury raised an issue [1] and asked to create this bug. "Engineering English" strings that are used in the CL are based on the input from Sensor API Permissions UX [2] document.


[1] https://chromium-review.googlesource.com/c/chromium/src/+/833924#message-afe099fd6f2934228678567b33baf9cc5cfe35ea

[2] https://docs.google.com/document/d/1XThujZ2VJm0z0Gon1zbFkYhYo6K8nMxJjxNJ3wk9KHo

 
maxwalker@ srahim@ Could you please advise how to handle this issue?

Comment 2 by srahim@chromium.org, Dec 20 2017

I added a suggestion to the code review for the message descriptions, otherwise the strings LGTM.

Comment 3 by raymes@chromium.org, Dec 21 2017

srahim: to clarify do you think using "Sensors" as the short string is clear enough? The issue in my mind is that "Sensors" is such a vague word that encompasses so many possible things. I'm worried that people will open Site Details and have no idea what it is/means.

"Motion and light sensors" seems far more descriptive. Alternatively, perhaps we need to find away to introduce long descriptions into Site Details which might solve this problem in a more general way (see screenshot).
sitesettings.png
56.6 KB View Download
raymes@ srahim@ I made a Google doc and shared it with you.
Attached a proposal for an icon to use in Page Info, Site Settings, omnibox and dialogs. WDYT?
Sensors Icon.png
101 KB View Download
Components: -UI>Localization UI>Browser
Labels: Needs-TestConfirmation
Status: Unconfirmed (was: Unknown)
Hi Team,

Looking at the report, this is not a localization case. We will be looping in the Engineering Team for review.

Happy Holidays everyone!

Regards!

Comment 7 by owe...@chromium.org, Dec 30 2017

Cc: reillyg@chromium.org scheib@chromium.org
cc scheib, reillyg

Thanks Max! LGTM!

Comment 8 by owe...@chromium.org, Dec 30 2017

Labels: -Needs-TestConfirmation
The mock in #5 lgtm

+srahim: are you ok with the string used here?
Cc: -scheib@chromium.org
Cc: mikhail....@intel.com
maxwalker@ Icon looks nice, thanks! What would be the way to proceed with https://chromium-review.googlesource.com/c/chromium/src/+/833924 ? I would need to add icon to the CL, so that UNSANDBOXED_PLUGINS icon is not used as a placeholder.

Could you attach resource to this bug?
Yes, of course. You can find the icon in the attachment. Please let me know if you need other sizes.
ic_sensors_black_16dp.svg
2.0 KB Download
ic_sensors_black_20dp.svg
2.0 KB Download
String "Motion or light sensors" LGTM, thanks.
maxwalker@ Could you please tell what icon size should be used for PageInfo dialog? I have 16dp and 20dp icons, should 18dp be used?

srahim@ I checked strings for PageInfo dialog and it looks like strings are camel cased. Should I use "Motion and Light Sensors" or "Motion and light sensors"?
infobar_casing.png
59.3 KB View Download
Cc: juncai@chromium.org
Thanks for reaching out. The icons should be 16dp. You can find the full spec here: https://goo.gl/eCFDVk (Google internal link).

maxwalker@ I was trying to make png files for android build, yet, I'm facing some difficulties. Looks like png files are grayscale with special color table. If you have tools / export setting presets, could export svgs to png files of correct format?

I need following resolutions:

xxhdpi
xxxhdpi
mdpi
xhdpi
hdpi

Icons would be used in content settings ui https://bugs.chromium.org/p/chromium/issues/attachment?aid=321245&signed_aid=cvDnN5GKZo2d9aMCEkJNLA==&inline=1
maxwalker@ I found a way to optimize pngs, will generate resources myself.
Status: Verified (was: Unconfirmed)
maxwalker@ provided required resources. Issue can be closed.

Sign in to add a comment