Open joebew42 opened 6 years ago
Hey @joebew42 thanks for reaching out. I'd be pleased to have another contributor 👍
So my initial goal with the categorization was to have an idea of how the expenses are distributed. For instance:
These stats could be put on the "All payments" page, and later this could also be used to personalize the messages on emails and monthly pagination.
What do you think?
Hey, perfect! In the meantime I'm trying to get the application up and running. I see that there are a few enhancements we can add in order to help people with the onboarding process (setup, seed, etc ...) for the development.
As soon as I am ready I will back to you to ask further details about this feature, ok? Do you have a gitter channel for this project? A place where we can chat about it could be useful. What do you think?
Hi @joaquimadraz ,
I just had the time to run the application on my local machine and play with it a little bit. I am here to ask you some questions.
category
for each payment entry? Like the simple mock up that you can find below?If yes, where we can start with? Can we consider to add a free editable input text box? Or, we may have to consider to have a separate page, like settings -> categories
where the user can organize all categories and then choose one of it through a dropdown menu' from the create payment
modal window?
Can we associate more than one category to a payment?
How do you think the page all payments
should be changed? Right now we have this kind of visualization:
The user will switch to the "categorization visualization" by clicking on a link above the list, or do you have in mind some different mechanism?
percentage
value will represent there? The number of payments for each category, or the overall expenses for each category?I think it could be useful if you share some mockups and some more details about this feature.
Thank you again, joe!
Hey @joebew42,
services
(Github, Spotify, etc.). Later we could add a setting to manage categories.all payments
page in two. Same list as before on the left and a spendings
section where we can see the payments breakdown by category.Just realized the percentages on the list are different from the chart. My bad.
What do you think?
Thank you for all your answers, so clear!
Hi @joaquimadraz,
just another question related to the Other
category. What happens when the user don't specify a category? We may have to fall back to a default one (e.g. Other) or we may allow user to specify an empty category? In this case, how it is supposed to show the categorization for all the payments that haven't a category? :thinking:
I think it would be interesting to separate Other
and Uncategorized
payments.
Here are some things that comes to mind:
Uncategorized
category.Other
is something we don't have a category for.Does it make sense?
It makes sense. So, we can end up with these requirements:
Uncategorized
category (we translate this by adding the value uncategorized
in the category
field?).Other
will be the default value of category
for all the new payments.category
is mandatory and cannot be blank.Right?
Correct 👍
Hi @joaquimadraz ,
I have this first API proposal for the spendings summary, let me know what you think about:
HTTP GET /api/subscriptions/summary
{
data: {
currency: "EUR",
currency_symbol: "€",
total: "6789.99",
spendings: [
{category: "travel", amount: "239.99"},
{category: "videogames", amount: "999.99"},
{category: "other", amount: "9.99"},
{category: "uncategorized", amount: "1900.00"},
]
}
}
So, basically the fields currency
and currency_symbol
comes from the User
, and the spendings
will be a list of all expences grouped by category. In this way we let the client (e.g. Reactjs) decide what to do with this data. What do you think?
Hey @joebew42, sorry for the late reply.
Looks good. Just one thing, should we also return the total spending in this request to calculate the percentages?
Looks good. Just one thing, should we also return the total spending in this request to calculate the percentages?
Of course, we can adapt the API in order to return the total spending too!
Hi @joaquimadraz ,
I am doing some live coding on Twitch and I would like to contribute to your project, so I tried to take a look and I've seen that there is something in the "nice to have" features that I could try to tackle: the categorization (personal, business, services) feature.
I would like to know how do you imagine that feature is supposed to be implemented. If you provide some enough instructions I think I can start work on it. In the meantime I'll try to setup the project on my local machine and undestand something about it.
Thank you, joe.