feat: improve session climb display with attempt details, comments, and fix likes#876
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Claude Review✅ Ready to merge - Minor issues noted below, but nothing blocking. Issues
|
…nd fix likes - Replace cryptic "11x" with descriptive text: "on 11th attempt, 35 total" where total attempts = sum of attemptCount since last successful ascent - Add totalAttempts field to SessionDetailTick (schema, types, resolver) - Backend computes totalAttempts per (user, climb, board, angle) via CTE query - Add expanding comment button (FeedCommentButton) on each tick - Fix tick likes not persisting by wrapping ClimbsList with VoteSummaryProvider and removing hardcoded zero initial values from VoteButton https://claude.ai/code/session_01KZDf3WEi4WBSSrZHka6cCP
baeb34d to
5fefa9b
Compare
Claude ReviewIssues
Suggested FixPass |
- Pass initialUpvotes={tick.upvotes} to tick VoteButton so unauthenticated
users see SSR-provided upvote counts (VoteSummaryProvider only fetches
when authenticated, but its context presence prevents individual fetch)
- Fix FeedCommentButton test to use getAllByTestId since there are now
both session-level and tick-level comment buttons
- Add tests for attempt text formatting (totalAttempts, flash no-text)
https://claude.ai/code/session_01KZDf3WEi4WBSSrZHka6cCP
Claude Review✅ Ready to merge - Minor issues noted below, but nothing blocking. Issues
Tests
|
where total attempts = sum of attemptCount since last successful ascent
and removing hardcoded zero initial values from VoteButton
https://claude.ai/code/session_01KZDf3WEi4WBSSrZHka6cCP