Closed ponderingdemocritus closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
eternum | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 15, 2024 7:56pm |
eternum-docs | ❌ Failed (Inspect) | Nov 15, 2024 7:56pm | ||
eternum-landing | ❌ Failed (Inspect) | Nov 15, 2024 7:56pm |
You are out of MentatBot reviews. Your usage will refresh November 18 at 08:00 AM.
[!CAUTION]
Review failed
The pull request is closed.
This pull request introduces modifications across several components and constants in the codebase. Notably, the BaseContainer
component gains a new optional property scrollbarSide
, allowing for customizable scrollbar positioning. The styling of the BaseContainer
is enhanced in both the left and right navigation modules, adding rounded corners and borders. Additionally, various constants related to resource production and troop food consumption are adjusted, affecting gameplay dynamics and resource allocation.
File Path | Change Summary |
---|---|
client/src/ui/containers/BaseContainer.tsx | Added optional property scrollbarSide to BaseContainerProps . Modified className in BaseContainer . |
client/src/ui/modules/navigation/LeftNavigationModule.tsx | Updated BaseContainer styling to include rounded corners and borders. No changes to logic. |
client/src/ui/modules/navigation/RightNavigationModule.tsx | Enhanced BaseContainer styling with rounded corners and borders. No changes to logic. |
sdk/packages/eternum/src/constants/global.ts | Updated several constants: HYPERSTRUCTURE_POINTS_PER_CYCLE , HYPERSTRUCTURE_POINTS_ON_COMPLETION , STARTING_RESOURCES_INPUT_PRODUCTION_FACTOR , and mercenary upper bounds. |
sdk/packages/eternum/src/constants/quests.ts | Modified resource amounts for various quest types, including increases and new assignments. |
sdk/packages/eternum/src/constants/resources.ts | Adjusted output values for resources and significantly reduced input amount for Donkey . |
sdk/packages/eternum/src/constants/troops.ts | Increased food consumption values for Paladin , Knight , and Crossbowman . |
client/src/hooks/context/policies.tsx | Removed double quotes around keys in policies array, preserving structure and content. |
client/src/three/sound/utils.ts | Simplified assignment in playBuildingSound function without altering logic. |
client/src/ui/components/bank/LiquidityTable.tsx | Reformatted filtering logic for filteredResources for improved readability. |
landing/schema.graphql | Updated ModelUnion definition by removing leading pipe from eternum_AcceptOrder . |
BaseContainer
className are directly related to the main PR.useStructureEntityId
hook may relate to UI management aspects.EntityResourceTable
, which may interact with the BaseContainer
.🐇 In the code, we hop and play,
With scrollbars now in a new way.
Borders round, a golden gleam,
In the UI, we build our dream!
Resources shift, and troops consume,
In this world, we all shall bloom! 🌼
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?
Failed to generate code suggestions for PR
Summary by CodeRabbit
Release Notes
New Features
scrollbarSide
for customizable scrollbar positioning in the UI.Enhancements
Bug Fixes
These updates aim to enhance user experience through improved aesthetics and balanced gameplay mechanics.