Repository navigation
Conversation
…ekdays pinned The year grid scrolled to its right end from a ref, so phones first painted the oldest weeks until the page hydrated. The scroll container now runs right to left, which starts it at the latest weeks before any script runs, and the weekday labels stay put while the weeks scroll under them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
# Conflicts: # resources/js/components/activity-graph.tsx
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the activity-graph scrolling and sticky-label changes.
No open issues 🎉
What changed in this PR
Updates the shared activity graph so phones show the latest weeks immediately, without waiting for JavaScript.
Changes:
- Uses native scroll direction for the year view while preserving chronological grid order.
- Pins weekday labels and the blank corner during scrolling, keeping the half-year view left-aligned.
| File | Description |
|---|---|
| resources/js/components/activity-graph.tsx | Replaces scripted scroll positioning and adds sticky weekday labels with matching card backgrounds. |
Review effort: Balanced
On phones the year of commit activity now opens on the latest weeks straight from the server-rendered page, instead of on the oldest ones until the page hydrates, and the weekday labels stay put while you scroll back.
Visual evidence
🤖 Generated with Claude Code
Summary by CodeRabbit