lukehtravis / room-price-calculator

Application to help renters in group houses determine a fair pricing schema for their rooms
https://lukehtravis.github.io/room-price-calculator/
0 stars 0 forks source link

Add ability to edit attribute percentages #6

Closed lukehtravis closed 10 months ago

lukehtravis commented 1 year ago

make it so that users can edit the percent that each attribute contributes to total rent price for each room

lukehtravis commented 10 months ago

this should work in such a way that if an attribute is removed, all other attributes inherit the percentage that it occupies. If the percent is changed negatively, all remaining attributes inherit the difference, and if it is changed positively, all remaining attributes are changed negatively

lukehtravis commented 10 months ago

actually, instead of doing it automatically, we will just give them free reign to edit all existing attributes, and make sure they haven't gone over at the end. under-representing the total rents should be allowed.

lukehtravis commented 10 months ago

https://github.com/lukehtravis/room-price-calculator/pull/21