Skip to content

Issue/13328 progress labels#13900

Merged
malinajirka merged 6 commits intodevelopfrom
issue/13328-progress-labels
Jan 29, 2021
Merged

Issue/13328 progress labels#13900
malinajirka merged 6 commits intodevelopfrom
issue/13328-progress-labels

Conversation

@zwarm
Copy link
Copy Markdown
Contributor

@zwarm zwarm commented Jan 28, 2021

Parent #13228

This PR enhances the Restore progress view by:

  1. Updating the labels using the API message value and current entry. (Note that current entry is not yet returning data, but when it does it will be shown under the progress bar)
  2. Uses a indeterminate progress bar until the progress value is > 0
    Also this PR adds back the "R.string" in RestoreViewModel I don't know why AS keeps dropping it.

Notes

  • View copy will be updated in the separate PR
on submit starting in progress
on submit starting progress

To test:

  • Run the Restore Process from start to finish
  • Take note that Progress view
    -- Shows an indeterminate progress bar until progress > 0
    -- Shows a message on the right hand side of the screen - this message is straight from the API

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.

@zwarm zwarm added this to the 16.7 milestone Jan 28, 2021
@zwarm zwarm requested review from a team and malinajirka and removed request for a team January 28, 2021 01:08
@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Jan 28, 2021

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

@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Jan 28, 2021

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

Copy link
Copy Markdown
Contributor

@malinajirka malinajirka left a comment

Choose a reason for hiding this comment

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

Thanks @zwarm! The changes LGTM. I've left just one comment.

Issues not related to this PR which we might want to add to our todo list:

  1. When I click on "Restore site" it navigates me to Warning screen -> there is a noticable animation glitch -> the cancel button appears after a delay and the confirmation button changes it's vertical position a bit (https://i.gyazo.com/ce0763521d7729b09b45ef048dd22110.gif)
  2. There is a noticable delay after I click on "Confirm restore site" on the warning screen, it takes +- 1-2 seconds before the apps navigates me to the progress screen.

@malinajirka malinajirka merged commit bf83571 into develop Jan 29, 2021
@malinajirka malinajirka deleted the issue/13328-progress-labels branch January 29, 2021 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants