Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Adding menu configuration for A/A experiment and A/B experiment #16692

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

jhugman
Copy link
Contributor

@jhugman jhugman commented Nov 20, 2020

Fixes #11987

This is the fenix app part of #11987 and SDK-41.

Not in this: the assets, or the telemetry, or the staging server config.

Pull Request checklist

  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Screenshots: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
  • Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features. In addition, it includes a screenshot of a successful accessibility scan to ensure no new defects are added to the product.

To download an APK when reviewing a PR:

  1. click on Show All Checks,
  2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark,
  3. click on the "Fenix - assemble" task, then click "Run Artifacts".
  4. the APK links should be on the left side of the screen, named for each CPU architecture

@jhugman jhugman requested review from a team as code owners November 20, 2020 18:53
@jhugman jhugman marked this pull request as draft November 20, 2020 18:53
@jhugman
Copy link
Contributor Author

jhugman commented Nov 20, 2020

Given when menu items are populated, we're going to be racing to enroll for first time run.

@codecov-io
Copy link

codecov-io commented Nov 20, 2020

Codecov Report

Merging #16692 (0ceb481) into master (5867d28) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #16692      +/-   ##
============================================
- Coverage     30.11%   30.09%   -0.03%     
  Complexity     1211     1211              
============================================
  Files           454      455       +1     
  Lines         18606    18620      +14     
  Branches       2564     2567       +3     
============================================
  Hits           5604     5604              
- Misses        12559    12573      +14     
  Partials        443      443              
Impacted Files Coverage Δ Complexity Δ
.../java/org/mozilla/fenix/experiments/Experiments.kt 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...p/src/main/java/org/mozilla/fenix/home/HomeMenu.kt 0.00% <0.00%> (ø) 0.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5867d28...22a0e8e. Read the comment docs.

@jhugman
Copy link
Contributor Author

jhugman commented Nov 20, 2020

I'd love an asset from @mozilla-mobile/ux , or directions where to find the correct one! HALP PLEASE!

@gabrielluong gabrielluong added the pr:work-in-progress PRs that are not ready to be reviewed yet and are actively being worked on label Nov 26, 2020
@violasong
Copy link
Collaborator

Hi @jhugman, are you talking about "star in tray" icon? I originally added it to a Jira issue, but here it is again:
Bookmarks List.svg.zip

@jhugman
Copy link
Contributor Author

jhugman commented Dec 1, 2020

I originally added it to a Jira issue, but here it is again:
Bookmarks List.svg.zip

Thank you so much!

@jhugman
Copy link
Contributor Author

jhugman commented Dec 1, 2020

Hi, @violasong, would you mind providing a square asset?

The way I'm using it at the moment (via the android studio asset importer), it's coming out as 24dp x 29.805dp.

@jhugman jhugman force-pushed the jhugman/sdk-41-11987-bookmarks-experiment branch from 91e8d52 to 01fd127 Compare December 1, 2020 18:50
@jhugman
Copy link
Contributor Author

jhugman commented Dec 1, 2020

Current status.

showing new bookmark list icon in light mode showing new bookmark list icon in dark mode

@jhugman jhugman marked this pull request as ready for review December 1, 2020 19:58
@jhugman jhugman changed the title WIP: Adding menu configuration for A/A experiment and A/B experiment Adding menu configuration for A/A experiment and A/B experiment Dec 1, 2020
@jhugman jhugman force-pushed the jhugman/sdk-41-11987-bookmarks-experiment branch from 01fd127 to 0ceb481 Compare December 1, 2020 19:59
@jhugman
Copy link
Contributor Author

jhugman commented Dec 1, 2020

Pending an additional asset, this is ready for review.

@jhugman jhugman removed the pr:work-in-progress PRs that are not ready to be reviewed yet and are actively being worked on label Dec 1, 2020
Copy link
Contributor

@eliserichards eliserichards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small nits. This is very clear and the comments make this very accessible. I'm happy to approve this once it is ready 🥇

// We want to validate that the Nimbus experiments library is working, from the android UI
// all the way back to the data science backend. We're not testing the user's preference
// or response, we're end-to-end testing the experiments platform.
// So here, we're running multiple identical branches with the same treatment, and if the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: whitespace
I really appreciate these comments 👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also it looks like a let block not a let?

@violasong
Copy link
Collaborator

Hi, @violasong, would you mind providing a square asset?

The way I'm using it at the moment (via the android studio asset importer), it's coming out as 24dp x 29.805dp.

Ah, sorry about that! It should actually fill a 24 x 24 px space. I re-exported it with extra spacing so that it's square.
bookmarks list x24.svg.zip

Let me know if this looks right when you add it in.

@jhugman jhugman force-pushed the jhugman/sdk-41-11987-bookmarks-experiment branch from 0ceb481 to 22a0e8e Compare December 2, 2020 18:58
@jhugman
Copy link
Contributor Author

jhugman commented Dec 2, 2020

@violasong THANK YOU!
@eliserichards Ready for review. Please land when happy!

Copy link
Contributor

@eliserichards eliserichards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful! Let's land this! 🚀

@jhugman jhugman merged commit 3cd4ff9 into master Dec 3, 2020
@bors bors bot deleted the jhugman/sdk-41-11987-bookmarks-experiment branch December 3, 2020 12:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate Nimbus and implement bookmark icon experiment
5 participants