Closed
Bug 910648
Opened 11 years ago
Closed 11 years ago
[B2G][Helix][Setting][shijinde]Enable USB Storage should have one
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect, P2)
Firefox OS Graveyard
Gaia::Settings
Tracking
(blocking-b2g:-)
RESOLVED
FIXED
blocking-b2g | - |
People
(Reporter: lecky.wanglei, Assigned: ram)
References
Details
(Whiteboard: [good first bug][mentor=arthurcc][mentor-lang=zh][lang=js])
Attachments
(1 file, 2 obsolete files)
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; aff-kingsoft-ciba; .NET4.0C; .NET4.0E; Zune 4.7; Tablet PC 2.0)
Steps to reproduce:
1、in setting main screen, there is one item about Enable USB Storage
2、in media storage screen, there is another item about Enable USB Storage
Actual results:
1、in setting main screen, there is one item about Enable USB Storage
2、in media storage screen, there is another item about Enable USB Storage
Expected results:
you need remove the item in media storage screen.
Comment 2•11 years ago
|
||
In a rare needinfo trio, I am flagging Sri (as to where this might fit in the engineering backlog for Media); Rob (who does UX for Media); AND Neo, as Settings falls under his purview - and because it seems there may need to be coordination between Media Storage and Settings.
Flags: needinfo?(skasetti)
Flags: needinfo?(rmacdonald)
Flags: needinfo?(nhsieh)
Flags: needinfo?(firefoxos-ux-bugzilla)
Hi, what is the result about this problem?
if you can't resolve in v1.1, please give me the information in the bug.
or if you can resolve in v1.1, also please give me the plan.
Thanks
Comment 4•11 years ago
|
||
So, just to clarify, there is a setting called "Enable USB Storage" both in the main settings and inside the Media Storage panel, which both control the same option.
The "Share using USB" option is a per-volume control for USB storage. I would argue, that if there is only a single volume, then the "Share using USB" option shouyld disappear, and the settings app should set the single volume sharing option to reflect the "Enable USB Storage" setting.
I figured it was worth clarifying that this bug is just talking about there being two master controls.
Comment 5•11 years ago
|
||
Adding Bruce as this is part of settings app.
Flags: needinfo?(skasetti) → needinfo?(bhuang)
Comment 6•11 years ago
|
||
This will not be in 1.1, investigating for 1.2/1.3 depending on if we can get to a UX consensus.
blocking-b2g: hd? → koi?
Flags: needinfo?(bhuang)
Comment 7•11 years ago
|
||
Moving it to 1.3. UX if you do feel this is needed in 1.2 please re-nom.
blocking-b2g: koi? → 1.3?
Comment 8•11 years ago
|
||
Joe just told me that is in 1.3.
Flags: needinfo?(nhsieh) → needinfo?(jcheng)
Comment 10•11 years ago
|
||
Flags: needinfo?(brg)
Comment 11•11 years ago
|
||
Do we have a UX decision here? If we are going to remove one, I (dev) would like to know which one..
Flags: needinfo?(nhsieh)
Comment 12•11 years ago
|
||
We have a UX decision: Please remove the Enable USB storage setting from the media storage page. No need for the redundancy.
Flags: needinfo?(nhsieh)
Updated•11 years ago
|
Component: General → Gaia::Settings
Comment 13•11 years ago
|
||
Triage: -'ing, feel free to submit patch.
Blocks: 908549
Status: UNCONFIRMED → NEW
blocking-b2g: 1.3? → -
Ever confirmed: true
Whiteboard: [good first bug][mentor=arthurcc][mentor-lang=zh][lang=js]
Assignee | ||
Comment 14•11 years ago
|
||
I would like to work on this. can I get this bug assigned?
Flags: needinfo?(timdream)
Comment 15•11 years ago
|
||
Thank you. Please look at
https://github.com/mozilla-b2g/gaia/blob/master/README.md
https://developer.mozilla.org/en-US/Firefox_OS/Platform/Gaia/Hacking
and particularly,
https://developer.mozilla.org/en-US/Firefox_OS/Platform/Gaia/Hacking#Submitting_a_patch
on how to submit a patch to Gaia. Thank you!
Assignee: nobody → vaishnav.rd
Flags: needinfo?(timdream)
Assignee | ||
Comment 16•11 years ago
|
||
I am working on file "\gaia-master\apps\settings\elements\media_storage.html", am I one the right track?
Assignee | ||
Comment 17•11 years ago
|
||
Attachment #8357907 -
Flags: review?(arthur.chen)
Comment 18•11 years ago
|
||
Comment on attachment 8357907 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/15166
Ram, thanks for your contribution!
We also need to remove the code related to the removed UI. Please check settings/js/media_storage.js. Let me know if you encounter any problem.
Attachment #8357907 -
Flags: review?(arthur.chen)
Assignee | ||
Comment 19•11 years ago
|
||
Following Pull Request contains changes in .js file only. Kindly let me know if these changes are correct, I will merge both RP's then. (sorry for unablility to create single PR for this)
https://github.com/mozilla-b2g/gaia/pull/15292
Flags: needinfo?(arthur.chen)
Comment 20•11 years ago
|
||
We can only merge the code with one pull request in one bug. You can do the following to update your existing pull request.
1. Do some change on your local branch and commit.
2. $ git push <your_remote> <branch_name> // in your case it might be $ git push origin patch-7
Flags: needinfo?(arthur.chen)
Assignee | ||
Comment 21•11 years ago
|
||
Attachment #8357907 -
Attachment is obsolete: true
Attachment #8373000 -
Flags: review?(arthur.chen)
Comment 22•11 years ago
|
||
Comment on attachment 8373000 [details] [review]
Patch - https://github.com/mozilla-b2g/gaia/pull/16108
Thanks for the patch!
We still need the checkbox for each volume but in this patch all of them were removed. Please only remove the logic related to the removed dom elements, for example:
this.umsEnabledCheckBox = document.getElementById('ums-switch');
this.umsEnabledInfoBlock = document.getElementById('ums-desc');
And the codes that are only associated with this.umsEnabledCheckBox and this.umsEnabledInfoBlock.
Attachment #8373000 -
Flags: review?(arthur.chen)
Assignee | ||
Comment 23•11 years ago
|
||
I have been able to commit in my branch, but struggling to rebase and squash both commits in this branch. The first commit on this branch is the one which has been rejected above.
Link of the branch - https://github.com/gurumukhi/gaia/compare/patch-10
Comment 24•11 years ago
|
||
As this is a simple patch, if you have difficulties rebasing your branch, I would suggest to get the latest code and create a patch again.
Assignee | ||
Comment 25•11 years ago
|
||
Attachment #8373000 -
Attachment is obsolete: true
Attachment #8380725 -
Flags: review?(arthur.chen)
Comment 26•11 years ago
|
||
Thanks for the patch, Ram! As we are focusing on stabilizing the trunk, we are not landing patches that are not DSDS features. I'll review this patch later.
Comment 27•11 years ago
|
||
Comment on attachment 8380725 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/16108
r=me, thanks Ram!
Attachment #8380725 -
Flags: review?(arthur.chen) → review+
Comment 28•11 years ago
|
||
master: 9b73892a1e244fde11e3a55cddd7ae85f1fa3984
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•