bunqCommunity / bunqDesktop

The unofficial, free and open source desktop application for the bunq API
https://bunqdesk.top
MIT License
272 stars 52 forks source link

use payment categories from api response #568

Open RokkuCode opened 4 years ago

RokkuCode commented 4 years ago

Describe the requested feature:

Currently there is no sync between the categories set in the app and the bunq desktop. so i have to tag the payments twice: in the app and in bunq desktop. the category is extractable from the api:

https://together.bunq.com/d/25419-payment-category-available-via-api

please add the feature to use the categories already set in app in bunqdesktop.

firstred commented 4 years ago

Thank you very much for opening this issue! This one's been on my mind for a while but I haven't figured out a really good way to synchronize them, yet.

I can confirm that we can read the categories from the API, but what should we do with existing categories already defined in the app? Force the user to link all these existing categories to the new API categories? Ignore the API categories of which a match has been found already? If you happen to have more input, I'd love to hear from you! This goes for everyone reading this topic!

brianveltman commented 4 years ago

I would suggest mapping any categories from the API to the existing BunqDesktop categories. If a category from the API does not exist in BD then just create it. For the remaining BD categories, users can decide if they want to continue using them or not.

RokkuCode commented 4 years ago

i second that, but i would ask the user if the category should created with the same name or a different one. store this mapping so the user can change it later.