Closed
Bug 1203461
Opened 10 years ago
Closed 10 years ago
[Settings] USB protocol can only be changed when device unplugged
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(blocking-b2g:2.5?)
RESOLVED
FIXED
| blocking-b2g | 2.5? |
People
(Reporter: gasolin, Assigned: gasolin)
References
Details
Attachments
(2 files, 1 obsolete file)
|
621.85 KB,
application/pdf
|
Details | |
|
46 bytes,
text/x-github-pull-request
|
yzen
:
review+
harly
:
ui-review+
|
Details | Review |
======== clone from Bug 1194045 comment 12 ===========
Talked with Harly & Eden, the UI spec will be appended to:
* Show same ums description as in root panel to indicate current ums state.
* Disable the protocol selection when:
1. ums enabled & device plugged
2. usm enabled then disabled but device is still plugged
We need refactor MediaVolume related function into module first to serve the device plugged info
| Assignee | ||
Comment 1•10 years ago
|
||
in short: show states description and only disable when plugged (and in enable state)
| Assignee | ||
Comment 2•10 years ago
|
||
follow up of bug 1194045, including some MediaVolume refactor work
Comment 3•10 years ago
|
||
Spec based on offline discussion with Fred and Eden.
We have some specific issues on Aries in regards to USB, is this for Flame?
Flags: needinfo?(gasolin)
| Assignee | ||
Comment 5•10 years ago
|
||
It's used to prevent issue on Aries (which does not support hot-switch the usb transfer protocol)
If we still want hot-switch for Flame after Bug 1194045 is landed, we need set a device-specific config for flame.
Flags: needinfo?(gasolin)
Comment 6•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Attachment #8662268 -
Attachment is obsolete: true
Comment 7•10 years ago
|
||
Hey Naoki, Can you look at this and find a duplicate or block it accordingly?
Thanks
Flags: needinfo?(nhirata.bugzilla)
Comment 8•10 years ago
|
||
| Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8664778 [details] [review]
[gaia] gasolin:issue-1203461 > mozilla-b2g:master
Have addressed the UX spec change
* show plug description in sub panel
* makes protocol selection disable rule refer with MediaStorage.volumeState state
Also make the greyed out opacity level from 0.6 to 0.4 to better recognize its disabled.
Attachment #8664778 -
Flags: ui-review?(hhsu)
Attachment #8664778 -
Flags: review?(yzenevich)
Comment 10•10 years ago
|
||
Comment on attachment 8664778 [details] [review]
[gaia] gasolin:issue-1203461 > mozilla-b2g:master
Nice work, thank you Fred :)
Attachment #8664778 -
Flags: ui-review?(hhsu) → ui-review+
Comment 11•10 years ago
|
||
Comment on attachment 8664778 [details] [review]
[gaia] gasolin:issue-1203461 > mozilla-b2g:master
Overall looks good, just a couple of nits and looks like a Gij test failing:
apps/settings/test/marionette/tests/usb_storage_settings_test.js
(https://treeherder.mozilla.org/logviewer.html#?job_id=2326124&repo=gaia)
Removing the r? for now to address the failure.
Attachment #8664778 -
Flags: review?(yzenevich)
| Assignee | ||
Comment 12•10 years ago
|
||
Comment on attachment 8664778 [details] [review]
[gaia] gasolin:issue-1203461 > mozilla-b2g:master
Issue addressed, please kindly review it again.
Attachment #8664778 -
Flags: review?(yzenevich)
Comment 13•10 years ago
|
||
Comment on attachment 8664778 [details] [review]
[gaia] gasolin:issue-1203461 > mozilla-b2g:master
Looks good, Fred, thanks! Just a couple of questions inline.
Attachment #8664778 -
Flags: review?(yzenevich) → review+
| Assignee | ||
Comment 15•10 years ago
|
||
FYR, in Bug 1206927 comment 6 , UI designer explicit ask for 30% opacity for all disable state
Merged https://github.com/mozilla-b2g/gaia/commit/68a29fb942f1c34a330e5829ef1afeaa659c2838
Thanks!
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(nhirata.bugzilla)
Resolution: --- → FIXED
Comment 16•10 years ago
|
||
(In reply to Fred Lin [:gasolin] from comment #15)
> FYR, in Bug 1206927 comment 6 , UI designer explicit ask for 30% opacity for
> all disable state
>
> Merged
> https://github.com/mozilla-b2g/gaia/commit/
> 68a29fb942f1c34a330e5829ef1afeaa659c2838
>
> Thanks!
Thanks, yeah, I guess we'd need to update the components at some point :)
You need to log in
before you can comment on or make changes to this bug.
Description
•