Comments (4)
It may be easier to start with negative expenses for now, if we had a separate collection for settlements the frontend would have to sort settlements and expenses together by date and time on every refresh unless we also had a transactions collection which stored both.
Let's go with this then, and rename the collection to transactions
to represent this.
from fairsplit.
Should we store settlements in the expenses collection in mongo ? We need persistent storage for settlements in order to list them with expenses.
from fairsplit.
Should we store settlements in the expenses collection in mongo ? We need persistent storage for settlements in order to list them with expenses.
I think it would be best to create a new collection for settlements so we have some separation, but if that complicates things heavily on the front-end then we could implement settlements as negative expenses?
from fairsplit.
It may be easier to start with negative expenses for now, if we had a separate collection for settlements the frontend would have to sort settlements and expenses together by date and time on every refresh unless we also had a transactions collection which stored both.
from fairsplit.
Related Issues (20)
- Switch amount measurement from floating point to integers
- Add filter to only display transactions involving the user
- Add ability to expand a transaction to view the full details
- Save current user to avoid having to change it again upon refresh
- Change 'Add Expense' dropdown to be more intuitive
- Refresh total amount owed after settling
- Fix settling up the full amounts on the front-end
- Fix lender and borrower fields incorrectly being flipped when sending API calls
- Add a switch to toggle simplify debts
- Denormalise net user debts to optimise algorithm to minimise transactions
- Fix user creation not working in the user interface
- Deploy app to a hosting solution
- Improve user-friendliness of the interface
- Update README to be more comprehensive
- Improve responsive design for mobile devices
- Integrate unit tests with CI/CD pipeline
- Update debts when a new expense is added with smart split enabled
- Allow the lender to be an option as a borrower in the dropdown menu
- Fix the total amount the user owes/is owed for optimised debts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fairsplit.