Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Profile: warn a user that stats is available in the Mainnet only #1512

Closed
elena-zh opened this issue Oct 5, 2021 · 5 comments · Fixed by #1714
Closed

Profile: warn a user that stats is available in the Mainnet only #1512

elena-zh opened this issue Oct 5, 2021 · 5 comments · Fixed by #1714
Assignees
Labels
app:CowSwap CowSwap app Enhancement New feature or request Medium Severity indicator. It causes some undesirable behavior, but the system is still functional Protofire Handled by Protofire development team

Comments

@elena-zh
Copy link

elena-zh commented Oct 5, 2021

Related to #1506
Currently, nothing is displayed in the stats when a user is connected to Rinkeby/XDAI, as the stats is available in the Mainnet only.
It would be nice to show a warning to a user about it.
warning.jpg

@elena-zh elena-zh added app:CowSwap CowSwap app Protofire Handled by Protofire development team Enhancement New feature or request Medium Severity indicator. It causes some undesirable behavior, but the system is still functional labels Oct 5, 2021
@elena-zh
Copy link
Author

As another option, gray out the page area and show this warning when a user is connected to another but Mainnet network

@elena-zh
Copy link
Author

Hey @alfetopito , could we please include this issue into the scope of #1575 task?

@alfetopito alfetopito mentioned this issue Oct 25, 2021
25 tasks
@alfetopito
Copy link
Contributor

Done!

@elena-zh
Copy link
Author

elena-zh commented Oct 27, 2021

Sone notes:
As an easiest option, I can suggest adding a banner like we do for the whole affiliate process in #1675 .
Something like 'Profile page data is available it Mainnet only. Please change the network to see it.' or so.
Show this banner when user opens 'Profile' page only when connected to Rinkeby/XDAI

Close this banner when a user:

  • goes to another page
  • switches to the Mainnet
  • closes this banner manually

@ramirotw ramirotw self-assigned this Oct 28, 2021
@alongoni alongoni linked a pull request Oct 28, 2021 that will close this issue
@ramirotw
Copy link
Contributor

ramirotw commented Nov 4, 2021

Closed by #1714

@ramirotw ramirotw closed this as completed Nov 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
app:CowSwap CowSwap app Enhancement New feature or request Medium Severity indicator. It causes some undesirable behavior, but the system is still functional Protofire Handled by Protofire development team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants