Closed
Bug 1137333
Opened 9 years ago
Closed 8 years ago
Clean up UI of "Clear browsing history" button
Categories
(Firefox for Android Graveyard :: Awesomescreen, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: antlam, Assigned: vivek, Mentored)
References
Details
(Whiteboard: [lang=xml])
Attachments
(3 files)
I noticed that our "Clear browsing history" button in the History panel need some visual love. Basic clean up to UI, namely... - using the "Toolbar grey" for default state, - "Toolbar grey pressed" for the pressed state, - "Text and Tabs tray grey" for the Text ( Roboto Light (14 sp), - adding a divider above the button thats #D7D9DB at 1 dp, - and increasing it's size to be 48 dp (matching the toolbar size)
Comment 1•9 years ago
|
||
This button lives here: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/layout/home_history_panel.xml#17 Cleaning up the style should just involve updating the style for this button: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/values/styles.xml#266 We have this Widget.Home.ActionButtton style which extends Widget.Home.PageButton, and it looks like both of those styles are only used for this button, so I think we should consider combining those styles.
Mentor: michael.l.comella, margaret.leibovic
Whiteboard: [lang=xml]
I am interested in working on this bug. Would be great if you could please let me know how could I get started? Thanks!
Flags: needinfo?(alam)
Reporter | ||
Comment 3•9 years ago
|
||
Awesome! Thanks Ruchita. I am going to NI Margaret here as she could better help with that question.
Flags: needinfo?(alam) → needinfo?(margaret.leibovic)
Thanks Anthony! Margaret, I saw that you already posted some initial information regarding the visual design for this button. Thanks for that! Are there any additional features that you need besides the ones listed Anthony listed above? Also would be great if you could please point me to resources on how I can go to pull repo and start working on this bug? Thanks!
Thanks Anthony! Margaret, I saw that you already posted some initial information regarding the visual design for this button. Thanks for that! Are there any additional features that you need besides the ones listed Anthony listed above? Also would be great if you could please point me to resources on how I can go to pull repo and start working on this bug? Thanks!
Comment 6•9 years ago
|
||
Hi ruchita! You'll want to start by following the instructions here to get a build environment set up: https://wiki.mozilla.org/Mobile/Fennec/Android You also should join #mobile on irc.mozilla.org to ask any questions that might come up while setting up your build environment. For this bug, we should focus on what antlam listed in comment 0, and there are plenty of other bugs out there where we can work on more features :)
Assignee: nobody → ruchita
Flags: needinfo?(margaret.leibovic)
Thanks for the info Margaret. I am working towards setting the build environment setup on my machine and will start working on this bug right away.
Reporter | ||
Comment 8•9 years ago
|
||
(In reply to ruchita from comment #7) > Thanks for the info Margaret. > I am working towards setting the build environment setup on my machine and > will start working on this bug right away. Awesome! Thanks ruchita!
Assignee | ||
Comment 9•8 years ago
|
||
Bug 1137333 Clear history button style changes r?margaret
Attachment #8668120 -
Flags: review?(margaret.leibovic)
Updated•8 years ago
|
Assignee: ruchita → vivekb.balakrishnan
Status: NEW → ASSIGNED
Comment 10•8 years ago
|
||
Comment on attachment 8668120 [details] MozReview Request: Bug 1137333 Clear history button style changes r?margaret https://reviewboard.mozilla.org/r/20889/#review18839 Thanks for picking this up. I just have a few comments, but you should make sure to post a screenshot to get UI review from antlam before landing this. ::: mobile/android/base/resources/values/colors.xml:121 (Diff revision 1) > + <color name="home_history_clear_button_top_divider">#D7D9DB</color> Is this a color we use anywhere else? We've been trying to move towards using colors from a standard color palette as much as possible. If this is a color in the palette, we should just use the existing color, rather than creating a new one. ::: mobile/android/base/resources/values/styles.xml:264 (Diff revision 1) > - <item name="android:textAppearance">@style/TextAppearance.Widget.Home.PageTitle</item> > + <item name="android:textColor">@color/tabs_tray_icon_grey</item> It looks like this was the only place this style was used, so you could remove it: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/values/styles.xml#412 http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/values-v16/styles.xml#16 ::: mobile/android/base/resources/values/styles.xml (Diff revision 1) > - <item name="android:textAppearance">@style/TextAppearance.Widget.Home.PageAction</item> It looks like this was the only place this style was used, so you could remove it: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/values/styles.xml#414
Attachment #8668120 -
Flags: review?(margaret.leibovic) → review+
Assignee | ||
Comment 11•8 years ago
|
||
@antlam As per Margaret's comment on color palette, I find that we have divider_light defined as FFD7D9DB. This patch uses that. Please let me know if any other changes are required
Attachment #8668510 -
Flags: review?(alam)
Reporter | ||
Comment 12•8 years ago
|
||
Comment on attachment 8668510 [details]
history_clear_button.png
Thanks Vivek!
Spoke on IRC, seems like the type is still not to spec. Vivek will update :)
Attachment #8668510 -
Flags: review?(alam) → review-
Assignee | ||
Comment 13•8 years ago
|
||
Comment on attachment 8668120 [details] MozReview Request: Bug 1137333 Clear history button style changes r?margaret Bug 1137333 Clear history button style changes r?margaret
Assignee | ||
Comment 14•8 years ago
|
||
New changes: Fixed the specs according to comment #1 Removed unused styles @antlam: Please find the latest mocks at https://www.dropbox.com/home/Bug_Attachments/mocks All caps seems to be a material design spec. https://www.google.com/design/spec/style/typography.html#typography-styles The above document mentions that.
Flags: needinfo?(alam)
Reporter | ||
Comment 15•8 years ago
|
||
Hey Vivek! Thanks for doing this work. Unfortunately, I can't get access to that link you posted so I'm just going to assume that it's the same as when we last spoke on IRC (minutes ago). :) so, WFM!
Flags: needinfo?(alam)
Assignee | ||
Comment 16•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/b54c7ecef7a5f4fa6fa6a96951e15d06732997cb Bug 1137333 Clear history button style changes r=margaret
Comment 17•8 years ago
|
||
This landed but unfortunately the flags never got updated.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•