Skip to content

Business Dashboard UI: don't display page until all network calls are done (Phase 1) #29318

Open

Description

@severinbeauvais

See also Phase 2 ticket.

In Dev, I opened a business to manage it. The business dashboard loaded, initially with no office addresses and no directors. Fifteen seconds later, the addresses and directors displayed.

This happened because the addresses and parties calls took 15 seconds to return, and the data was displayed then. However, my expectation is that the dashboard as a whole doesn't display until this data is fetched, so that an incomplete dashboard is never displayed.

image (1).png

The required change is to prevent the page from displaying until the addresses and parties calls complete. (Also, please check if there are other calls that should be awaited.)

Activity

  1. added
    Entities Team
    bug
    on Jul 3, 2025
  2. vikas-gov commented on Jul 10, 2025

    @vikas-gov
    Collaborator

    Discussion:

    • Add a processing icon (spinner icon) till the data is loaded to indicate the delay.
    • Investigate the latency in data loading
  3. changed the title [-]Business Dashboard UI: should not display until all network calls are done[/-] [+]Business Dashboard UI: should not display until all network calls are done (Phase 1)[/+] on Jul 18, 2025
  4. severinbeauvais commented on Jul 18, 2025

    @severinbeauvais
    CollaboratorAuthor

    This ticket is Phase 1: wait for everything to load before hiding the full-page spinner.

    The Phase 2 ticket asks to use a spinner on the sub-components (parties, addresses, filings, etc) so that the base page is shown quickly and any pending data is identified by the component spinner(s) and displays when it arrives from the API.

  5. changed the title [-]Business Dashboard UI: should not display until all network calls are done (Phase 1)[/-] [+]Business Dashboard UI: don't display page until all network calls are done (Phase 1)[/+] on Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities TeamPriority2bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions