fix: update in the wild link on community page - #43403
Conversation
Code Review Agent Run #38aee8Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| }, | ||
| { | ||
| url: 'https://github.com/apache/superset/blob/master/RESOURCES/INTHEWILD.md', | ||
| url: 'https://superset.apache.org/inTheWild/', |
There was a problem hiding this comment.
Suggestion: The internal page is hard-coded to the production origin, so the community card on local development servers, preview deployments, and alternate hosted environments sends users to the production site instead of that environment's inTheWild page. Use a site-relative Docusaurus URL so the link follows the current deployment. [api mismatch]
Severity Level: Minor 🧹
- ⚠️ Local development links leave the active site.
- ⚠️ Preview users cannot verify the Organizations destination locally.
- ⚠️ Alternate hosted deployments display production content instead.Prompt for AI Agent 🤖
This is a comment left during a code review.
**Path:** docs/src/pages/community.tsx
**Line:** 70:70
**Comment:**
*Api Mismatch: The internal page is hard-coded to the production origin, so the community card on local development servers, preview deployments, and alternate hosted environments sends users to the production site instead of that environment's `inTheWild` page. Use a site-relative Docusaurus URL so the link follows the current deployment.
Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix|
The flagged issue is correct. Hard-coding the production origin prevents the link from working correctly in local, preview, or alternate environments. To resolve this, you should use a site-relative path. Based on the provided context, you can update the URL to a relative path like '/inTheWild/'. docs/src/pages/community.tsx |
SUMMARY
On the community page, the in the wild link goes to an old github page that has been deleted. This is to point it back to the correct community page
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION