Skip to content
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

frontend multi-chain multi-agent support #434

Draft
wants to merge 218 commits into
base: feat/multi-chain-support-middleware
Choose a base branch
from

Conversation

truemiller
Copy link
Collaborator

Proposed changes

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

truemiller and others added 30 commits November 5, 2024 11:10
…act and prompt them to switch (#421)

* fix: improve error messages in AgentButton component

* feat: add NoAvailableSlotsOnTheContract component

* feat: integrate NoAvailableSlotsOnTheContract component and enhance service slot checks

* feat: implement useCanStartUpdateStakingContract hook and update related components

* feat: add available slots display and max-width styling to StakingContractDetails

* feat: add POPOVER_WIDTH_LARGE constant and apply max-width styling to CountdownUntilMigration component

* fix: correct spelling of 'occurred' in error notifications in AgentButton component

* refactor: rename useCanStartUpdateStakingContract hook to useCanUpdateStakingContract and update related components

* feat: update StakingContractUpdate and NoAvailableSlotsOnTheContract components to accept stakingProgramId prop and remove useCanUpdateStakingContract hook

* chore: bump version to 0.1.0-rc186 in package.json and pyproject.toml
…are' into feat/allow-multiple-services-middleware
…act and prompt them to switch (#421) (#423)

* fix: improve error messages in AgentButton component

* feat: add NoAvailableSlotsOnTheContract component

* feat: integrate NoAvailableSlotsOnTheContract component and enhance service slot checks

* feat: implement useCanStartUpdateStakingContract hook and update related components

* feat: add available slots display and max-width styling to StakingContractDetails

* feat: add POPOVER_WIDTH_LARGE constant and apply max-width styling to CountdownUntilMigration component

* fix: correct spelling of 'occurred' in error notifications in AgentButton component

* refactor: rename useCanStartUpdateStakingContract hook to useCanUpdateStakingContract and update related components

* feat: update StakingContractUpdate and NoAvailableSlotsOnTheContract components to accept stakingProgramId prop and remove useCanUpdateStakingContract hook

* chore: bump version to 0.1.0-rc186 in package.json and pyproject.toml

Co-authored-by: Josh Miller <[email protected]>
mohandast52 and others added 30 commits November 13, 2024 17:36
* feat: add BACKEND_URL_V2 for versioned API endpoint

* feat: implement support for versioned API and chain-specific service configurations

* chore: remove commented-out deployment methods from Services.ts

* feat: update service fetch URLs to use BACKEND_URL_V2 for consistency

* feat: refactor service handling to use service_config_id instead of hash

* feat: update types for MiddlewareServiceResponse and ServiceTemplate to include new fields and improve structure

* refactor: remove unused types and update service_config_id references in ServiceTemplate

* Update frontend/constants/serviceTemplates.ts

Co-authored-by: Josh Miller <[email protected]>

---------

Co-authored-by: Josh Miller <[email protected]>
…dleware' into chore/merge-latest-middleware-branch
…dleware' into chore/merge-latest-middleware-branch
…-branch

Merge latest into frontend refactor branch
Optimistic Services refactor, and small QoL changes to AgentButton, numberFormatters
* refactor: update staking rewards info retrieval to use AGENT_CONFIG

* refactor: enhance RewardProvider to utilize react-query for rewards data fetching

* refactor: update RewardProvider to use dynamic agent and chain selection for rewards fetching

* refactor: update RewardProvider and react-query keys for dynamic rewards fetching

* refactor: improve RewardProvider logic for storing first staking reward and refreshing rewards data

* refactor: update StakingRewardsInfo to use Zod schema for validation and enhance query logic
Refactoring wallets provider & hooks (was required for Balance provider refactor)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants