Skip to content

Support tricount imports#526

Open
Mubelotix wants to merge 1 commit into
spliit-app:mainfrom
Mubelotix:mr
Open

Support tricount imports#526
Mubelotix wants to merge 1 commit into
spliit-app:mainfrom
Mubelotix:mr

Conversation

@Mubelotix

Copy link
Copy Markdown

Hi!

I have been hosting my own instance of Spliit for a long time and really appreciate the project. As I see that there is currently a high level of activity that can be a lot to handle for you, I wanted to offer my help. I would be more than happy to commit as a new maintainer to help with handling issues, reviewing MRs, and driving new updates to keep the project moving forward!

To start off, this MR implements a much-requested feature: importing groups and expenses. I implemented it for Tricount but it could be reused for splitwise.

What this MR does:

Adds a clean, interactive import section to the Group Creation page with step-by-step instructions guiding the user on how to obtain their data export under GDPR terms from Tricount.

It allows the user to select the group's main currency during the import. All imported expenses are converted to this currency using the rates in the CSV file (falling back to Frankfurter API if a rate is missing).

It also fixes an existing bug where the database field originalAmount was stored in minor units (cents) but was not converted to/from decimals in the frontend form ( submit and defaultValues ), causing 100x scaling display issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant