Closed ponderingdemocritus closed 6 days 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 | Jun 27, 2024 9:30am |
โฑ๏ธ Estimated effort to review [1-5] | 3 |
๐งช Relevant tests | No |
๐ Security concerns | No |
โก Key issues to review |
Possible Bug: The removal of userHistory related code in useTrade.tsx and related components (MarketModal.tsx and MarketTradingHistory.tsx ) might affect features that rely on user history data. Ensure that this removal does not unintentionally impact other functionalities that might be expecting userHistory data. |
Refactoring Impact: Significant refactoring and removal of code in multiple files could lead to unintended side effects or bugs if not thoroughly tested, especially in dynamic UI components and state management logic. |
Failed to generate code suggestions for PR
PR Type
Enhancement, Dependencies
Description
useSetMarket
hook by removinguserHistory
related code and logic.MarketModal
andMarketTradingHistory
components to excludeuserHistory
.RightNavigationModule
by removing unused imports and variables.getResourceIdsFromPackedNumber
to accept a string input.@dojoengine
dependencies to version0.7.9-alpha.1
.Changes walkthrough ๐
useTrade.tsx
Simplify useSetMarket hook by removing userHistory logic
client/src/hooks/helpers/useTrade.tsx
userHistory
related code and logic.useSetMarket
hook by removing unnecessary computations.MarketModal.tsx
Update MarketModal to exclude userHistory
client/src/ui/components/trading/MarketModal.tsx
userHistory
from theuseSetMarket
hook usage.MarketTradingHistory
component usage to excludeuserHistory
.MarketTradingHistory.tsx
Simplify MarketTradingHistory component by removing userTradingHistory
client/src/ui/components/trading/MarketTradingHistory.tsx - Removed `userTradingHistory` prop and related rendering logic.
RightNavigationModule.tsx
Clean up RightNavigationModule by removing unused code
client/src/ui/modules/navigation/RightNavigationModule.tsx - Removed unused imports and variables.
realms.tsx
Refactor realm utility functions for better readability
client/src/ui/utils/realms.tsx
getRealmIdByPosition
to useObject.entries
and simplifylogic.
getRealm
.utils.tsx
Update getResourceIdsFromPackedNumber to accept string input
client/src/ui/utils/utils.tsx
getResourceIdsFromPackedNumber
to accept a string and convertit to BigInt.
package.json
Update @dojoengine dependencies to 0.7.9-alpha.1
client/package.json - Updated `@dojoengine` dependencies to version `0.7.9-alpha.1`.
pnpm-lock.yaml
Update pnpm-lock.yaml for dependency changes
pnpm-lock.yaml - Updated lock file to reflect new dependency versions.