-
Notifications
You must be signed in to change notification settings - Fork 522
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: update references from twitter.com to x.com #2199
fix: update references from twitter.com to x.com #2199
Conversation
|
📝 Walkthrough📝 WalkthroughWalkthroughThe pull request involves updating various instances of URLs in the codebase from "twitter.com" to "x.com" to reflect the rebranding of Twitter to X. This includes changes in multiple files such as comments, quotes in components, documentation, and configuration files. No alterations to the logic or structure of the code are present, ensuring that functionality remains intact. Changes
Assessment against linked issues
Suggested labels
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@Vardhaman619 is attempting to deploy a commit to the Unkey Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for following the naming conventions for pull request titles! 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (3)
apps/www/content/changelog/2023-07-21.mdx (1)
Line range hint
13-65
: New content looks good, minor suggestion for improvementThe new sections "Usage based invalidation" and "Update your keys" are well-written and provide valuable information about the new features. The code examples are clear and helpful.
Consider adding a brief explanation of the
remaining
property in the "Update your keys" section, similar to how it's explained in the "Usage based invalidation" section. This would provide consistency across the changelog entries.apps/www/app/changelog/page.tsx (1)
79-81
: LGTM! Consider updating the button label for consistency.The URL update from "twitter.com" to "x.com" is correct and aligns with the PR objectives. Good job on maintaining the
target="_blank"
andrel="noreferrer"
attributes for security and user experience.For complete consistency, consider updating the button label from "Follow us on X" to "Follow us on 𝕏" (using the official 𝕏 symbol). This would align perfectly with the platform's new branding. Here's a suggested change:
- <RainbowDarkButton label="Follow us on X" IconRight={ArrowRight} /> + <RainbowDarkButton label="Follow us on 𝕏" IconRight={ArrowRight} />apps/dashboard/app/auth/layout.tsx (1)
Line range hint
25-25
: Update remaining Twitter URLs to X.comWhile the
source
fields have been updated, there are stillhref
fields in thequotes
array that usetwitter.com
. To maintain consistency, please update the followinghref
fields:
- Rick Blalock's quote (around line 25)
- Tanmay's quote (around line 47)
- Lola's quote (around line 57)
Example of the change needed:
- href: "https://twitter.com/rblalock", + href: "https://x.com/rblalock",Please make similar changes for the other two instances.
Also applies to: 47-47, 57-57
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (9)
- apps/api/src/pkg/metrics/axiom.ts (1 hunks)
- apps/dashboard/app/auth/layout.tsx (2 hunks)
- apps/docs/introduction.mdx (1 hunks)
- apps/docs/mint.json (1 hunks)
- apps/engineering/mint.json (1 hunks)
- apps/www/app/changelog/page.tsx (1 hunks)
- apps/www/components/changelog/changelog-grid-item.tsx (1 hunks)
- apps/www/content/blog/how-unkey-treats-marketing.mdx (2 hunks)
- apps/www/content/changelog/2023-07-21.mdx (1 hunks)
✅ Files skipped from review due to trivial changes (4)
- apps/api/src/pkg/metrics/axiom.ts
- apps/docs/introduction.mdx
- apps/docs/mint.json
- apps/www/content/blog/how-unkey-treats-marketing.mdx
🔇 Additional comments (7)
apps/engineering/mint.json (1)
60-60
: LGTM: Twitter URL successfully updated to X.comThe change from "https://twitter.com/unkeydev" to "https://x.com/unkeydev" is correct and aligns with the PR objectives. This update accurately reflects the rebranding of Twitter to X.
Let's verify if there are any remaining instances of "twitter.com" in the repository:
✅ Verification successful
Verified: No remaining instances of "twitter.com" found
All occurrences of "twitter.com" have been successfully updated to "x.com", aligning with the PR objectives.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Search for any remaining instances of "twitter.com" in the repository # Test: Search for "twitter.com" in all files. Expect: No results. rg --type-not binary "twitter\.com"Length of output: 68
Script:
#!/bin/bash # Description: Search for any remaining instances of "twitter.com" in the repository rg "twitter\.com"Length of output: 19
apps/www/content/changelog/2023-07-21.mdx (2)
68-68
: LGTM: Twitter link updated to X.comThe change from Twitter to X.com has been correctly implemented, aligning with the PR objective.
Line range hint
1-70
: Changelog structure and formatting are appropriateThe overall structure and formatting of the changelog are consistent and well-organized. The use of Markdown for headings, code blocks, and links is correct and enhances readability.
apps/www/components/changelog/changelog-grid-item.tsx (1)
65-65
: LGTM! URL updated correctly.The change from
twitter.com
tox.com
in the share URL is correct and aligns with the PR objectives. The URL structure is maintained, which should preserve the functionality.To ensure consistency across the codebase, let's verify the
XShareButton
component:apps/dashboard/app/auth/layout.tsx (3)
44-44
: LGTM: Twitter URL updated to X.comThe URL has been correctly updated from
twitter.com
tox.com
for Tanmay's quote, aligning with the PR objectives.
53-53
: LGTM: Twitter URL updated to X.comThe URL has been correctly updated from
twitter.com
tox.com
for Lola's quote, aligning with the PR objectives.
Line range hint
1-1
: Verify all instances of 'twitter.com' have been updatedWhile the changes in this file are correct, it's important to ensure that all instances of
twitter.com
throughout the entire codebase have been updated tox.com
. Consider running a comprehensive search across all files to catch any remaining occurrences.✅ Verification successful
All 'twitter.com' instances have been successfully updated to 'x.com'.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Search for any remaining instances of 'twitter.com' in the codebase echo "Searching for remaining 'twitter.com' instances:" rg --type-not svg 'twitter\.com' -g '!package-lock.json' # Count the occurrences count=$(rg --type-not svg 'twitter\.com' -g '!package-lock.json' -c | awk -F ':' '{sum += $2} END {print sum}') echo "Total occurrences found: $count" if [ "$count" -eq 0 ]; then echo "All 'twitter.com' instances have been updated successfully." else echo "Please review and update the remaining instances." fiLength of output: 556
Script:
#!/bin/bash # Search for any remaining instances of 'twitter.com' in the codebase echo "Searching for remaining 'twitter.com' instances:" rg --type-not svg 'twitter\.com' -g '!package-lock.json' # Count the occurrences count=$(rg --type-not svg 'twitter\.com' -g '!package-lock.json' -c | awk -F ':' '{sum += $2} END {print sum}') # If count is empty, set it to 0 count=${count:-0} echo "Total occurrences found: $count" if [ "$count" -eq 0 ]; then echo "All 'twitter.com' instances have been updated successfully." else echo "Please review and update the remaining instances." fiLength of output: 511
Please resolve the merge conflict, /apps/engineering/mint.json should be deleted |
why do you delete files in apps/engineering? |
@chronark I attempted to resolve the merge conflicts, but I seem to have made some unintended changes, particularly regarding the deletion of files in the /apps/engineering/ directory. Could you please guide me on what steps I missed or clarify which files exactly should remain or be deleted? I will make the necessary corrections promptly. |
Essentially this PR should not delete any files |
This reverts commit e1d4f44.
@@ -166,7 +166,7 @@ Before you get upset, the community needs these events. They are the lifeblood o | |||
|
|||
- Frontend Horse Christmas Spectacular | |||
- Github projects | |||
- Twitter Guesser game show... Which was hilarious. | |||
- X(Twitter) Guesser game show... Which was hilarious. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment
@perkinsjr Could you please take a look at this PR |
there are merge conflicts |
@chronark / @perkinsjr Could you please take a look at this PR |
Awarding Vardhaman619: 150 points 🕹️ Well done! Check out your new contribution on oss.gg/Vardhaman619 |
What does this PR do?
This PR updates all references from
twitter.com
tox.com
in the codebase.Fixes #2198
Type of change
How should this be tested?
To verify the changes, please perform the following steps:
twitter.com
to ensure all have been updated tox.com
.Checklist
Required
pnpm build
pnpm fmt
console.logs
git pull origin main
Appreciated
Summary by CodeRabbit
Release Notes
New Features
Updates
Bug Fixes