-
Notifications
You must be signed in to change notification settings - Fork 40
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
feat: eternum update #321
feat: eternum update #321
Conversation
WalkthroughThe changes in the Changes
Possibly related PRs
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 ↗︎
|
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: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (11)
apps/nextjs/public/content/games/realms-eternum/coverImage.png
is excluded by!**/*.png
apps/nextjs/public/content/games/realms-eternum/screenshots/0.jpg
is excluded by!**/*.jpg
apps/nextjs/public/content/games/realms-eternum/screenshots/0.png
is excluded by!**/*.png
apps/nextjs/public/content/games/realms-eternum/screenshots/1.jpg
is excluded by!**/*.jpg
apps/nextjs/public/content/games/realms-eternum/screenshots/1.png
is excluded by!**/*.png
apps/nextjs/public/content/games/realms-eternum/screenshots/2.jpg
is excluded by!**/*.jpg
apps/nextjs/public/content/games/realms-eternum/screenshots/2.png
is excluded by!**/*.png
apps/nextjs/public/content/games/realms-eternum/screenshots/3.jpg
is excluded by!**/*.jpg
apps/nextjs/public/content/games/realms-eternum/screenshots/3.png
is excluded by!**/*.png
apps/nextjs/public/content/games/realms-eternum/screenshots/4.jpg
is excluded by!**/*.jpg
apps/nextjs/public/content/games/realms-eternum/screenshots/4.png
is excluded by!**/*.png
📒 Files selected for processing (1)
apps/nextjs/content/games/realms-eternum.mdoc
(2 hunks)
🔇 Additional comments (3)
apps/nextjs/content/games/realms-eternum.mdoc (3)
Line range hint 38-46
: LGTM! Clear and informative content addition
The new paragraph effectively communicates the game's unique value proposition and dynamic nature. The comparison to Civilization 6 helps set appropriate user expectations.
17-17
: Verify the chain configuration
The chain ID "420" corresponds to Optimism Goerli testnet. Please verify if this is the intended network for the game deployment.
25-29
: Verify screenshot format migration
The screenshot format has been changed from PNG to JPG. Please ensure:
- All new JPG files exist and are properly optimized
- Image quality remains acceptable after the format change
✅ Verification successful
Screenshot format change verified
The JPG files for Realms Eternum screenshots (0.jpg through 4.jpg) exist at the correct location: apps/nextjs/public/content/games/realms-eternum/screenshots/
. The format change from PNG to JPG has been properly implemented and all required files are present.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify existence and check properties of screenshot files
# Check if the new jpg files exist
for i in {0..4}; do
fd "screenshots/${i}.jpg"
done
Length of output: 204
Script:
#!/bin/bash
# Let's check if the old PNG files exist and also search for any JPG files in the repository
echo "Searching for PNG files:"
fd ".png$" screenshots/
echo -e "\nSearching for JPG files:"
fd ".jpg$" screenshots/
# Let's also check the content file to understand the context better
echo -e "\nChecking the content file:"
cat "apps/nextjs/content/games/realms-eternum.mdoc"
Length of output: 1827
Script:
#!/bin/bash
# Let's check the repository root for the actual location of screenshots
echo "Searching for any image files in the repository:"
fd -e png -e jpg -e jpeg . apps/nextjs/
# Also check public directories which commonly store assets
echo -e "\nChecking specific public directories:"
fd -e png -e jpg -e jpeg . public/
fd -e png -e jpg -e jpeg . apps/nextjs/public/
Length of output: 30452
homepage: https://eternum.realms.world/ | ||
discord: https://discord.gg/realmsworld | ||
twitter: https://twitter.com/RealmsEternum | ||
github: https://github.com/BibliothecaDAO/eternum | ||
testnet: https://eternum.realms.world | ||
testnet: https://next-eternum.realms.world/ |
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.
💡 Codebase verification
Issues found with some of the updated URLs
Based on the HTTP status codes:
- Homepage (eternum.realms.world) - ✅ Accessible (200 OK)
- Discord (discord.gg/realmsworld) -
⚠️ Redirects (301) - Twitter (twitter.com/RealmsEternum) - ❌ Forbidden (403)
- Testnet (next-eternum.realms.world) - ✅ Accessible (200 OK)
Please address:
- Twitter link returns a 403 Forbidden error, suggesting the account might not exist or is private
- Discord invite link redirects, which might indicate an expired or invalid invite
🔗 Analysis chain
Verify accessibility and validity of updated URLs
Several important links have been updated:
- Homepage moved from alpha to production
- Discord invite link changed to a general invite
- Twitter handle rebranded
- Testnet domain updated
Please ensure all links are:
- Accessible and working
- Pointing to the correct destinations
- Using HTTPS
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check URL accessibility and HTTPS
# Verify URLs are accessible and use HTTPS
for url in "https://eternum.realms.world/" "https://discord.gg/realmsworld" "https://twitter.com/RealmsEternum" "https://next-eternum.realms.world/"; do
curl -sI "$url" | head -n 1
done
Length of output: 876
Updated links, cover image, screenshots
Summary by CodeRabbit
.png
to.jpg
.