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

For #7219 - Polish Download Notification Dialog. #7224

Merged
merged 3 commits into from
Dec 18, 2019

Conversation

ekager
Copy link
Contributor

@ekager ekager commented Dec 16, 2019


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

After merge

  • Milestone: Make sure issues finished by this pull request are added to the milestone of the version currently in development.

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

@ekager ekager changed the title For #7219 - Polish Download Notification Dialog For #7219 - Polish Download Notification Dialog. Dec 16, 2019
@codecov-io
Copy link

codecov-io commented Dec 16, 2019

Codecov Report

Merging #7224 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master   #7224      +/-   ##
===========================================
- Coverage      18.9%   18.9%   -0.01%     
  Complexity      436     436              
===========================================
  Files           290     290              
  Lines         11312   11315       +3     
  Branches       1538    1538              
===========================================
  Hits           2139    2139              
- Misses         9010    9013       +3     
  Partials        163     163
Impacted Files Coverage Δ Complexity Δ
...downloads/DownloadNotificationBottomSheetDialog.kt 0% <0%> (ø) 0 <0> (ø) ⬇️

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 52334f9...c9c1cc3. Read the comment docs.

download_notification_icon.setImageDrawable(context.getDrawable(
mozilla.components.feature.downloads.R.drawable.mozac_feature_download_ic_download_failed
))
download_notification_icon.setImageDrawable(
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Since you have to fix a conflict here anyways...do you mind changing this to setImageResource? That should use AppCompatResources under the hood for the compat ImageView.

@ekager ekager added the pr:needs-landing PRs that are ready to land [Will be merged by Mergify] label Dec 17, 2019
@sblatz sblatz merged commit 5ac79f5 into mozilla-mobile:master Dec 18, 2019
@ekager ekager deleted the 7219-accent-color-downloads branch December 18, 2019 18:06
psymoon added a commit that referenced this pull request Dec 20, 2019
* For perf-frontend-issues#16: switch device_config parameter for Nimbledroid to be Android7 (#6985)

* For perf-frontend-issues#16: specify device_config parameter to be 'android7' when running Nimbledroid tests. This will switch the tests from running Android5 to Android7, which is a better representation of our user's experience

* Ensure we can test with both Android5 and Android7

* For #7219 - Polish Download Notification Dialog. (#7224)

* For #7219 - Use accent color for downloads dialog positive button

* For #7219 - Fixes gap beneath download notification dialog

* switch to setimageresource

* Add Add-on Manager boilerplate and initial add-on integration

Co-authored-by: Emma Malysz <emalysz@mozilla.com>
Co-authored-by: Emily Kager <emilykager@gmail.com>
Amejia481 pushed a commit that referenced this pull request Dec 23, 2019
* For perf-frontend-issues#16: switch device_config parameter for Nimbledroid to be Android7 (#6985)

* For perf-frontend-issues#16: specify device_config parameter to be 'android7' when running Nimbledroid tests. This will switch the tests from running Android5 to Android7, which is a better representation of our user's experience

* Ensure we can test with both Android5 and Android7

* For #7219 - Polish Download Notification Dialog. (#7224)

* For #7219 - Use accent color for downloads dialog positive button

* For #7219 - Fixes gap beneath download notification dialog

* switch to setimageresource

* Add Add-on Manager boilerplate and initial add-on integration

Co-authored-by: Emma Malysz <emalysz@mozilla.com>
Co-authored-by: Emily Kager <emilykager@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr:needs-landing PRs that are ready to land [Will be merged by Mergify]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants