Skip to content

Fix dependency risks loading spinner position#824

Merged
seb-kw merged 1 commit into
l3montree-dev:mainfrom
nicksan222:fix/dependency-risks-loading-spinner
Jul 14, 2026
Merged

Fix dependency risks loading spinner position#824
seb-kw merged 1 commit into
l3montree-dev:mainfrom
nicksan222:fix/dependency-risks-loading-spinner

Conversation

@nicksan222

Copy link
Copy Markdown
Contributor

Summary

  • move the dependency risks loading spinner out of the filter row
  • center it in the loading list
  • hide stale results and the empty state while loading

Testing

  • npx tsc --noEmit --pretty false

Fixes l3montree-dev/devguard#2344

Signed-off-by: Nicholas Santi <nicksan222@gmail.com>
Copilot AI review requested due to automatic review settings July 13, 2026 17:59
@nicksan222

Copy link
Copy Markdown
Contributor Author

Loading-state screenshot:

Dependency Risks loading spinner centered in the loading list

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the dependency-risks page loading UX so loading feedback is presented in the results area (not inside the filter/search row) and prevents stale/empty UI states from showing while data is loading.

Changes:

  • Removes the inline loading spinner from the filter/search row.
  • Adds a centered loading spinner in the results section with a minimum height to stabilize layout.
  • Gates the empty state behind the non-loading branch so it won’t appear while loading.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@juliankepka juliankepka left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for your PR!

@seb-kw seb-kw merged commit f0aa0ea into l3montree-dev:main Jul 14, 2026
1 check passed
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.

Spinner on dependency risks page position is off

4 participants