Yet-Zio / yetCalc

Yet another calculator designed and developed for Android
BSD 3-Clause "New" or "Revised" License
221 stars 17 forks source link

Enhacement request: currency converter #77

Open duvjones opened 1 year ago

duvjones commented 1 year ago

I was just wondering if something with the currency converter can be improved. The listings of currencies is rather long, and it would be rather nice if a preset of commonly used currencies can be kept to the top of that list. Around 5 entries would be nice.

inson1 commented 1 year ago

Why not sort by market capitalization? But that isnt accurate, I guess. 🤔

Or just pinned them to top. With no default maybe? What should be pinned from the start?

First few links from google https://coinmarketcap.com/fiat-currencies https://fiatmarketcap.com/ https://portalcripto.com.br/en/cryptocurrencies/bitcoin-vs-fiat-currency-market-cap/

I think there could be also text box with filtering, so you can find it easier.

duvjones commented 1 year ago

Pinning the commonly used currencies would be a help. I am not so sure about having a default because... I use CAD alot (living their) that is something that doesn't usual bode well for quick usage.

inson1 commented 1 year ago

I meant to have in default pinned few the most used currencies, that could be unpinned. Lets say CNY, USD, EUR, JPY, GBP

That would be enough for most people. Rest can just edit it. - drag and drop to change order + add and delete

And I think there shouldnt be max number of pinned currencies.

Yet-Zio commented 1 year ago

I understand that the current listings of currencies can be quite extensive, and having a preset of commonly used currencies at the top of the list would be a helpful enhancement. Both of your ideas are pretty good, this was also previously requested in #46 . I will also add a search option to make it more convenient along with the pins. That would solve most of the issues with the large entries, though I don't get that much time to focus on both yetCalc and college nowadays lol.

Yet-Zio commented 1 year ago

I have added a search feature in the new release. Please check it out. :) Also the API has been changed to https://github.com/fawazahmed0/currency-api since exchangerate.host has been bought by APILayer which makes it no longer fully free, has rate limits.