Open alex-nax opened 4 days ago
[!IMPORTANT]
Review skipped
Draft detected.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
The recent updates across the spaceward
project include significant refactoring and enhancement of multiple files. Key changes involve restructuring function calls, modifying status values, refining data processing logic, and enhancing date handling and formatting in Actions.tsx
. Additionally, new components and handlers for Cosmos assets were introduced, functionality for querying Cosmos balances added, restructured pagination and UI text in the dashboard, and moving transaction building logic to a new utility file for better modularity.
File(s) | Change Summary |
---|---|
spaceward/src/features/actions/Actions.tsx , dashboard/Actions.tsx |
Refactored action status handling, data processing, date formatting, and display logic. Added pagination limit. |
spaceward/src/features/assets/CosmosAssetHandler.tsx |
Introduced new ChainProvider and CosmosAssetHandler components for managing Cosmos RPC endpoints. |
spaceward/src/features/assets/queries.ts |
Added new function for querying Cosmos balances and updated token entries. |
spaceward/src/features/assets/types.ts |
Defined new CosmosQueryClient type, extended BalanceEntry interface, and added a new type. |
spaceward/src/features/modals/SendAssets.tsx , util.ts |
Moved buildTransaction function to a new file for better modularity. |
spaceward/src/pages/Assets.tsx |
Added CosmosAssetHandler component to the AssetsPage . |
[!TIP]
Early access features: enabled
We are currently testing the following features in early access: - **OpenAI `gpt-4o` model for code reviews and chat**: OpenAI claims that this model is better at understanding and generating code than the previous models. We seek your feedback over the next few weeks before making it generally available. Note: - You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file. - Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide feedback and report issues. - OSS projects are currently opted into early access features by default.
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?
Hey @alex-nax and thank you for opening this pull request! 👋🏼
It looks like you forgot to add a changelog entry for your changes. Make sure to add a changelog entry in the 'CHANGELOG.md' file.
fetch osmosis balances
Summary by CodeRabbit
New Features
CosmosAssetHandler
component for handling Cosmos chain assets.cosmosBalancesQuery
function for querying Cosmos balances.Enhancements
Refactor
buildTransaction
function to a newutil.ts
file for better modularity.Chores