Skip to content

Measurements and charts refactor - #1298

Open
rolandgeider wants to merge 73 commits into
masterfrom
feature/health-sync
Open

Measurements and charts refactor#1298
rolandgeider wants to merge 73 commits into
masterfrom
feature/health-sync

Conversation

@rolandgeider

Copy link
Copy Markdown
Member

React side of wger-project/wger#2417

Using JSON.stringify ties the cache identity to the order the keys
This makes the charts more similar to what the flutter app uses
# Conflicts:
#	src/components/Calendar/Components/Entries.test.tsx
#	src/components/Dashboard/TrophiesCard.test.tsx
#	src/components/Dashboard/TrophiesCard.tsx
#	src/components/Measurements/widgets/CategoryForm.test.tsx
#	src/components/Measurements/widgets/EntryForm.test.tsx
#	src/components/Nutrition/models/nutritionalPlan.test.ts
#	src/components/Nutrition/screens/BmiCalculator.test.tsx
#	src/components/Nutrition/widgets/forms/PlanForm.test.tsx
#	src/components/Weight/api/weight.test.ts
#	src/components/Weight/forms/WeightForm.test.tsx
#	src/components/Weight/screens/BodyWeight.test.tsx
#	src/core/lib/date.ts
return;
}

const observer = new ResizeObserver(entries => setWidth(entries[0].contentRect.width));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant