Skip to content

fix(reviewform): route wall of love testimonial submissions#5973

Open
NayansiDupare wants to merge 1 commit into
JhaSourav07:mainfrom
NayansiDupare:fix/wall-of-love-review-form
Open

fix(reviewform): route wall of love testimonial submissions#5973
NayansiDupare wants to merge 1 commit into
JhaSourav07:mainfrom
NayansiDupare:fix/wall-of-love-review-form

Conversation

@NayansiDupare

Copy link
Copy Markdown
Contributor

Description

##profram-gssoc26
Fixes #5907

Added a working /reviewform route for the Wall of Love section so users no longer get a 404 after clicking Share Your Experience. The new page lets users submit testimonial details through a prefilled GitHub issue flow for maintainer review.

Pillar

  • 🛠️ Other (Bug fix, refactoring, docs)

Visual Preview

Not applicable; this fixes a homepage CTA route and testimonial submission page, not SVG output.

Test plan

  • npm run lint
  • npm run format:check
  • npm run test -- "components/WallOfLove.test.tsx" "app/reviewform/page.test.tsx"

Note: Full npm run test was attempted, but unrelated app/components/navbar.test.tsx tests stalled with jsdom navigation timeout warnings before completing.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

@NayansiDupare is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ff3d39c9ba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/reviewform/page.tsx

// ── Types ─────────────────────────────────────────────────────────────────────
type Platform = 'twitter' | 'github';
const TESTIMONIAL_ISSUE_URL = 'https://github.com/JhaSourav07/commitpulse/issues/new';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use a permitted issue template for testimonials

When a normal visitor submits this new form, it redirects to GitHub's blank issue URL, but this repo has blank issues disabled in .github/ISSUE_TEMPLATE/config.yml:1 and only bug/feature issue forms are available. That means the prefilled testimonial title/body cannot be submitted as intended; users are sent to the issue-template chooser/blocked blank issue flow instead. Point this URL at an allowed testimonial template or re-enable blank issues before routing submissions this way.

Useful? React with 👍 / 👎.

@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

Asset PR Size Base Size Difference Status
static/chunks/app/reviewform/page-[hash].js 1.92 KB 4.07 KB -2.15 KB (-52.83%) 🟢 Improvement
static/css/[hash].css 35.86 KB 36.10 KB -0.24 KB (-0.66%) 🟢 Improvement

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 3620.48 KB 3628.47 KB -7.99 KB (-0.22%)
Total CSS 283.52 KB 284.92 KB -1.40 KB (-0.49%)

@github-actions github-actions Bot added the type:bug Something isn't working as expected label Jun 18, 2026
@Aamod-Dev Aamod-Dev added level:intermediate Moderate complexity tasks quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. mentor:Aamod007 labels Jun 20, 2026

@Aamod-Dev Aamod-Dev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good fix for the /reviewform route in �pp/reviewform/page.tsx - replaces broken API-submission form with a working GitHub-issue-based submission flow. Refactors from complex client-side state management to a clean �uildTestimonialIssueUrl function. Adds proper test coverage in �pp/reviewform/page.test.tsx and updates components/WallOfLove.test.tsx. Good intermediate-level bug fix.

@Aamod-Dev Aamod-Dev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review

This PR cannot be approved in its current state due to blocking issues (status:blocked label, merge conflicts, needs-rebase label, and/or failing CI checks). Please resolve the blocking issues and re-request review.

Once unblocked, I'm happy to re-review! 💚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:needs-rebase level:intermediate Moderate complexity tasks mentor:Aamod007 quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: "Share Your Experience →" link in Wall of Love section returns 404

3 participants