integr8ly / tutorial-web-app

Solution Explorer provides the front door into the Integreatly initiative. It hosts the various Solution Patterns, as well as providing a dashboard of installed applications/products/services.
Apache License 2.0
36 stars 54 forks source link

INTLY-473: Walkthrough progress can be more than 100 percent #519

Closed mfrances17 closed 4 years ago

mfrances17 commented 4 years ago

Motivation

INTLY-473

What

In some scenarios, the walkthrough progress show more than 100% done. I've added code so that if the scenario is complete, aka there are no steps left, then it forces to 100.

Why

We should not be showing a percent complete higher than 100%.

Verification Steps

Note that I could not reproduce this issue. But I did test to make sure that there were no regressions. Basically:

  1. Select a walkthroughs from the main page.
  2. Mark several checkboxes as done, and go back and forth in the wizard, keeping an eye on the % done.
  3. Finish at least two of the walkthroughs and verify that you see a value of 100% for the percent complete on the card.

Checklist:

Progress

Additional Notes

Screen cap of finished walkthroughs: 100_percents