julien-nc / cospend-nc

💰 💲hared budget manager Nextcloud app
GNU Affero General Public License v3.0
232 stars 29 forks source link

Feature idea: Custom weight distribution per category? #161

Open Ezwen opened 2 years ago

Ezwen commented 2 years ago

I'm starting to use cospend in a complex project where people contribute differently based on the category of expense. This can partially already be achieved using the dedicated bill type that allows one the choose a weight distribution for a particular bill (see https://github.com/eneiluj/cospend-nc/issues/20).

However, if for instance I would like that everything "food-related" uses a specific distribution, while everything "transport-related" uses another weight distribution, then it means micro-managing each created bill of these categories.

Feature idea: could we have the possibility to customize a category of expense not only with name+color+icon, but also with a dedicated weight distribution? This way, when creating a bill, selecting a category would automatically enable a specific weight distribution.

julien-nc commented 2 years ago

Hi, the issue with this feature would be to handle changes in the member list. It could ignore members that don't exist (anymore).

I'm open to PRs but I won't implement it myself.

Ezwen commented 2 years ago

Hi, the issue with this feature would be to handle changes in the member list. It could ignore members that don't exist (anymore).

Indeed, indeed changes in the members might be annoying, although maybe a default weight of 1 for new members could suffice.

I'm open to PRs but I won't implement it myself.

Noted, thanks for answering!