-
Notifications
You must be signed in to change notification settings - Fork 1.3k
For #21339: update styles for homescreen to match new specs #21342
For #21339: update styles for homescreen to match new specs #21342
Conversation
d089589
to
0b4ff45
Compare
0b4ff45
to
a85c54e
Compare
Failing UI tests:
|
a85c54e
to
2d4a8e4
Compare
@Mergifyio rebase |
Command
|
2d4a8e4
to
91024fd
Compare
This pull request has conflicts when rebasing. Could you fix it @eliserichards? 🙏 |
91024fd
to
60c4ccd
Compare
app/src/main/java/org/mozilla/fenix/home/recenttabs/view/RecentTabs.kt
Outdated
Show resolved
Hide resolved
60c4ccd
to
fcffbbd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will pull down and test it out after lunch
@@ -93,7 +93,7 @@ | |||
<color name="collection_icon_color_yellow">@color/collection_icon_color_yellow_dark_theme</color> | |||
|
|||
<!-- Home screen --> | |||
<color name="home_show_all_button_text">@color/photonLightGrey50</color> | |||
<color name="home_show_all_button_text">#AB71FF</color> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be equivalent to photonViolet40. You can usually see the color name in figma if you select the CSS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oui, the color variable for photonViolet40 is equivalent to #AB71FF is what I am trying to say
https://searchfox.org/mozilla-mobile/source/android-components/components/ui/colors/src/main/res/values/photon_colors.xml#180
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have that in our .values folder on Fenix. What's the correct way to add a new photon color here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should simply be @color/photonViolet40
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's in android components. Try it locally. We build our @color/photonXXX values based on https://github.com/mozilla-mobile/android-components/blob/releases/93.0/components/ui/colors/src/main/res/values/photon_colors.xml and you can see that violet40 isn't there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not adding that in this PR. I'm gonna expose it on AC then update here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's there in AC. https://github.com/mozilla-mobile/android-components/blob/main/components/ui/colors/src/main/res/values/photon_colors.xml#L180. We aren't pinned to the 93 release in main
which is what you linked.
Trust, I suspect your local dev is not rebased or might need a sync.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can also omit the change and I can add it in a separate PR if we are still having issues, but the color definitely exists in AC already.
fcffbbd
to
e694898
Compare
This pull request has conflicts when rebasing. Could you fix it @eliserichards? 🙏 |
e694898
to
208949b
Compare
@gabrielluong I cleaned everything up a bunch and removed all of the unnecessary white space around bookmarks and top sites, as well as making sure collections and "no collections" were matching. lmk what you think :) |
208949b
to
7218dd7
Compare
Making some changes to "customize" button based on Nicole's feedback... |
7218dd7
to
4cbabb2
Compare
This pull request has conflicts when rebasing. Could you fix it @eliserichards? 🙏 |
@eliserichards While you are at it, could you also fix the overlap of the card headers and the "show all" link which happens in languages with longer translations? I checked out your current work on this issue and while it's better due to the smaller font it's still an issue. I attached a screenshot of the "recently saved" section ("Kürzlich als Lesezeichen gesetzt" in German) so that you can see the issue (left: main branch, right: your branch for this issue). |
@cadeyrn thank you so much for pointing that out! I'm going to land this and tackle that issue in a new PR :D |
4cbabb2
to
52f429a
Compare
Flaky test:
|
@Mergifyio rebase |
Command
|
This pull request has conflicts when rebasing. Could you fix it @eliserichards? 🙏 |
…ns and jump back in spacing For mozilla-mobile#21339: Add ignores for intermittent ui tests
52f429a
to
e1dfb6b
Compare
For #21339
Updates the "show all" buttons on the home screen. Adds correct spacing in between jump back in cards.
Pull Request checklist
To download an APK when reviewing a PR: