track-extension icon indicating copy to clipboard operation
track-extension copied to clipboard

fix(popup): Fix main ui update delay

Open IndrekV opened this issue 4 years ago • 0 comments

Please remember the Contributing Guidelines :heart:

:star2: What does this PR do?

This PR makes the main popup UI update right after user presses "Done". That way the UI is already up to date when returning to the main view.

The main issue with duration was that it had a timer and when returning to main view the timer would still work and wait 1 second to update. I added another render call just before starting the interval timer.

:bug: Recommendations for testing

All changes should be tested across Chrome and Firefox.

  • Start timer
  • Edit entry description and duration
  • Press "Done"
  • Check if the data is updated right away without delay

:memo: Links to relevant issues or information

closes #1503

IndrekV avatar Sep 12 '19 09:09 IndrekV