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

⚡[FEAT] Improve page load times #120

Closed
whoabuddy opened this issue Dec 6, 2021 · 1 comment
Closed

⚡[FEAT] Improve page load times #120

whoabuddy opened this issue Dec 6, 2021 · 1 comment
Labels
Enhancement New feature or request

Comments

@whoabuddy
Copy link

Is your feature request related to a problem? Please describe.

Possibly related to work in #102, currently the user has to go through the following every time they load the overall page for a CityCoin:

  • verify contract is initialized
  • verify contract is activated
  • then update data about the contract

The first two actions require separate API calls, and if there is any delay it flashes the incorrect state. These values should be hardcoded in the config with the API calls as a backup if they are not set.

Describe the solution you'd like

Boolean values for initialized and activated could be added here:

https://github.com/citycoins/citycoin-ui/blob/e7b1acfdb28643c247c2a0bba4cad46315e5f8ec/src/store/miami.js#L16-L22

Describe alternatives you've considered

None.

Additional context

None.

@whoabuddy whoabuddy added the Enhancement New feature or request label Dec 6, 2021
@whoabuddy
Copy link
Author

Fixed in #130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant