Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix]-slack 404 error #1318

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MadhavDhatrak
Copy link
Contributor

What kind of change does this PR introduce?

Bugfix--Resolves 404 errors occurring during Slack link hover and click events

Issue Number:

Screenshots/videos:

screen-recording-2025-01-17-152239_IUW5TLFj.mp4

Community page:
Screenshot 2025-01-17 125902

If relevant, did you update the documentation?

No documentation updates needed as this is a bugfix for internal routing behavior
Summary

This PR fixes two issues with the Slack join links:

Eliminates 404 errors appearing in the console when:

  • Hovering over Slack links (prefetch errors)
  • Clicking Slack links (routing errors)

Improves external link handling by:

  • Replacing Next.js Link components with proper tags
  • Adding security attributes (target="_blank"`, `rel="noopener noreferrer")

Changes made:

  • Updated Slack links in pages/index.page.tsx
  • Updated Slack links in community/index.pages.tsx

Does this PR introduce a breaking change?

No

@MadhavDhatrak MadhavDhatrak requested a review from a team as a code owner January 17, 2025 10:40
Copy link

github-actions bot commented Jan 17, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview 16e66aa

Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (e181398) to head (16e66aa).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1318   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          373       373           
  Branches        94        94           
=========================================
  Hits           373       373           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MadhavDhatrak
Copy link
Contributor Author

@DhairyaMajmudar review the changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant