Skip to content

Duration in main view updates with a delay #1503

Open
@IndrekV

Description

@IndrekV
  • OS version: MacOs 10.14.5
  • Browser version: Chrome 76.0.3809.132
  • Extension version: 1.40.8

🐛 Describe the bug

When changing the duration and pressing "Done" the main view still shows old time for a few seconds and then updates

Expected behaviour

The duration in main page should already be updated when user return to main view. If the sync fails or any other issues appear we will return the old value. Most of the times it won't fail and the new duration is nicely shown right away. This removes the feeling of slowness in this part of the app

Steps to reproduce

Steps to reproduce the behaviour:

  1. Start timer in popup
  2. Click on timer to edit the entry
  3. Edit duration
  4. Press "Done" to accept changes
  5. See that it takes a second for the duration to update on the main view

Other details or context

tb-duration-update

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughas primpact: highThis is important and we'll work on it as soon as we can.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions