#1647

feat: contributor requests

OpenKaevyxwants to merge intofrom

Summary

Developers can ask the community for a concrete contribution to a GitHub project and find projects that need their help. Adds a public Help wanted board with coding, testing, documentation, design, and feedback categories, plus open/filled filters.

Changes

  • Requests are ordinary immutable commits with a project link, so moderation, replies, mutes, blocks, posting limits, rules acceptance, and timeouts apply consistently.
  • Owners can mark requests filled or reopen them; pending and rejected requests remain private to their author on the board.
  • Adds web and signed JSON API endpoints, account-export metadata (schema version 10), and account-deletion cleanup.
  • Adds responsive navigation and documentation. No GitHub repository fetch or ownership claim is introduced.

Validation

  • Feature tests: 21 passed, 122 assertions (including unsafe URLs, moderation privacy, signed API, ownership, exports, deletion, posting budget and first-time rules).
  • Existing export tests: 32 passed, 119 assertions.
  • Architecture tests: 12 passed, 985 assertions.
  • PHPStan, Pint and Rector passed.
  • TypeScript checks, changed-file frontend lint (0 warnings/errors), and production frontend build passed in Linux with Bun 1.4.4. Wayfinder generated by host PHP before the container build; an ignored temporary config skipped duplicate generation. The build reported existing-style bundle size warnings.
  • Real browser workflow at 1440px and 390px: filters, Filled/Reopen with reload, pending creation, no horizontal overflow, no JavaScript errors.
  • These are local checks. CodeRabbit passed on the fork for 59f561a592ed57109c322779ff04697cc510739b with no new actionable comments; this is not a maintainer approval.

Visual evidence

Fictional preview data. New pages have no corresponding before-state in the base commit. Existing app layout and commit cards are reused. Screenshot links are pinned to media commit 9c5a99dd4335ad91d3e863d86d2b7c0d902c2629.

Help wanted board

Desktop, light:

Desktop, dark:

390px touch emulation, light:

390px touch emulation, dark:

Create request

Desktop, light:

Desktop, dark:

390px touch emulation, light:

390px touch emulation, dark:

Device verification

Windows, Microsoft Edge (headless). Desktop 1440x1000 and touch-enabled 390x1000 viewport emulation; light and dark system appearance. Browser checks covered scrolling, client-side navigation, forms and fresh reloads. Primary actions remain visible when scrolled into view. Mobile hardware, software keyboard, and device safe areas were not tested; no formal layout-shift measurement was taken.

Independent review

Independent agent reviewer: CODE: PASS and VISUAL: PASS for base 6946cfb7195aba884e9e8c0aaa98342fcf5aa246 and head 5d543c83139af54636b24aba3d87e6392526afb1. Media revision 9c5a99dd4335ad91d3e863d86d2b7c0d902c2629; SHA256 manifest stored alongside screenshots. No verified actionable code or visual findings. Review covers the supplied local evidence and has the device limits above.

Limitations

  • GitHub URLs are validated structurally; repository availability, visibility, and project ownership are not verified.
  • First-time posters must accept the existing commit rules through the normal web composer before posting a request.
  • Deleting a commit hides the request, but retains its project URL and metadata in owner exports until account deletion. CodeRabbit noted this as a low-risk retention divergence; no cross-account disclosure was identified.

Summary by CodeRabbit

  • New Features
    • Added a Help wanted board where visitors can browse contributor requests and filter by help type or status.
    • Signed-in users can post requests linked to GitHub repositories or issues, and request owners can mark them open or filled.
    • Added API support for listing, creating, and updating requests.
    • Contributor requests are included in private account exports.
  • Documentation
    • Documented the Help wanted board and its features.

Navigation review fixes

Commit 59f561a592ed57109c322779ff04697cc510739b addresses both initial CodeRabbit comments: guests use document-level sign-in navigation, while signed-in users retain the create-page link; Help wanted is available in the shared account menu, including the lite mobile app.

TypeScript, changed-file lint and production build pass. Headless Edge checks confirm a document navigation without an Inertia header for guest sign-in, plus account-menu access, board reload and signed-in creation links in regular and lite mobile emulation with no JavaScript errors. External OAuth was intercepted for the check, not completed.

Independent review: CODE: PASS and VISUAL: PASS for 5d543c83139af54636b24aba3d87e6392526afb1 → 59f561a592ed57109c322779ff04697cc510739b. Earlier screenshots still cover unchanged UI. Updated lite mobile account menu (390px touch emulation; no physical-device testing):

Activity

5
coderabbitai[bot]13d ago

No actionable comments were generated in the recent review.

Walkthrough

The pull request adds a contributor-request board with public listings, filters, and pagination. Signed-in users can submit requests linked to GitHub repositories or issues. Owners can mark requests open or filled. The change also adds web and API endpoints, navigation, and user-export support.

Changes: Contributor requests

