Skip to content

Redesign & bug fixe: streak, Calendar, Home#79

Merged
FalkenDev merged 16 commits into
v1.1.1from
redesign-and-bugfix
Jun 15, 2026
Merged

Redesign & bug fixe: streak, Calendar, Home#79
FalkenDev merged 16 commits into
v1.1.1from
redesign-and-bugfix

Conversation

@FalkenDev

Copy link
Copy Markdown
Owner
  • Streak bug fixes: Deleted activity logs and finished workout sessions now correctly decrement the streak counter. Previously, removing a session would leave the home page showing the old (higher) pass count. Abandoned ("avbruten") sessions no longer count toward weekly milestone progress.
  • Calendar redesign: Improved empty state handling, streak freeze UI, button styling, and accurate freeze count display.
  • Home page redesign: Simplified layout, improved streak display, added weekly training time, and expanded ProgressBar with streak info.
  • MyWorkouts: Shows more workouts with updated styling.
  • Statistics: Minor tab styling improvements and "Your Training" section title.
  • Safe migration: AddRoleToUser migration now guards against re-running on an existing column.
  • Dependency cleanup: Downgraded prettier-eslint to 16.3.0 for compatibility; removed deprecated WorkoutDetailsOld route and page.

Bug fixes

  • Streak count stays stale after deleting a session — fixed by decrementing currentStreak on deletion (finished sessions and activity logs only)
  • Abandoned sessions counted toward "X left to next milestone" — fixed by filtering status: 'finished' in countTotalSessionsWithActivity()
  • Calendar freeze count showing wrong number — fixed

@FalkenDev FalkenDev self-assigned this Jun 15, 2026
@FalkenDev FalkenDev merged commit 0a98e14 into v1.1.1 Jun 15, 2026
1 check passed
@FalkenDev FalkenDev deleted the redesign-and-bugfix branch June 15, 2026 15:44
@github-actions github-actions Bot added platform: backend For issues concerning the REST API, server logic, database interactions, or authentication. client: web-mobile For issues related to the web app UI/UX, including its responsive mobile views. labels Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client: web-mobile For issues related to the web app UI/UX, including its responsive mobile views. platform: backend For issues concerning the REST API, server logic, database interactions, or authentication.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant