remove unmaintained mastodon link from footer (#7873)#8902
Conversation
Signed-off-by: Elure <ioumih32@gmail.com>
Signed-off-by: Elure <ioumih32@gmail.com>
Signed-off-by: Elure <ioumih32@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview Adds a Node test ( Reviewed by Cursor Bugbot for commit 3f6cf28. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Pull request overview
Removes an unmaintained Mastodon profile reference from the site’s footer/navigation config and from the root layout, and adds a regression test to prevent reintroducing the retired URL.
Changes:
- Removed the Mastodon entry from
apps/site/navigation.jsonsocial links (footer icons/links). - Removed the hidden
rel="me"Mastodon anchor from the root layout. - Added a unit test ensuring the retired URL is not present in navigation config or the root layout.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| apps/site/util/tests/navigation.test.mjs | Adds regression assertions preventing the retired Mastodon URL from returning in navigation or layout. |
| apps/site/navigation.json | Removes the Mastodon social link entry from socialLinks. |
| apps/site/app/[locale]/layout.tsx | Removes the hidden rel="me" link pointing to the retired Mastodon profile. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This closes #7873.
Description
rel="me"Mastodon reference from the root layoutValidation
pnpm formatpassespnpm testpassespnpm buildpassesnode --test apps/site/util/__tests__/navigation.test.mjspassesgit diff --checkpasseshttps://social.lfx.dev/@nodejspnpm buildprints an existing Next.js warning about the deprecatedmiddlewarefile convention, but the build completes successfullyCheck List
pnpm formatto ensure the code follows the style guide.pnpm testto check if all tests are passing.pnpm buildto check if the website builds without errors.