Skip to content

Add MoonBoard climb view/details page #617

@marcodejongh

Description

@marcodejongh

Summary

The climb view/details page is currently disabled for MoonBoard climbs. When clicking on a MoonBoard climb card, the "View Details" action button is hidden because the view page doesn't properly support MoonBoard climbs yet.

Background

The climb view page (/[board_name]/[layout_id]/[size_id]/[set_ids]/[angle]/view/[climb_uuid]/page.tsx) needs to be adapted to support MoonBoard's different data model and rendering approach:

  • MoonBoard uses grid-based rendering instead of edge-based hold positioning
  • MoonBoard has different hold state colors (green=start, blue=hand, red=finish)
  • MoonBoard grades use Font notation (6A, 7A, etc.) instead of V-grades

Tasks

  • Review the existing climb view page implementation
  • Ensure MoonBoard holds render correctly using grid-based positioning
  • Verify grade display works with MoonBoard Font notation grades
  • Test the full climb detail page flow for MoonBoard climbs
  • Remove viewDetails from the exclude list in climb-card.tsx for MoonBoard

Related code

  • Excluded in: packages/web/app/components/climb-card/climb-card.tsx
  • View page: packages/web/app/[board_name]/[layout_id]/[size_id]/[set_ids]/[angle]/view/[climb_uuid]/page.tsx
  • MoonBoard config: packages/web/app/lib/moonboard-config.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions