T1 Bounty: Footer component with links + socials (#478)#774
T1 Bounty: Footer component with links + socials (#478)#774davidweb3-ctrl wants to merge 10 commits intoSolFoundry:mainfrom
Conversation
- Create reusable TimeAgo component with auto-update - Add comprehensive test suite - Apply to bounty cards, list view, timeline, and activity feed - Supports multiple formats: just now, Xm ago, Xh ago, Xd ago, date - Includes tooltip with full datetime on hover
- Fix 7-day boundary logic (< 7 to <= 7) - Add invalid date handling with safe fallbacks - Fix test expectations for 60-minute boundary - Add tests for invalid date inputs Fixes critical issues from multi-LLM review (score: 6.4/10)
- Fix 'just now' test with deterministic timing - Add act() wrapper for auto-update test - Import act from testing-library/react
- Consistent with BountyCard.tsx handling - Shows '-' when createdAt is undefined - Addresses CodeRabbit review feedback
- Verifies that TimeAgo does not set interval for old dates - Complements existing auto-update test for recent dates - Addresses CodeRabbit review feedback
- Add UTC timezone for deterministic date formatting - Add comprehensive invalid date handling tests - Add setInterval spy tests for >7 days and invalid dates - Fix component to skip interval for invalid dates - Fix NaN handling in isValidDate All 21 tests passing!
- Replace custom formatRelativeTime with TimeAgo component - Maintains auto-update functionality via TimeAgo's built-in interval
- Add TimeAgo display for most recent PR submission timestamp - Shows 'Last PR submitted' with relative time in profile stats
- Reusable CopyAddress component with clipboard functionality - Visual feedback (checkmark icon for 2 seconds after copy) - Truncated display with full address tooltip - Accessible with keyboard support and screen reader announcements - 13 comprehensive tests, all passing - Integrated into ContributorProfile for wallet display
- Added 4 sections: About, Resources, Community, Legal - Added social links: X/Twitter, GitHub, Discord with icons - Added navigation links: Bounties, Leaderboard, How It Works, Docs - Responsive grid layout (mobile stack, desktop grid) - Dark/light theme support - Token contract address with copy-to-clipboard - Copyright notice with dynamic year - Matches SolFoundry design system
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (12)
📝 WalkthroughWalkthroughThe PR introduces two new shared utility React components— Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Important Merge conflicts detected (Beta)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Closes #478
Summary
Enhanced site footer with comprehensive navigation, social links, and SolFoundry branding.
Changes
4 Footer Sections:
Social Media Icons:
Features:
Design:
Wallet: EDFxPF6yAQNod3nFzwV7z1qwSjt42WDYzmdT6b6YHDh7
Bounty