-
-
Notifications
You must be signed in to change notification settings - Fork 218
Comparing changes
Open a pull request
base repository: spliit-app/spliit
base: 1.6.0
head repository: spliit-app/spliit
compare: main
Commits on Apr 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1ad4703 - Browse repository at this point
Copy the full SHA 1ad4703View commit details -
Show the impact of an expense on the active user's balance (#139)
* Add devcontainer configuration for codespace support * Show the impact of an expense on the active user's balance * Run prettier * Put the balance on a different line --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 1cd2b27 - Browse repository at this point
Copy the full SHA 1cd2b27View commit details
Commits on May 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 833237b - Browse repository at this point
Copy the full SHA 833237bView commit details -
Implement "infinite scroll" for expenses (#95)
* Extract ExpenseCard vom ExpenseList * Implement simple pagination of expenses (see #30) - display only this year's entries by default - a "Show more" button reveals all expenses * Turn getPrisma() into constant "prisma" - getPrisma() is not async and doesn't need to be awaited - turn getPrisma() into exported constant "prisma" * Select fields to be returned by getGroupExpenses() - make JSON more concise and less redundant - some properties were removed (i.e.instead of "expense.paidById" use "expense.paidBy.id") * Remove "participants" from ExpenseCard - no need to search for participant by id to get it's name - name property is already present in expense * Add option to fetch a slice of group expenses - specify offset and length to get expenses for [offset, offset+length[ - add function to get total number of group expenses * Add api route for client to fetch group expenses * Remove "Show more" button from expense list * Implement infinite scroll - in server component Page - only load first 200 expenses max - pass preloaded expenses and total count - in client component ExpenseList, if there are more expenses to show - test if there are more expenses - append preloading "skeletons" to end of list - fetch more expenses when last item in list comes into view - after each fetch increase fetch-length by factor 1.5 - rationale: db fetch usually is not the issue here, the longer the list gets, the longer react needs to redraw * Use server action instead of api endpoint * Fixes --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for d3fd802 - Browse repository at this point
Copy the full SHA d3fd802View commit details -
Fix relative path docker db script (#154)
Without this, docker complained: ``` docker: Error response from daemon: create ./postgres-data: "./postgres-data" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. ``` Followed recommendation from https://stackoverflow.com/questions/46526165/docker-invalid-characters-for-volume-when-using-relative-paths
Configuration menu - View commit details
-
Copy full SHA for 74465c0 - Browse repository at this point
Copy the full SHA 74465c0View commit details -
change onClick to onFocus, with a slight delay for safari (#144)
* change onClick to onFocus, with a slight delay for safari * typo * fix variable name * Fix style --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for f9d9153 - Browse repository at this point
Copy the full SHA f9d9153View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10e13d1 - Browse repository at this point
Copy the full SHA 10e13d1View commit details -
* Add basic activity log * Add database migration * Fix layout * Fix types --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for e619c1a - Browse repository at this point
Copy the full SHA e619c1aView commit details -
Use placeholder for new participant input (#153)
* use placeholder for new participant * Fix formatting --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 3887efd - Browse repository at this point
Copy the full SHA 3887efdView commit details -
Add support for group income (= negative expenses) (#158)
* Allow negative amount for expenses to be entered - an expense becomes an income - this does not affect calculations, i.e. an income can be split just like an expense * Incomes should not be reimbursements when entering a negative number - deselect 'isReimbursement' - hide reimbursement checkbox * Change captions when entering a negative number - "expense" becomes "income" - "paid" becomes "received" * Format incomes on expense list - replace "paid by" with "received by" * Format incomes on "Stats" tab - a group's or participants balance might be negative - in this case "spendings" will be "earnings" (display accordingly) - always display positive numbers - for active user: highlight spendings/earnings in red/green * Fix typo --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 0c05499 - Browse repository at this point
Copy the full SHA 0c05499View commit details -
Configuration menu - View commit details
-
Copy full SHA for e990e00 - Browse repository at this point
Copy the full SHA e990e00View commit details
Commits on Aug 2, 2024
-
Increase fuzzines of search results (#187)
* Introduce normalizeString fn * Prettier --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 7145cb6 - Browse repository at this point
Copy the full SHA 7145cb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 853f179 - Browse repository at this point
Copy the full SHA 853f179View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b8f716 - Browse repository at this point
Copy the full SHA 9b8f716View commit details -
Make recalculation stable across repayments in suggested reimbursemen…
…ts (#179) * suggested reimbursements: make recalculation stable across repayments Previously, after a group participant executed a suggested reimbursement, rerunning getSuggestedReimbursements() could return a completely new list of suggestions. With this change, getSuggestedReimbursements() should now be stable: if it returns a graph with n edges, and then a repayment is made according to one of those edges, when called again, it should now return the same graph but with that one edge removed. The trick is that the main logic in getSuggestedReimbursements() does not rely on balancesArray being sorted based on .total values, only that the array gets partitioned into participants with credit first and then participants with debt last. After a repayment is made, re-sorting based on .total values would result in a new order hence new suggestions, but sorting based on usernames/participantIds should be unaffected. fixes #178 * Prettier --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 002e867 - Browse repository at this point
Copy the full SHA 002e867View commit details -
feat: add auto-balancing for the amount edit (#173)
* feat: add auto-balancing for the amount edit this implementation allocates the rest of the total to participants, whose rows have yet not been edited. * fix: reset already edited on total amount change
Configuration menu - View commit details
-
Copy full SHA for c392c06 - Browse repository at this point
Copy the full SHA c392c06View commit details -
Internationalization + Finnish language (#181)
* I18n with next-intl * package-lock * Finnish translations * Development fix * Use locale for positioning currency symbol * Translations: Expenses.ActiveUserModal * Translations: group 404 * Better translation for ExpenseCard * Apply translations in CategorySelect search * Fix for Finnish translation * Translations for ExpenseDocumentsInput * Translations for CreateFromReceipt * Fix for Finnish translation * Translations for schema errors * Fix for Finnish translation * Fixes for Finnish translations * Prettier --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 4f5e124 - Browse repository at this point
Copy the full SHA 4f5e124View commit details -
add group information field to group settings and Information tab (#164)
* add group information field to group and Information tab to display * add breaks to info page * Improve UX --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 972bb9d - Browse repository at this point
Copy the full SHA 972bb9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26bed11 - Browse repository at this point
Copy the full SHA 26bed11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dfe03b - Browse repository at this point
Copy the full SHA 5dfe03bView commit details
Commits on Sep 28, 2024
-
* Added french version and title/description from json messages * Revert back default language to en-US * Code reviewed with prettier :) * Updated json to add information field * Updated json to add information block (missed on previous) * Reviewed code language * correction traduction "groupes étoilés" en "groupes favoris" --------- Co-authored-by: Andy Trouvé <andy@strekol.eu>
Configuration menu - View commit details
-
Copy full SHA for 07e24f7 - Browse repository at this point
Copy the full SHA 07e24f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fff8da - Browse repository at this point
Copy the full SHA 5fff8daView commit details -
feature: add Spanish language support (#214)
* create ES i18n json * add ES locale to i18n and existing locales * capitalize words at es.json * Add missing translation --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 345f371 - Browse repository at this point
Copy the full SHA 345f371View commit details -
feat: add German language support (#207)
* feat: add German language support * fix: translate other locale names to German * chore: integrate recommendations from the PR review * i18n: add translation recommendations from the PR * Fix translations --------- Co-authored-by: Christian Schuller <christianschuller.biz@gmail.com> Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 5046314 - Browse repository at this point
Copy the full SHA 5046314View commit details -
Add Chinese translation (#215)
* Added Chinese translation * Add home page translation * Fix translations --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 8f896f7 - Browse repository at this point
Copy the full SHA 8f896f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8d46cd - Browse repository at this point
Copy the full SHA e8d46cdView commit details -
Fix: Correctly display loaded expense (#210)
* Fix #209: Correctly display loaded expense - Don't load default split options after displaying an existing expense - Re-validate form after changing the "paidFor" selection. This fixes the error message "The expense must be paid for at least one participant." after clicking "Select None" and the selecting one participant. * Fix Paid For Field reset in Edit Expense Page for split Mode 'Unevenly - By amount' --------- Co-authored-by: partho.kunda <partho.kunda@chaldal.net>
Configuration menu - View commit details
-
Copy full SHA for 50b3a2e - Browse repository at this point
Copy the full SHA 50b3a2eView commit details -
Fix amount preview for scanned receipts (#227)
* no division of amount * use gpt-4-turbo * testing setup and naive test * test multiple variants * document * correct locale names * test large amounts * test wth strings * prettier
Configuration menu - View commit details
-
Copy full SHA for 9a5674e - Browse repository at this point
Copy the full SHA 9a5674eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eea062 - Browse repository at this point
Copy the full SHA 8eea062View commit details
Commits on Sep 29, 2024
-
Fix format for integer amounts (#231)
* support both fractions and integer values * test fractions * prettier
Configuration menu - View commit details
-
Copy full SHA for 8742bd5 - Browse repository at this point
Copy the full SHA 8742bd5View commit details
Commits on Oct 5, 2024
-
* Update i18n.ts * Update de-DE.json * Update en-US.json * Update es.json * Update fi.json * Update fr-FR.json * Update ru-RU.json * Update zh-CN.json * Create it-IT.json * Update it-IT.json * Update it-IT.json * Update it-IT.json * Update it-IT.json * Update it-IT.json * Prettier --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 343363d - Browse repository at this point
Copy the full SHA 343363dView commit details
Commits on Oct 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 24053ca - Browse repository at this point
Copy the full SHA 24053caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e4edf7 - Browse repository at this point
Copy the full SHA 1e4edf7View commit details
Commits on Oct 14, 2024
-
Co-authored-by: samuel <samuel@t460.localdomain>
Configuration menu - View commit details
-
Copy full SHA for a7c80f6 - Browse repository at this point
Copy the full SHA a7c80f6View commit details -
Fix missing translation for expense title in expense-form when making…
… a reinbursement (#244)
Configuration menu - View commit details
-
Copy full SHA for 7add7ef - Browse repository at this point
Copy the full SHA 7add7efView commit details -
[translation] Add Polish language (#243)
* Add polish translation file * Add polish to other translations
Configuration menu - View commit details
-
Copy full SHA for 727803e - Browse repository at this point
Copy the full SHA 727803eView commit details
Commits on Oct 19, 2024
-
Add tRPC, use it for group expenses, balances and information page (#246
Configuration menu - View commit details
-
Copy full SHA for 66e15e4 - Browse repository at this point
Copy the full SHA 66e15e4View commit details
Commits on Oct 20, 2024
-
Use tRPC in other group pages (#249)
* Use tRPC in group edition + group layout * Use tRPC in group modals * Use tRPC in group stats * Use tRPC in group activity
Configuration menu - View commit details
-
Copy full SHA for 210c12b - Browse repository at this point
Copy the full SHA 210c12bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2281316 - Browse repository at this point
Copy the full SHA 2281316View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21d0c02 - Browse repository at this point
Copy the full SHA 21d0c02View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d5831 - Browse repository at this point
Copy the full SHA e9d5831View commit details -
Add Romanian translations (#248)
* Add Romanian translations Create ro.json. * Add ro option. Add ro option. * Update ro.json * Prettier --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for f515439 - Browse repository at this point
Copy the full SHA f515439View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39c1a2f - Browse repository at this point
Copy the full SHA 39c1a2fView commit details -
Use tRPC for recent groups page (#253)
* Use tRPC for recent groups page * Use tRPC for adding group by URL * Use tRPC for saving visited group * Group context
Configuration menu - View commit details
-
Copy full SHA for 4db7886 - Browse repository at this point
Copy the full SHA 4db7886View commit details
Commits on Dec 7, 2024
-
Feature: Default currency symbol (#259)
* Added a env parameter to define a default currency symbol * Fixed prettier formatting
Configuration menu - View commit details
-
Copy full SHA for 5111f35 - Browse repository at this point
Copy the full SHA 5111f35View commit details -
[Translation] Add Traditional Chinese (zh-TW) (#260)
* Add zh-TW translation file * Add zh-TW to other translations Co-authored-by: Yutung Chung <yutung.chung@d8ai.com>
Configuration menu - View commit details
-
Copy full SHA for 5374d9e - Browse repository at this point
Copy the full SHA 5374d9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c973f9 - Browse repository at this point
Copy the full SHA 2c973f9View commit details -
feat(expense-list): Display the attachment count only when the expens…
…e includes attachments (#267) * feat(expense-list): Display the attachment count only when the expense includes attachments * handle attachments - singular & plural * move documents count between amount and date * Remove label * Use document count only instead of whole document list --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Configuration menu - View commit details
-
Copy full SHA for 72ad0a4 - Browse repository at this point
Copy the full SHA 72ad0a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5732f78 - Browse repository at this point
Copy the full SHA 5732f78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98e2345 - Browse repository at this point
Copy the full SHA 98e2345View commit details
There are no files selected for viewing