-
Notifications
You must be signed in to change notification settings - Fork 427
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
Transfer modal: status indicator #789
Comments
Our current solution: We'd like to add this to our app at the right moment in user workflow. Though we may want to use a more specific query, see: Perhaps: |
Tips/GameplanQueryIn the stores package, add a new query object here: osmosis-frontend/packages/stores/src/queries-external/store.ts Lines 11 to 19 in 2d5027e
It should extend a HasMapStore (example) mapping counterPartyChainId -> ObservableQueryIbcStatus , perhaps called ObservableQueryIbcStatuses . See ObservableQueryPoolFeesMetrics class for an example of querying external APIs as mobx stores. The store you implement for a single counterparty status should contain a computed property that reads the query result and returns a nice high-level type that returns the state of the current channel, such as Congested or Blocked (could be string literals: example). The root map store may need to accept parameters (with defaults) to define the number of pending transactions for any channel to be considered congested and blocked. It will pass this info to the mapped stores.
View
|
Problem
IBC status indicators on info.osmosis.zone are useful, but not easily discoverable because they're accessed offsite.
Solution
Implement "just-in-time" ibc status indicators on the transfer modal:
https://www.figma.com/file/qze5yJO9TEw7vysInR07Ui?node-id=1832:113709#262708753
The text was updated successfully, but these errors were encountered: