Closed
Bug 938177
Opened 11 years ago
Closed 10 years ago
[User Story] Browser Settings Moved to System Settings
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(feature-b2g:2.1, tracking-b2g:backlog, b2g-v1.4 affected, b2g-v2.0 affected, b2g-v2.1 verified)
RESOLVED
FIXED
2.1 S3 (29aug)
People
(Reporter: pdol, Assigned: jhobin)
References
Details
(Keywords: feature, Whiteboard: [ucid:Browser106, ft:systemsfe], permafail)
Attachments
(4 files, 4 obsolete files)
User Story:
As a user I want my Browser Settings moved into the System Settings since the current Browser settings generally apply to the OS, not just the Browser app.
Acceptance Criteria:
1. The Browser app no longer displays an icon to access settings.
2. The System Settings now displays the items that were formerly within the Browser settings.
Assumptions:
UX to define how System Settings will look.
Updated•11 years ago
|
Blocks: 1.3-systems-fe
Keywords: feature
Updated•11 years ago
|
Flags: in-moztrap?(nhirata.bugzilla)
Updated•11 years ago
|
No longer blocks: 1.3-systems-fe
Reporter | ||
Updated•11 years ago
|
Blocks: browser-chrome-mvp
Updated•11 years ago
|
No longer blocks: browser-chrome-mvp
Updated•11 years ago
|
Component: Gaia::Browser → Gaia::System::Browser Chrome
Reporter | ||
Updated•11 years ago
|
Blocks: browser-chrome-mvp
Comment 1•11 years ago
|
||
Over to the Settings team to figure out where these will live.
Let's talk about how we communicate between the settings app and system app though, because clearing browser history (stored in a DataStore in the system app) may be tricky.
Component: Gaia::System::Browser Chrome → Gaia::Settings
Comment 3•11 years ago
|
||
Francis Djabri and I spoke about this quickly. It was our impression (in line with this bug) that System Browser Settings would not be their own, but would move into generic Settings. So +1 to that, for the record.
"Clear browsing history" and "Clear cookies and stored data" can fit under Privacy.
Please re-flag us if any additional UX is needed here. We're happy to do these as quickly as possible.
Comment 4•11 years ago
|
||
(In reply to Stephany Wilkes from comment #3)
> "Clear browsing history" and "Clear cookies and stored data" can fit under
> Privacy.
Will it go in the "Privacy & Security" division in settings, under "Do Not Track"? I think we'll need an icon and appropriate wording since the item will navigate to a page with the 2 buttons that either clear history or clear cookies.
Flags: needinfo?(swilkes)
Comment 5•11 years ago
|
||
Flagging Francis to ensure this ends up in the correct spot. Francis, please flag Peter if an icon is needed. Thanks!
Flags: needinfo?(swilkes) → needinfo?(fdjabri)
Flags: in-moztrap?(nhirata.bugzilla) → in-moztrap+
Updated•11 years ago
|
Blocks: 1.4-systems-fe
Comment 7•11 years ago
|
||
It seems we only have two options for communicating between the system app and settings app: mozSettings and IAC. Ben, have the related API been moved to the system app already?
Flags: needinfo?(bfrancis)
Comment 8•11 years ago
|
||
There is currently no code in the system app to clear private data or browser history.
To clear private data we need to call clearBrowserData() on the app object of the system app. This will effect browser windows and everything.me apps. I'm not sure if it will have an effect on other apps which have the mozapp attribute set and I'm not sure what permissions you need to call this, and therefore whether the settings app could do it or if the system app has to call it itself.
To clear browser history we will need to clear visits, places and icons from the places DataStore. We may need to be careful not to delete place and icon data for bookmarked places if they are stored centrally in the places DataStore, but as far as I know they're not yet.
It's possible we want some code in the browser app to do both of these, and we should listen for a change in a setting via the Settings API to trigger this code, so that it can be triggered from the Settings app.
Dale, how do you think we should approach this?
Flags: needinfo?(bfrancis) → needinfo?(dale)
Comment 9•11 years ago
|
||
Yeh taking a look at the system app theres a whole bunch of things triggered via settings listeners, the system app will always be running so I dont think its a problem
Flags: needinfo?(dale)
Updated•11 years ago
|
Flags: needinfo?(fdjabri) → needinfo?(ofeng)
Updated•11 years ago
|
No longer blocks: 1.4-systems-fe
Whiteboard: [ucid:Browser106, 1.3:P2, ft:systems-fe] → [ucid:Browser106, 1.3:P2, ft:systems-fe], burirun1.4-1, burirun1.4-2
Comment 11•11 years ago
|
||
Hi Peter, I was wondering is the system frontend team able to handle this item as it is actually about moving the logic from browser to system?
Flags: needinfo?(pdolanjski)
Updated•11 years ago
|
status-b2g-v1.4:
--- → affected
Whiteboard: [ucid:Browser106, 1.3:P2, ft:systems-fe], burirun1.4-1, burirun1.4-2 → [ucid:Browser106, 1.3:P2, ft:systems-fe], permafail
Updated•11 years ago
|
status-b2g-v2.0:
--- → affected
Reporter | ||
Updated•10 years ago
|
blocking-b2g: --- → backlog
feature-b2g: --- → 2.1
Flags: needinfo?(pdolanjski)
Reporter | ||
Updated•10 years ago
|
Whiteboard: [ucid:Browser106, 1.3:P2, ft:systems-fe], permafail → [ucid:Browser106, ft:systemsfe], permafail
Comment 12•10 years ago
|
||
For 2.1, the UX should follow the proposal set out by Omega, but I'd suggest that we change the top-level heading in the Settings app to "Browsing" and not "Browsing History", as not all the settings are related to the history.
@Jenny - could you confirm that you're ok with this proposal, or if there are any other 2.1 changes that would impact it?
@Eric, could you provide an icon for the top level header?
Flags: needinfo?(jelee)
Flags: needinfo?(epang)
Comment 13•10 years ago
|
||
(In reply to Francis Djabri [:djabber] from comment #12)
> For 2.1, the UX should follow the proposal set out by Omega, but I'd suggest
> that we change the top-level heading in the Settings app to "Browsing" and
> not "Browsing History", as not all the settings are related to the history.
>
> @Jenny - could you confirm that you're ok with this proposal, or if there
> are any other 2.1 changes that would impact it?
>
> @Eric, could you provide an icon for the top level header?
Hi Carol, can you help out with creating the browsing icon mentioned above for settings?
Once ready Peter should be able to review. Please let me know, thanks!
Flags: needinfo?(epang) → needinfo?(chuang)
Updated•10 years ago
|
Flags: needinfo?(chuang)
Comment 14•10 years ago
|
||
hey Eric,
Helen is taking care of Settings right now.
Hi Helen,
Could you help on this browsing icon in Settings? Thank you!
Flags: needinfo?(hhuang)
Comment 15•10 years ago
|
||
Sure. I will create a browsing icon and upload it once I done.
Flags: needinfo?(hhuang)
Comment 16•10 years ago
|
||
(In reply to Francis Djabri [:djabber] from comment #12)
> @Jenny - could you confirm that you're ok with this proposal, or if there
> are any other 2.1 changes that would impact it?
Yes let's make the change!
Flags: needinfo?(jelee)
Comment 17•10 years ago
|
||
(In reply to Jenny Lee from comment #16)
> (In reply to Francis Djabri [:djabber] from comment #12)
>
> > @Jenny - could you confirm that you're ok with this proposal, or if there
> > are any other 2.1 changes that would impact it?
>
> Yes let's make the change!
@Jenny, great, would you mind updating the spec and re-posting it here? Thanks!
@Dale, in the current "App permissions" setting, there's a "Clear bookmarks data" button at the end of the list, which seems to clear private data from sites added to home screen. It seems like we could merge this with the "Clear cookies and stored data" setting, as this has now been taken out of the browser and into the system settings. What do you think?
Flags: needinfo?(jelee)
Flags: needinfo?(dale)
Comment 18•10 years ago
|
||
I have a few questions about this before I start actually moving things around. The focus of this bug seems to be moving the Privacy & Security options (Clear history and Clear data). However, the browser also has the default search engine preference. While I am sure that the more polemic of us would argue that choosing Google over Duck Duck Go is a Privacy & Security preference, there is probably a more user-friendly area for this to be placed.
tl;dr: Where does the default search engine preference go?
Comment 19•10 years ago
|
||
> in the current "App permissions" setting, there's a "Clear bookmarks data" button at the end of the list, which seems to clear private data from sites added to home screen. It seems like we could merge this with the "Clear cookies and stored data" setting, as this has now been taken out of the browser and into the system settings. What do you think?
Yup, I actually didnt realise that existed and certainly makes more sense merged with the new system settings
> tl;dr: Where does the default search engine preference go?
They are currently under Homescreens, not sure if thats the final location according to spec
Flags: needinfo?(dale)
Comment 21•10 years ago
|
||
>
> > tl;dr: Where does the default search engine preference go?
>
> They are currently under Homescreens, not sure if thats the final location
> according to spec
It doesn't really make sense to have it under Homescreen anymore since search is accessible from anywhere. I'd recommend that we create a new top-level category called "Search", which can be found under the "Personalization" sub-heading.
Please see the latest Search app spec at https://mozilla.box.com/s/lbw2wzw3p4jvxs24k4sg to see what should be contained in these settings.
@Jenny - could you let James know where the search heading should appear in the list?
Flagging @Helen to provide a new icon for the top level heading.
Flags: needinfo?(fdjabri) → needinfo?(hhuang)
Comment 22•10 years ago
|
||
Hi all, please take a look at the latest Browsing spec. Thank you
Attachment #8378818 -
Attachment is obsolete: true
Flags: needinfo?(jelee)
Comment 23•10 years ago
|
||
(In reply to Francis Djabri [:djabber] from comment #21)
> @Jenny - could you let James know where the search heading should appear in
> the list?
"Search" should be under Personalization section, in the order:
Sound
Display
Homescreen
>>>Search<<<
Notifications
Navigation
Date & Time
Language
Keyboards
Thanks!
Updated•10 years ago
|
Assignee: nobody → hobinjk
Updated•10 years ago
|
Target Milestone: --- → 2.1 S2 (15aug)
Assignee | ||
Comment 24•10 years ago
|
||
I still need to strip out the modifications to the Browser app, even though AFAIK the Browser app is about to go away.
Otherwise, this patch implements and tests System Browser settings for clearing data while moving the search engine preference.
Assignee | ||
Comment 25•10 years ago
|
||
(In reply to Helen Huang from comment #15)
> Sure. I will create a browsing icon and upload it once I done.
What is the status of icons for the Search and Browser Privacy settings menus?
Comment 27•10 years ago
|
||
Comment on attachment 8472022 [details] [review]
Gaia pull request
Hey James. This is starting to look great! I left one comment about the bootstrap.js listener design - I think we should move that out into browser_setttings before taking another pass.
I'm still not entirely sure why we need the changes to browser, let's have a chat this week to figure out if that's really necessary.
We'll need reviews from a few system/settings peers probably. If you flag me for review again after making some changes I'll forward it to the right people. Thanks!
Attachment #8472022 -
Flags: review?(kgrandon)
Comment 28•10 years ago
|
||
(In reply to Gregor Wagner [:gwagner] from comment #26)
> Eric, do we have assets for this somewhere?
Hi Gregor, Helen is working on the icon and will attached to the bug once ready.
Helen can you give us an update on the progress? thx!
Flags: needinfo?(epang)
Comment 29•10 years ago
|
||
Hi James, thanks for the work! Note that in settings app we are now using AMD to define modules, so newly added scripts should be wrapped as AMD modules. Details please refer to https://github.com/mozilla-b2g/gaia/tree/master/apps/settings.
Flags: needinfo?(jhobin)
Comment 30•10 years ago
|
||
The Browsing icon is done, I've attached the SVG file here.
As I know, we are using icon font in Settings now, so I didn't update Settings sprite. Please refer to http://gaia-components.github.io/gaia-icons/
Let me know if there is any question, thank you!
Flags: needinfo?(hhuang)
Assignee | ||
Comment 31•10 years ago
|
||
(In reply to Arthur Chen [:arthurcc] from comment #29)
> Hi James, thanks for the work! Note that in settings app we are now using
> AMD to define modules, so newly added scripts should be wrapped as AMD
> modules. Details please refer to
> https://github.com/mozilla-b2g/gaia/tree/master/apps/settings.
I've refactored the PR to use AMD modules, thanks for the feedback! The last thing that remains is to incorporate the icons.
Flags: needinfo?(jhobin)
Assignee | ||
Comment 32•10 years ago
|
||
(In reply to Helen Huang from comment #30)
> Created attachment 8472888 [details]
> Browsing.svg
>
> The Browsing icon is done, I've attached the SVG file here.
>
> As I know, we are using icon font in Settings now, so I didn't update
> Settings sprite. Please refer to http://gaia-components.github.io/gaia-icons/
>
> Let me know if there is any question, thank you!
I think I also need an icon for the Search category, unless there is one that can be reused somewhere.
I'm also not sure how to generate the 'icons.css' file in the shared style directory. gaia-components/gaia-icons generates a very different file. (icons.css has an item for each icon, whereas gaia-icons uses "content: attr(data-icon)")
Flags: needinfo?(hhuang)
Assignee | ||
Comment 33•10 years ago
|
||
In theory, this is the beginning of placing browsing.svg within the Gaia icons font where it can then be placed into icons.css and the Settings app in general. I don't actually know what I'm doing, any feedback on how to actually do this would be greatly appreciated.
Comment 34•10 years ago
|
||
Comment on attachment 8473905 [details] [review]
Add a Browsing Icon to gaia-icons
Wilson - can you help us here? We are lost without your guidance.
Attachment #8473905 -
Flags: feedback?(wilsonpage)
Comment 35•10 years ago
|
||
Comment on attachment 8473905 [details] [review]
Add a Browsing Icon to gaia-icons
LANDED (gaia-icons:master)
https://github.com/gaia-components/gaia-icons/commit/1b356c37a71af77ce4e5b3755cc15bf9b60ad86a#diff-d41d8cd98f00b204e9800998ecf8427e
STAMPTED v0.5.1
https://github.com/gaia-components/gaia-icons/releases/tag/v0.5.1
Attachment #8473905 -
Flags: review+
Attachment #8473905 -
Flags: feedback?(wilsonpage)
Attachment #8473905 -
Flags: feedback+
Comment 36•10 years ago
|
||
Attachment #8474459 -
Flags: review?(kgrandon)
Comment 37•10 years ago
|
||
(In reply to jhobin from comment #32)
> I think I also need an icon for the Search category, unless there is one
> that can be reused somewhere.
Following the UX spec, I didn't see anything relates the Search category icon, could you provide me any document that I can know what it's about?
Thanks!
Flags: needinfo?(hhuang) → needinfo?(jhobin)
Comment 38•10 years ago
|
||
I'm getting a lot of interest around gaia-icons, so I've just updated the README [1] to included Contribution instructions. I also wrote 'Version controlled packages in Gaia' [2] to explain installation options to Gaia Hackers.
[1] https://github.com/gaia-components/gaia-icons
[2] https://gist.github.com/wilsonpage/3d7f636a78db66f8f1d7
Comment 39•10 years ago
|
||
(In reply to Helen Huang from comment #37)
> (In reply to jhobin from comment #32)
>
> > I think I also need an icon for the Search category, unless there is one
> > that can be reused somewhere.
>
> Following the UX spec, I didn't see anything relates the Search category
> icon, could you provide me any document that I can know what it's about?
>
> Thanks!
FYI current search icon: http://gaia-components.github.io/gaia-icons/#search
Comment 40•10 years ago
|
||
Comment on attachment 8474459 [details] [review]
pull-request (master) - gaia-icons
Probably fine, but seems weird to be accessing the document like that to me.
Attachment #8474459 -
Flags: review?(kgrandon) → review+
Updated•10 years ago
|
Assignee | ||
Comment 41•10 years ago
|
||
(In reply to Helen Huang from comment #37)
> (In reply to jhobin from comment #32)
>
> > I think I also need an icon for the Search category, unless there is one
> > that can be reused somewhere.
>
> Following the UX spec, I didn't see anything relates the Search category
> icon, could you provide me any document that I can know what it's about?
>
> Thanks!
It looks like we do have a preexisting search icon.
Flags: needinfo?(jhobin)
Assignee | ||
Comment 42•10 years ago
|
||
(In reply to Wilson Page [:wilsonpage] from comment #36)
> Created attachment 8474459 [details] [review]
> pull-request (master) - gaia-icons
This doesn't modify `style/icons.css`, the icons source used in the Settings app. Is there a way to regenerate that file for the new icons?
Flags: needinfo?(wilsonpage)
Comment 43•10 years ago
|
||
(In reply to jhobin from comment #42)
> (In reply to Wilson Page [:wilsonpage] from comment #36)
> > Created attachment 8474459 [details] [review]
> > pull-request (master) - gaia-icons
>
> This doesn't modify `style/icons.css`, the icons source used in the Settings
> app. Is there a way to regenerate that file for the new icons?
Ah, the icons.css used in Settings currently is deprecated. Once bug 1015297 lands, Settings app will be running with the new gaia-icons icon-font, found at `shared/elements/gaia-icons/`. We're waiting for an r+.
Until then, you could rebase your patch on top of bug 1015297 so that you can get your work done.
Flags: needinfo?(wilsonpage)
Comment 44•10 years ago
|
||
Comment on attachment 8474459 [details] [review]
pull-request (master) - gaia-icons
Gaia-icons has already been updated in shared as part of another bug.
Attachment #8474459 -
Attachment is obsolete: true
Comment 45•10 years ago
|
||
Comment on attachment 8472888 [details]
Browsing.svg
Arnau - we want to include this in the existing icons.css file in shared/. Do you have any documentation of the workflow to do this? Alternatively could you get this included for us? Thanks!
Attachment #8472888 -
Flags: feedback?(rnowmrch)
Comment 46•10 years ago
|
||
I've updated this for you guys. But want to clarify that shared/icons.css is deprecated and will be dropped from settings when bug 1015297 lands.
Comment 47•10 years ago
|
||
Comment on attachment 8472888 [details]
Browsing.svg
Sounds good, thanks!
Attachment #8472888 -
Flags: feedback?(rnowmrch)
Comment 48•10 years ago
|
||
Comment on attachment 8475355 [details] [review]
pull-request (master) - shared/icons.css
I will throw my R+ on here and get this landed to get James unblocked.
Attachment #8475355 -
Flags: review+
Comment 49•10 years ago
|
||
Icon part landed here: https://github.com/mozilla-b2g/gaia/commit/d3824cb8e6eaef0144b0fd8bcca24d31bef21213
Assignee | ||
Comment 50•10 years ago
|
||
Comment on attachment 8472022 [details] [review]
Gaia pull request
This should be properly set up for the current icons
Attachment #8472022 -
Flags: review?(kgrandon)
Comment 51•10 years ago
|
||
Comment on attachment 8472022 [details] [review]
Gaia pull request
Thanks James. I'm pretty happy with this, but I think we need peers from the respective components to put an official R+ from this.
I'm flagging Tim and Alive for the System app, and Evelyn and Arthur for the settings app. I think you only need one review for each app, but I'm not sure who has cycles to review.
I believe James's last day might be on Friday, so if you guys could promptly review this tonight it would be greatly appreciated.
Attachment #8472022 -
Flags: review?(timdream)
Attachment #8472022 -
Flags: review?(kgrandon)
Attachment #8472022 -
Flags: review?(ehung)
Attachment #8472022 -
Flags: review?(arthur.chen)
Attachment #8472022 -
Flags: review?(alive)
Attachment #8472022 -
Flags: feedback+
Comment 52•10 years ago
|
||
Comment on attachment 8472022 [details] [review]
Gaia pull request
r+ system app part.
Attachment #8472022 -
Flags: review?(timdream)
Attachment #8472022 -
Flags: review?(alive)
Attachment #8472022 -
Flags: review+
Comment 53•10 years ago
|
||
Comment on attachment 8472022 [details] [review]
Gaia pull request
Looks good! r+ with nit addressed. Thanks.
Attachment #8472022 -
Flags: review?(ehung)
Attachment #8472022 -
Flags: review?(arthur.chen)
Attachment #8472022 -
Flags: review+
Comment 54•10 years ago
|
||
Comment on attachment 8472022 [details] [review]
Gaia pull request
Thanks for the patch! Please check my comments in github.
Attachment #8472022 -
Flags: review-
Assignee | ||
Comment 55•10 years ago
|
||
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #52)
> Comment on attachment 8472022 [details] [review]
> Gaia pull request
>
> r+ system app part.
(In reply to Evelyn Hung [:evelyn] from comment #53)
> Comment on attachment 8472022 [details] [review]
> Gaia pull request
>
> Looks good! r+ with nit addressed. Thanks.
(In reply to Arthur Chen [:arthurcc] from comment #54)
> Comment on attachment 8472022 [details] [review]
> Gaia pull request
>
> Thanks for the patch! Please check my comments in github.
Thank you all very much for your reviews! I think I've addressed all of the comments made on the pull request.
Attachment #8472022 -
Flags: review- → review?(arthur.chen)
Comment 56•10 years ago
|
||
Comment on attachment 8472022 [details] [review]
Gaia pull request
The ids in the script should also be replaced with class names. r=me with the issue addressed, thanks!
Attachment #8472022 -
Flags: review?(arthur.chen) → review+
Updated•10 years ago
|
Target Milestone: 2.1 S2 (15aug) → 2.1 S3 (29aug)
Assignee | ||
Comment 57•10 years ago
|
||
Passing try build: https://tbpl.mozilla.org/?rev=d42239dc0a713dda2a69a46c0bd0ce14e739f637&tree=Gaia-Try
(the latest push is only to fix a merge conflict)
Keywords: checkin-needed
Comment 58•10 years ago
|
||
Can you please mark obsolete PRs as such? Makes it hard to know what to check in otherwise.
Keywords: checkin-needed
Attachment #8473905 -
Attachment is obsolete: true
Assignee | ||
Comment 59•10 years ago
|
||
Comment on attachment 8475355 [details] [review]
pull-request (master) - shared/icons.css
>https://github.com/mozilla-b2g/gaia/pull/23045
Attachment #8475355 -
Attachment is obsolete: true
Assignee | ||
Comment 60•10 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #58)
> Can you please mark obsolete PRs as such? Makes it hard to know what to
> check in otherwise.
Sorry about that! I forgot that the other PRs were still listed.
Comment 61•10 years ago
|
||
Comment 62•10 years ago
|
||
Filed follow-up bug 1057696, the number of l10n issues is disappointing. Not sure how else to ask, but can we please starting to test patches with pseudo-locales?
Comment 63•10 years ago
|
||
Hi all,
This issue has been successfully verified on Flame 2.1.
See attachment: verified_v2.1.mp4
Reproducing rate: 0/5
Flame 2.1 build:
Gaia-Rev 1bdd49770e2cb7a7321e6202c9bf036ab5d8f200
Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/db893274d9a6
Build-ID 20141125001201
Version 34.0
Device-Name flame
FW-Release 4.4.2
FW-Incremental eng.cltbld.20141125.040617
FW-Date Tue Nov 25 04:06:28 EST 2014
Bootloader L1TC00011880
Comment 64•10 years ago
|
||
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•