Layer / File(s)Summary
Request data and status
app/Enums/ContributorHelp.php, app/Enums/ContributorRequestStatus.php, database/migrations/*contributor_requests*, app/Models/ContributorRequest.php, database/factories/ContributorRequestFactory.php
Adds help categories and request statuses, plus a UUID-backed model, database table, relationships, and factory defaults.
Request creation, listing, and updates
app/Actions/CreateContributorRequest.php, app/Actions/UpdateContributorRequest.php, app/Http/Requests/*ContributorRequestRequest.php, app/Queries/ContributorRequestsQuery.php, app/Http/Resources/ContributorRequestResource.php, app/Http/Controllers/ContributorRequestController.php, app/Http/Controllers/Api/ContributorRequestController.php, routes/web.php, routes/api.php, tests/Feature/Controllers/ContributorRequestControllerTest.php
Adds validated request creation through a commit, status updates, visibility-aware and filtered listings, web and API endpoints, and feature tests for those behaviors.
Request pages and navigation
resources/js/types/contributor-request.ts, resources/js/pages/contributor-request/*, resources/js/components/app-nav.tsx, resources/js/components/user-menu-content.tsx
Adds the request listing and creation pages, filters, pagination, owner status controls, and navigation links.
User exports and feature documentation
app/Actions/CreateExport.php, tests/Feature/Controllers/ExportControllerTest.php, tests/Feature/Controllers/ContributorRequestControllerTest.php, PRODUCT.md, KNOWLEDGE_BASE.md
Increments the export schema version and adds each user’s requests to the export. Updates export expectations and documents the feature and API endpoints.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant CreateForm
  participant CreateContributorRequestRequest
  participant ContributorRequestController
  participant CreateContributorRequest
  participant CreateCommit
  participant Database
  CreateForm->>CreateContributorRequestRequest: Submit body, project URL, and help kind
  CreateContributorRequestRequest->>ContributorRequestController: Validate request fields
  ContributorRequestController->>CreateContributorRequest: Pass authenticated user and validated fields
  CreateContributorRequest->>CreateCommit: Create commit with link previews disabled
  CreateCommit->>Database: Store commit
  CreateContributorRequest->>Database: Store associated contributor request in transaction

Suggested reviewers: xheaven, paulinevos, mnapoli

Merge Risk: Minimal · up to 59f56

This change adds a public Help wanted board with owner-only status changes, and the supplied evidence shows that authorization, moderation controls and filter pagination behave as intended. No outstanding merge-blocking issue was identified.

Pre-merge checks: 4

Check nameStatusExplanation
Description CheckCheck skipped - CodeRabbit’s high-level summary is enabled.
Title checkThe title "feat: contributor requests" names the main change: a new public Help wanted board where users post and browse contributor requests for GitHub projects, with create, list, filter, and status…
Linked Issues checkCheck skipped because no linked issues were found for this pull request.
Out of Scope Changes checkCheck skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "feat: contributor requests" names the main change: a new public Help wanted board where users post and browse contributor requests for GitHub projects, with create, list, filter, and status-update flows. It is short, specific enough for a teammate scanning history, and follows a conventional-commit style. It does not mention the export schema or navigation changes, which is acceptable because it need not cover every detail.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b1d30aa7-1faf-48b2-81d4-ad7848aa72bc
Commits

Reviewing files that changed from the base of the PR and between 6d3a957013be5a7e75cf8e7b801acbee54f07800 and 59f561a592ed57109c322779ff04697cc510739b.

Files selected for processing: 26

  • KNOWLEDGE_BASE.md
  • PRODUCT.md
  • app/Actions/CreateContributorRequest.php
  • app/Actions/CreateExport.php
  • app/Actions/UpdateContributorRequest.php
  • app/Enums/ContributorHelp.php
  • app/Enums/ContributorRequestStatus.php
  • app/Http/Controllers/Api/ContributorRequestController.php
  • app/Http/Controllers/ContributorRequestController.php
  • app/Http/Requests/CreateContributorRequestRequest.php
  • app/Http/Requests/ListContributorRequestsRequest.php
  • app/Http/Requests/UpdateContributorRequestRequest.php
  • app/Http/Resources/ContributorRequestResource.php
  • app/Models/ContributorRequest.php
  • app/Queries/ContributorRequestsQuery.php
  • database/factories/ContributorRequestFactory.php
  • database/migrations/2026_11_19_120000_create_contributor_requests_table.php
  • resources/js/components/app-nav.tsx
  • resources/js/components/user-menu-content.tsx
  • resources/js/pages/contributor-request/create.tsx
  • resources/js/pages/contributor-request/index.tsx
  • resources/js/types/contributor-request.ts
  • routes/api.php
  • routes/web.php
  • tests/Feature/Controllers/ContributorRequestControllerTest.php
  • tests/Feature/Controllers/ExportControllerTest.php

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

MrCheesie12d ago

+1

SoryAK12d ago

This is a great idea