Skip to content
This repository was archived by the owner on Jul 5, 2026. It is now read-only.

fix(footer): one status dot, real freshness line, endpoint in the bottom bar - #269

Merged
JSONbored merged 2 commits into
mainfrom
claude/footer-social-pulse
Jun 26, 2026
Merged

fix(footer): one status dot, real freshness line, endpoint in the bottom bar#269
JSONbored merged 2 commits into
mainfrom
claude/footer-social-pulse

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Follow-up polish on the footer (PR #267), addressing review feedback:

  • Dropped the redundant "healthy" word from the endpoint pill — the green dot already conveys it. Visible text is now just the latency (api.metagraph.sh/api/v1 · 142 ms), or unreachable / checking…. The word form stays in the tooltip + aria for colour-blind / screen-reader users.
  • Three pulsing green dots → one. Removed the "registry pulse" mg-live-dot and the "live registry" pulse dot; the only live dot left is the endpoint-health one (the one that actually means something).
  • Moved the API endpoint to the bottom bar (where "live registry" used to sit) and removed "live registry".
  • Replaced the vanity "Registry Pulse" label with a real updated <relative> freshness indicator sourced from the freshness feed's generated_at (guarded to a string — the type carries an index signature).
  • Replaced the vague "— unofficial" next to the copyright with the project's own accurate disclaimer: "Not an OpenTensor/Bittensor product" (matches the About page).

Net diff is app-shell.tsx only (the useEndpointHealth hook + --health-bad token landed in #267).

Verification: prettier --check clean · tsc --noEmit clean · eslint 0 errors · 160/160 tests · vite build succeeds.

…tom bar

Footer polish per review:
- Drop the redundant 'healthy' word from the endpoint pill — the green dot
  already says it. Visible text is now just latency (or 'unreachable' /
  'checking…'); the word form stays in the tooltip/aria for a11y.
- Collapse three pulsing green dots down to one. Removed the 'registry pulse'
  mg-live-dot and the 'live registry' pulse dot; the only live dot left is the
  endpoint-health one (which actually conveys status).
- Move the API endpoint to the bottom bar (where 'live registry' was) and drop
  'live registry'.
- Replace the vanity 'Registry Pulse' label with a real 'updated <relative>'
  freshness indicator from the freshness feed's generated_at.
- Replace the vague '— unofficial' with the project's own accurate disclaimer,
  'Not an OpenTensor/Bittensor product'.
@superagent-security

Copy link
Copy Markdown

Superagent didn't find any vulnerabilities or security issues in this PR.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
metagraphed-ui 7432f66 Commit Preview URL

Branch Preview URL
Jun 26 2026, 11:41 AM

Run both brand links through safeExternalUrl with a known-good fallback, the
same guard the API links use, so a misconfigured VITE_METAGRAPHED_REPO/_DISCORD
override can't inject an unsafe href. #268 only covered Discord and was cut
against the pre-rework footer; this covers GitHub too, on the current footer,
computed once at module scope.
@JSONbored
JSONbored merged commit da367fa into main Jun 26, 2026
5 of 6 checks passed
@JSONbored
JSONbored deleted the claude/footer-social-pulse branch June 26, 2026 11:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant