Skip to content

Jetpack Section: Restore - Fix Dark Theme for Rewind Progress Row#13874

Merged
ashiagr merged 2 commits intodevelopfrom
issue/13328-rewind-progress-row-dark-theme-fix
Jan 26, 2021
Merged

Jetpack Section: Restore - Fix Dark Theme for Rewind Progress Row#13874
ashiagr merged 2 commits intodevelopfrom
issue/13328-rewind-progress-row-dark-theme-fix

Conversation

@ParaskP7
Copy link
Copy Markdown
Contributor

@ParaskP7 ParaskP7 commented Jan 25, 2021

Parent #13328

This PR fixes an issue with the activity log rewind progress row UI now showing as should for dark theme.

Before After
before after

To test:

  • Launch app and go to My Site tab.
  • Click the Activity menu item to launch the activity log screen.
  • Pick a rewindable item (an item that can be restored), and click on it. This will launch the activity log details screen.
  • Click the RESTORE button. This will launch a Restore Site dialog.
  • Click the RESTORE SITE confirmation button. You will be automatically navigated back to the activity log screen.
  • Verify that the Restoring to Data rewind progress row is showing as expected for both dark and light theme.

PS: As always, I suggest doing a commit-by-commit review as this will make it much easier for you to review the overall solution.

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

The main change here is the layout 'android:background' element which
changes from the hardcoded '@android:color/white' color to the more
dynamic and theme respected '?attr/selectableItemBackground' attribute.
@ParaskP7 ParaskP7 added this to the 16.6 milestone Jan 25, 2021
@ParaskP7 ParaskP7 requested a review from ashiagr January 25, 2021 12:28
@ParaskP7 ParaskP7 self-assigned this Jan 25, 2021
@peril-wordpress-mobile
Copy link
Copy Markdown

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

@ParaskP7 ParaskP7 mentioned this pull request Jan 25, 2021
30 tasks
@peril-wordpress-mobile
Copy link
Copy Markdown

You can test the changes on this Pull Request by downloading the APK here.

@JavonDavis
Copy link
Copy Markdown
Contributor

Hey! Bumping this to 16.7, if you'd like to get it in for this release please merge this into release/16.7 and then DM me to release a new Beta version.

@JavonDavis JavonDavis modified the milestones: 16.6, 16.7 Jan 25, 2021
@ashiagr ashiagr self-assigned this Jan 26, 2021
Copy link
Copy Markdown
Contributor

@ashiagr ashiagr left a comment

Choose a reason for hiding this comment

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

Looks great on both light and dark themes, thanks for fixing it @ParaskP7!

@ashiagr ashiagr merged commit 66ddc6a into develop Jan 26, 2021
@ashiagr ashiagr deleted the issue/13328-rewind-progress-row-dark-theme-fix branch January 26, 2021 05:25
@ParaskP7 ParaskP7 changed the title Jetpack Mobile: Restore - Fix Dark Theme for Rewind Progress Row Jetpack Section: Restore - Fix Dark Theme for Rewind Progress Row Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants