Update Slack invite link and add redirect page#2257
Open
v0idheaven wants to merge 1 commit intojson-schema-org:mainfrom
Open
Update Slack invite link and add redirect page#2257v0idheaven wants to merge 1 commit intojson-schema-org:mainfrom
v0idheaven wants to merge 1 commit intojson-schema-org:mainfrom
Conversation
- 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
benjagm
requested changes
Feb 21, 2026
pages/slack.page.tsx
Outdated
| 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'; |
Collaborator
There was a problem hiding this comment.
Please don't use the slack invite here. The link is json-schema.org/slack. The redirection happens in cloudflare through a rule.
pages/slack.page.tsx
Outdated
| 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' |
Collaborator
There was a problem hiding this comment.
Same. Please dont use a invite link here. Redirection happens in cloudflare.
Author
There was a problem hiding this comment.
"Updated! Removed the direct Slack invite link. Thanks for the feedback!
981d82c to
19f847e
Compare
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The previous Slack invite link was outdated. Updated to the latest invite link and created a dedicated redirect page at
/slackwith 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:
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:
/slackredirect page that automatically redirects users to the Slack workspaceThis 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: