Skip to content

Blog#463

Closed
Benjtalkshow wants to merge 19 commits into
boundlessfi:mainfrom
Benjtalkshow:blog
Closed

Blog#463
Benjtalkshow wants to merge 19 commits into
boundlessfi:mainfrom
Benjtalkshow:blog

Conversation

@Benjtalkshow

@Benjtalkshow Benjtalkshow commented Mar 9, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Enhanced hackathon submissions now display team information and submission status across project pages
    • Improved submission detection with proper navigation and routing
  • Bug Fixes

    • Refined loading states for hackathon pages and submission forms
    • Fixed HTML-to-Markdown conversion for description fields
    • Improved event handling in submission cards
  • Documentation

    • Added blog post about the Boundless on X Challenge

@vercel

vercel Bot commented Mar 9, 2026

Copy link
Copy Markdown

@Benjtalkshow is attempting to deploy a commit to the Threadflow Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Mar 9, 2026

Copy link
Copy Markdown

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

The changes introduce hackathon submission awareness across the platform, enabling projects to be rendered as submissions with proper routing and data tracking. Key improvements include updated form state handling with team data, enhanced project card rendering to distinguish submissions from regular projects, pagination in participant fetching, HTML-to-Markdown conversion in hackathon settings, and new optional context hooks for flexible component integration.

Changes

Cohort / File(s) Summary
Hackathon Submission Form & UX
app/(landing)/hackathons/[slug]/submit/page.tsx, components/hackathons/submissions/SubmissionForm.tsx, components/hackathons/submissions/submissionCard.tsx, components/hackathons/submissions/submissionTab.tsx
Staged loading gates for initial data, team data tracking in form submission, optional ExpandableScreen context support, new event handlers with proper propagation stopping, and loading guards to prevent premature UI rendering.
Project Card & Submission Display
features/projects/components/ProjectCard.tsx
New ProjectCardData type supporting submission-aware rendering; extended navigation logic to route submissions to submission-specific URLs; added submission status display logic with visual styling for Shortlisted, Submitted, Disqualified, and Submission states.
Project Listing Pages
app/me/projects/page.tsx, components/profile/ProjectsTab.tsx, components/profile/ProjectsTabPublic.tsx
Per-project submission detection logic to identify hackathon submissions; displayId derived from submission ID or project ID; updated ProjectCard payloads to include isSubmission and submissionStatus; URL generation with ?type=submission query parameter for submissions.
Data Models & Types
features/projects/types/index.ts, lib/api/types.ts
Extended PublicUserProfile with hackathonSubmissionsAsParticipant array; added projectId field to User submission type to link submissions to projects.
Hooks & Providers
hooks/hackathon/use-participants.ts, lib/providers/hackathonProvider.tsx, components/ui/expandable-screen.tsx
Replaced parallel participant fetch with sequential pagination loop (limit 100 per page); added error handling with reportError; made setCurrentHackathon async; exported useOptionalExpandableScreen hook for optional context access.
Hackathon Settings
components/organization/hackathons/settings/GeneralSettingsTab.tsx
HTML-to-Markdown normalization for description field using TurndownService with error handling.
Dependencies & Content
package.json, content/blog/what-do-you-know-about-boundless-on-x-challenge.mdx
Added turndown and @types/turndown dependencies; added new blog post about Boundless on X Challenge.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • Submission page #430 — Modifies hackathonSubmissionsAsParticipant consumption and UI wiring for submission counts in sidebar and project rendering.
  • UI fixes #454 — Touches overlapping submission files (submit page, SubmissionForm, submissionCard, hackathonProvider) with related changes to loading/flow and context behavior.
  • Fix hackathon #374 — Modifies the same use-participants.ts hook for participant data fetching.

Suggested reviewers

  • 0xdevcollins

Poem

🐰 Projects now wear submission's crown,
Their hackathon journey written down,
With pagination hops and context care,
The forms collect team names with flair,
A feature blooming, fresh and bright! 🌟

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 11.11% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title 'Blog' is vague and generic. While a blog post was added, the title doesn't convey what the blog post is about or what the primary change accomplishes. Use a more descriptive title that indicates the specific blog post content, such as 'Add blog post about Boundless on X Challenge' or similar.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

1 participant