Skip to content

fix(widget): correct broken navigation routes in recommendation widget cards#690

Open
just-tanvi wants to merge 1 commit into
devpathindcommunity-india:masterfrom
just-tanvi:fix-recommendation-links
Open

fix(widget): correct broken navigation routes in recommendation widget cards#690
just-tanvi wants to merge 1 commit into
devpathindcommunity-india:masterfrom
just-tanvi:fix-recommendation-links

Conversation

@just-tanvi

Copy link
Copy Markdown

Problem

Several recommendations generated by the recommendation system (surfaced through NextBestActionWidget.tsx) linked to non-existent pages (e.g. /projects, /open-source/issues, /pathways, etc.), resulting in 404 page-not-found errors when clicked.

Solution

  • Audited the filesystem and mapping routes under src/app/ to identify all valid destinations.
  • Updated the recommendation objects in src/utils/recommendations.ts to link to correct existing routes (e.g. /paths, /opensource, /community, and /resources?open=internship-calendar) while preserving the original user intent.
  • Solved E2E strict-mode selector conflicts in login.spec.ts and roadmap.spec.ts to ensure full test suite validation passes.

Verification Results

  • E2E Tests: npm run test:e2e passed successfully (28/28 tests passed).
  • Unit Tests: npm test passed successfully (19/19 tests passed).
  • TypeScript & Production Build: npm run build compiled successfully.

closes #685

@github-actions github-actions Bot added gssoc26 This is a official GirlScript Summer of Code label. level:intermediate Intermediate level issues type:bug type:support labels Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc26 This is a official GirlScript Summer of Code label. level:intermediate Intermediate level issues type:bug type:support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Broken Navigation Links / 404 Routes in Personalised Recommendation Actions (NextBestActionWidget)

1 participant