Skip to content

Business Dashboard: To Do list displays a few seconds after spinner hides #25388

Closed

Description

@Rajandeep98

Describe the bug in current situation

In Test environment, a business loads with nothing in its To Do list, and then a few seconds later, a draft filing appeared in the To Do list:

Private Zenhub Video

https://test.business-dashboard.bcregistry.gov.bc.ca/BC1149939/?accountid=1999

It was found that the "tasks" network call was taking around 3 seconds to return (while the others took 100-200 milliseconds). However, it is expected that the dashboard does not display (ie, the spinner remains displayed) until all data is fetched.

Impact of this bug

Impacts all to-do items, and delayed response to anyone using dashboard

Chance of Occurring (high/medium/low/very low)

Happens almost every time on this business. May be worse in Test than Dev or Prod because Test API is always slow.

Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?

May require a draft filing (or task such as Annual Report).

Steps to Reproduce

Steps to reproduce the behavior:

  1. reload dashboard
  2. wait for to-do to show (delayed)

Actual/ observed behavior/ results

Loads dashboard, before loading all tasks / finishing all api calls

Expected behavior

it should keep the spiner until to-do/tasks are fully loaded

Activity

  1. added
    bug
    on Jan 21, 2025
  2. added
    Entities Team
    on Jan 21, 2025
  3. changed the title [-]Appplication Responsiveness[/-] [+]Business Dashboard: To Do list displays a few seconds after spinner hides[/+] on Jan 21, 2025
  4. severinbeauvais commented on Jan 21, 2025

    @severinbeauvais
    Collaborator

    @OlgaPotiagalova Here's a new bug, found in Test. I think it isn't must-fix for Directed Launch, but maybe it's high priority. What do you think?

  5. OlgaPotiagalova commented on Jan 22, 2025

    @OlgaPotiagalova
    Collaborator

    Agree. Lets confirm it is not environment related and address in the MVP release

  6. severinbeauvais commented on Feb 13, 2025

    @severinbeauvais
    Collaborator

    This is probably related to blocking calls (eg, asyncs) not being awaiting.

    Consider doing this ticket at the same time as #25518.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities TeamPriority2bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions