Closed 0xdef1cafe closed 1 year ago
Latest commit: |
5978a6e
|
Status: | ✅ Deploy successful! |
Preview URL: | https://4454269f.web-29e.pages.dev |
converting to draft until @stackedq is able to look at currency formatting and chart issues
https://discord.com/channels/554694662431178782/984598894883250226
Question from @stackedq:
GM y'all, Multi currency support (https://github.com/shapeshift/web/pull/1873) needs some decisions on the way forward, currently the browser locale remains as "en-US" no matter which language or currency is selected, this introduce a problem where numbers are always shown like 1,234.56 instead of 1.234,56 which is the standard format for some locales out there. there are three ways we can make this:
Product's answer: Can we give users the following settings?
@willyogo definitely, is there any UI design in your mind for number format selection?
update on this PR - the currency formatting issue on charts is fixed, and i can't see any chart regressions with this flag on and USD selected, or with the flag off.
@stackedq has implemented currency selection in the settings modal, i think we can merge this with the flag off, and tackle multi currency trade support in a separate PR, then get the flag on and feature released.
next issue to implement trade support https://github.com/shapeshift/web/issues/1995
@stackedq Some more conflicts after https://github.com/shapeshift/web/pull/2116 has been merged
Fixed the conflicts with my new defi ui stuff, a lot of it isn't needed anymore since we let the amount component do the heavy lifting.
@stackedq I do have a suggestion on the currency selection, can we not sort the list on click? I'm fine with it being sorted on mount, but its really weird that it jumps the item to the top when you make a selection. Same goes for the currency format selection.
@reallybeard changed some code to achieve the UX you described, please take a look to see if you're happy with the results.
Given the high risk of this, let's get @shapeshift/operations to test the Fleek branch
Looks good @stackedq working really nice!
going to merge this for the following reasons
Description
Notice
Pull Request Type
Issue (if applicable)
wip
Risk
significant - touches pretty much everything.
Testing
full regression test of the app with the flag OFF (default) required
Screenshots (if applicable)
no visual changes should be present