Skip to content

Fixed errors for justice-hub - #492

Merged
Abhishekfm merged 1 commit into
devfrom
usecase-embeddings
Oct 8, 2026
Merged

Abhishekfm merged 1 commit into
devfrom
usecase-embeddings

Conversation

@UdayRajSahai2

Copy link
Copy Markdown
Collaborator

JusticeHub dashboards sometimes appear before their stylesheet and logo have loaded. The logo then looks broken, or too big, because the styles that size it are not there yet.

For JusticeHub links only, we show a loading spinner and preload the public stylesheet and logo so they are ready before the dashboard is shown. Other dashboards are unchanged. The dashboard link still comes from the use case. The JusticeHub site address is written in the code because it is the same public site everywhere, and putting it in an env variable would not hide it.

@UdayRajSahai2 UdayRajSahai2 self-assigned this Oct 7, 2026
@Abhishekfm
Abhishekfm merged commit 6e62549 into dev Oct 8, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
development — f1a59ea1 Deployed Oct 7, 2026 by UdayRajSahai2 via build (24.x) #836
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.

2 participants