Skip to content

Business Dashboard UI: don't display components until their network calls are done (Phase 2) #29664

Open

Description

@severinbeauvais

See also Phase 1 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 remove the full-page spinner and use spinners on sub-components instead (parties, addresses, filings).

Activity

  1. added
    bug
    Entities Team
    on Jul 18, 2025
  2. changed the title [-]Copy of Business Dashboard UI: should not display until all network calls are done (Phase 1)[/-] [+]Business Dashboard UI: should not display until all network calls are done (Phase 2)[/+] on Jul 18, 2025
  3. severinbeauvais commented on Jul 18, 2025

    @severinbeauvais
    CollaboratorAuthor

    The Phase 1 ticket asks for everything to load before hidig the full-page spinner.

    This ticket is Phase 2: 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.

  4. changed the title [-]Business Dashboard UI: should not display until all network calls are done (Phase 2)[/-] [+]Business Dashboard UI: don't display components until their network calls are done (Phase 2)[/+] 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