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

Inform user that platform is marked in maintenance mode #331

Conversation

ZIMkaRU
Copy link
Member

@ZIMkaRU ZIMkaRU commented Sep 20, 2023

This PR informs user that the platform is marked in maintenance mode by WS, in the framework mode


The idea is the following:

  • if an error ["error", 20060, "maintenance"] https://docs.bitfinex.com/docs/rest-general catches when fetching data from bfx api
  • send emitMaintenanceTurnedOn event by WS
  • also adds emitMaintenanceTurnedOff event which will be sent from the framework part in case maintenance mode is turned off
  • in UI if the event is gotten show a corresponding message to inform the user that some features are unavailable

Copy link
Contributor

@ezewer ezewer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

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.

3 participants