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)

defect

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.
blocking-b2g: --- → hd?
Priority: -- → P2
Per design. ni UX team.
Flags: needinfo?(firefoxos-ux-bugzilla)
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
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.
Adding Bruce as this is part of settings app.
Flags: needinfo?(skasetti) → needinfo?(bhuang)
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)
Moving it to 1.3. UX if you do feel this is needed in 1.2 please re-nom.
blocking-b2g: koi? → 1.3?
Joe just told me that is in 1.3.
Flags: needinfo?(nhsieh) → needinfo?(jcheng)
can decide in v1.3? triages
Flags: needinfo?(jcheng)
Flags: needinfo?(rmacdonald) → needinfo?(brg)
Agree with comment 6 and comment 9.
Flags: needinfo?(brg)
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)
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)
Component: General → Gaia::Settings
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]
I would like to work on this. can I get this bug assigned?
Flags: needinfo?(timdream)
I am working on file "\gaia-master\apps\settings\elements\media_storage.html", am I one the right track?
Attachment #8357907 - Flags: review?(arthur.chen)
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)
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)
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)
Attachment #8357907 - Attachment is obsolete: true
Attachment #8373000 - Flags: review?(arthur.chen)
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)
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
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.
Attachment #8373000 - Attachment is obsolete: true
Attachment #8380725 - Flags: review?(arthur.chen)
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.
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.

Attachment

General

Created:
Updated:
Size: