Skip to content

Cleanup providers#831

Open
marcodejongh wants to merge 5 commits intomainfrom
cleanup_providers
Open

Cleanup providers#831
marcodejongh wants to merge 5 commits intomainfrom
cleanup_providers

Conversation

@marcodejongh
Copy link
Owner

No description provided.

marcodejongh and others added 5 commits February 13, 2026 17:41
- Use useOptionalBoardProvider in TickAction and LogAscentForm so playlist
  pages without BoardProvider don't crash
- Simplify LogAscentForm saveTick fallback using spread + executeGraphQL
- Remove cross-layout climb filtering that incorrectly hid playlist climbs
- Add Share button to playlist hero card (visible to all users)
- Hide ellipsis menu for non-owners (was opening empty)
- Remove unused MuiAlert import

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Use useRef for wsAuthToken so the fallback saveTick always reads the
  latest token value, even if it refreshes after the closure was created
- Add tests for TickAction: auth fallback (with/without BoardProvider),
  logbook filtering by uuid+angle, badge count, action structure
- Add tests for LogAscentForm saveTick logic: auth delegation, GraphQL
  fallback with spread, field completeness, fresh token via ref

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace manual executeGraphQL/useWsAuthToken fallback pattern with
standalone useSaveTick and useLogbook hooks from cleanup_providers.
This eliminates the stale token closure issue and leverages TanStack
Query's caching/deduplication.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Pass empty climbUuids to useLogbook when BoardProvider is present,
  preventing an unnecessary network request
- Add success message after native navigator.share() completes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix playlist viewing for public/non-owner playlists
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel
Copy link

vercel bot commented Feb 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
boardsesh Building Building Feb 13, 2026 5:58pm

Request Review

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.

1 participant