Skip to content

Update Slack invite link and add redirect page#2257

Open
v0idheaven wants to merge 1 commit intojson-schema-org:mainfrom
v0idheaven:update-slack-redirect
Open

Update Slack invite link and add redirect page#2257
v0idheaven wants to merge 1 commit intojson-schema-org:mainfrom
v0idheaven:update-slack-redirect

Conversation

@v0idheaven
Copy link

The previous Slack invite link was outdated. Updated to the latest invite link and created a dedicated redirect page at /slack with better UX - shows a loading message and fallback link in case JavaScript is disabled or redirect fails.

What kind of change does this PR introduce?
Bugfix

Issue Number:

Screenshots/videos:

image image

If relevant, did you update the documentation?
No documentation update was required for this change.

Summary

The Slack invite link on the JSON Schema website had expired. When users clicked the "Join our Slack community" link, they were redirected to a Slack error page displaying "This link is no longer active. To join this workspace, you'll need to ask the person who originally invited you for a new link." This was a frustrating experience for new contributors and community members trying to join the JSON Schema Slack workspace.

This PR fixes the issue by:

  • Updating the expired Slack invite URL to the latest working invite link
  • Creating a dedicated /slack redirect page that automatically redirects users to the Slack workspace
  • Adding a loading message so users know the redirect is in progress
  • Adding a fallback link for users who have JavaScript disabled or in case the automatic redirect fails for any reason

This approach is better than just replacing the URL because now all Slack links on the website can point to /slack, making future link updates much easier — maintainers will only need to update a single file if the invite link expires again.

Does this PR introduce a breaking change?
No, this is a straightforward non-breaking bugfix. No existing functionality is affected.

Checklist:

  • Read, understood, and followed the contributing guidelines.

- Add new redirect page at /slack that redirects to json-schema.org/slack
- The actual redirect to Slack invite is handled by Cloudflare
- Convert data/ambassadors.json from symlink to regular file to fix
  CI checkout errors on GitHub Actions

Fixes json-schema-org#2253
@v0idheaven v0idheaven requested a review from a team as a code owner February 21, 2026 11:21
@github-project-automation github-project-automation bot moved this to Ready to review in PR - Triage Group Feb 21, 2026
useEffect(() => {
window.location.href = 'https://join.slack.com/t/json-schema/shared_invite/zt-3qqs03e04-5GYqT9symTsGjon0zgRbJw';
window.location.href =
'https://join.slack.com/t/json-schema/shared_invite/zt-3qqs03e04-5GYqT9symTsGjon0zgRbJw';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please don't use the slack invite here. The link is json-schema.org/slack. The redirection happens in cloudflare through a rule.

style={{ marginLeft: '5px', color: '#0070f3', textDecoration: 'underline' }}
If you are not redirected automatically,
<a
href='https://join.slack.com/t/json-schema/shared_invite/zt-3qqs03e04-5GYqT9symTsGjon0zgRbJw'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same. Please dont use a invite link here. Redirection happens in cloudflare.

Copy link
Author

Choose a reason for hiding this comment

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

"Updated! Removed the direct Slack invite link. Thanks for the feedback!

@github-project-automation github-project-automation bot moved this from Ready to review to Changes requested in PR - Triage Group Feb 21, 2026
@v0idheaven v0idheaven force-pushed the update-slack-redirect branch 4 times, most recently from 981d82c to 19f847e Compare February 21, 2026 11:59
@github-actions
Copy link

github-actions bot commented Feb 21, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview 19f847e

@codecov
Copy link

codecov bot commented Feb 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d28a48a) to head (19f847e).
⚠️ Report is 31 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2257   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           30        30           
  Lines          640       663   +23     
  Branches       198       205    +7     
=========================================
+ Hits           640       663   +23     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@v0idheaven v0idheaven requested a review from benjagm February 21, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Changes requested

Development

Successfully merging this pull request may close these issues.

🐛 Bug: Slack invite link is expired and shows "This link is no longer active"

2 participants