refactor(ui): Load dashboard data and stats in parallel by nfebe · Pull Request #75 · flatrun/ui · GitHub
Skip to content

refactor(ui): Load dashboard data and stats in parallel#75

Merged
nfebe merged 1 commit into
mainfrom
perf/154/dashboard-loading
Jun 28, 2026
Merged

refactor(ui): Load dashboard data and stats in parallel#75
nfebe merged 1 commit into
mainfrom
perf/154/dashboard-loading

Conversation

@nfebe

@nfebe nfebe commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

The dashboard fetched its health check, then its stats, then its deployments one after another before rendering, and the security overview blocked the same path. The health and stats requests now run together, and the security data is fetched alongside the main load instead of gating it, so the page becomes interactive sooner. Pairs with the backend parallelization in #154.

The dashboard previously issued its health, stats, and deployment
requests one after another before rendering. They now run in parallel,
and the security overview is fetched without blocking the initial view,
so the page becomes interactive sooner.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

@sourceant

sourceant Bot commented Jun 28, 2026

Copy link
Copy Markdown

@sourceant sourceant Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review complete. No specific code suggestions were generated. See the overview comment for a summary.

@nfebe nfebe merged commit a3ad832 into main Jun 28, 2026
5 checks passed
@nfebe nfebe deleted the perf/154/dashboard-loading branch June 28, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant