You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Business Dashboard UI: don't display page until all network calls are done (Phase 1) #29318
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.
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.)
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
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.
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
Activity
vikas-gov commentedon Jul 10, 2025
Discussion:
[-]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)[/+]severinbeauvais commentedon Jul 18, 2025
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.
[-]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)[/+]