Skip to content

fix hero loading state#430

Merged
michelleyeoh merged 3 commits intomainfrom
fix-hero-loading
Mar 8, 2026
Merged

fix hero loading state#430
michelleyeoh merged 3 commits intomainfrom
fix-hero-loading

Conversation

@michelleyeoh
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the hackers hub “HeroHacking” countdown area to avoid the previous gated/blank/loading behavior and instead render a consistent countdown while rollout data is still being fetched.

Changes:

  • Removes ClientTimeProtectedDisplay wrapping around the hero countdown.
  • Always renders a Countdown, using rolloutTime + 24h when available and the component’s default otherwise.
  • Repositions the “loading…” indicator to be absolutely positioned beneath the countdown.

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

Comment thread app/(pages)/(hackers)/_components/HomeHacking/HeroHacking.tsx Outdated
@michelleyeoh michelleyeoh merged commit edaf7f9 into main Mar 8, 2026
2 checks passed
@michelleyeoh michelleyeoh deleted the fix-hero-loading branch March 8, 2026 23:59
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