Skip to content

feat(mobile-expo): MediaCollectionRenderer section component#328

Open
up-tandem wants to merge 1 commit intomainfrom
feat/313-media-collection-renderer
Open

feat(mobile-expo): MediaCollectionRenderer section component#328
up-tandem wants to merge 1 commit intomainfrom
feat/313-media-collection-renderer

Conversation

@up-tandem
Copy link
Contributor

Summary

  • Replaces the MediaCollection stub with a full renderer supporting all 5 layout variants
  • carousel: horizontal ScrollView of item cards
  • collection: vertical list of items
  • grid: 2-column FlatList layout
  • hero / player: single prominent featured item
  • Shared MediaItemCard sub-component with thumbnail (from imageOverride or video.image), title (titleOverride or video.title), subtitle, item number overlay (when showItemNumbers is true), and collection size badge
  • Header renders categoryLabel, title, subtitle, description (all optional)
  • Optional ctaLink and footerText at bottom
  • Empty items array handled gracefully
  • Accessible labels on items and CTA

Contracts Changed

No

Regeneration Required

No

Validation

  • pnpm --filter @forge/expo lint — passes with 0 warnings
  • pnpm --filter @forge/expo test -- --testPathPattern=MediaCollectionRenderer — 9/9 tests pass
  • pnpm --filter @forge/expo test -- --testPathPattern=SectionDispatcher — 11/11 tests pass (no regressions)

Resolves #313

🤖 Generated with Claude Code

Replace the MediaCollection stub with a real renderer supporting all 5
layout variants (carousel, collection, grid, hero, player). Renders
thumbnails, titles, item numbers, collection size badges, and optional
CTA link and footer text.

Resolves #313

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Mar 10, 2026

Warning

Rate limit exceeded

@up-tandem has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 22 minutes and 28 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 022c544f-8c6c-453b-b7a1-069f8eedada9

📥 Commits

Reviewing files that changed from the base of the PR and between 2bc0bcd and 78263d9.

📒 Files selected for processing (5)
  • mobile/expo/src/components/sections/MediaCollectionRenderer.test.tsx
  • mobile/expo/src/components/sections/MediaCollectionRenderer.tsx
  • mobile/expo/src/components/sections/MediaCollectionStub.tsx
  • mobile/expo/src/components/sections/SectionDispatcher.tsx
  • mobile/expo/src/components/sections/index.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/313-media-collection-renderer

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

feat(mobile-expo): MediaCollectionRenderer section component

1 participant