This repository was archived by the owner on Jul 5, 2026. It is now read-only.
feat(footer): social icons + live endpoint-health dot in the pulse strip - #267
Merged
Conversation
Footer cleanup: - Drop the 'Data' column. GitHub + Discord are now icon buttons in the brand block (matching the navbar icon style) instead of text links under 'Data'. - Move the API endpoint to the right side of the registry-pulse strip, with a glowing dot that reflects live round-trip health: green ok / yellow slow / orange bad / red down, re-checked every 30s and on API-base change. Supporting: - New useEndpointHealth hook (pings the live origin, buckets latency). - New --health-bad design token (orange, between warn and down) wired into @theme for both light + dark, so text-/bg-health-bad behave like the other health tokens. - New .mg-health-dot (currentColor glow, reduced-motion aware), mirroring mg-live-dot but colour-following the health tier.
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
metagraphed-ui | 82f5cab | Commit Preview URL Branch Preview URL |
Jun 26 2026, 11:21 AM |
This was referenced Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Footer cleanup
Two changes to declutter the footer (per the screenshot feedback):
1. Social links are no longer under "Data." The whole
Datacolumn is gone. GitHub + Discord are now icon buttons in the brand block (same icon-button style as the navbar), so the footer is Brand · Registry · Operations.2. The API endpoint moved to the registry-pulse strip (right side), with a glowing health dot. The dot reflects live round-trip health of the actual API origin:
Supporting bits
useEndpointHealthhook — pings the live origin (/api/v1/coverage), measures latency, buckets into ok/slow/bad/down. Reuses the same ping approach asNetworkSwitcher.--health-baddesign token (orange, hue between--health-warn75 and--health-down28), wired into@theme inlinefor both light + dark sotext-/bg-/border-health-badbehave exactly like the other--health-*tokens..mg-health-dot— acurrentColorglow mirroring.mg-live-dot, colour-following the health tier, reduced-motion aware. Only the dot is coloured; the latency text stays neutral for AA contrast.Verification
prettier --checkclean ·tsc --noEmitclean ·eslint0 errors · 160/160 tests ·vite buildsucceeds.