astashov / liftosaur

Weightlifting tracker app for coders
https://www.liftosaur.com
GNU Affero General Public License v3.0
241 stars 32 forks source link

Update CSV import to work correctly with new Equipment paradigm #105

Closed evilrobotfromouterspace closed 3 months ago

evilrobotfromouterspace commented 3 months ago

As a user, I want to be able to import exercise history via CSV and have continuity in history tracking across imported exercises and new programs, so that I can switch from Strong to Liftosaur and accurately track my progress over time.

Given I prepare a properly formatted CSV import with history from another data source 1) When I upload the CSV import into Liftosaur Then I see the history (this appears to work mostly correctly)

2) When I perform a custom exercise in Liftosaur Then it matches the custom exercise I uploaded via CSV for the purpose of history tracking (this appears to be broken)

Artifacts: A Custom Exercise I created via the UI for Paused Squat. I am not given an option to select Barbell when creating the Custom Exercise. image

An example of CSV imported exercise session image

Clicking on Paused Squat shows the imported history of Paused Squat image

evilrobotfromouterspace commented 3 months ago

Liftosaur Import 2024-07-28 - Sheet2.csv Adding example csv import I used

astashov commented 3 months ago

Yeah, need to fix and remove equipment stuff from the CSV import/export. Done!