-
Notifications
You must be signed in to change notification settings - Fork 0
Beta - update 1 #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Beta - update 1 #55
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
db99731
refactor: remove unused refresh button and associated function from M…
FalkenDev 8e45006
feat: enhance toast notifications with progress bar and duration for …
FalkenDev 78e5316
feat(i18n): integrate vue-i18n for localization across the application
FalkenDev de79f1b
feat: implement workout session start functionality with error handli…
FalkenDev 11c0b56
feat: update component density to compact for improved UI consistency
FalkenDev 49ea3ec
feat: add logout option to settings with async handling
FalkenDev 1a7bbf0
fix: reorder buttons in AcceptDialog for improved UX
FalkenDev ee6c017
refactor: simplify BackHeader component usage in AddGlobalExerciseList
FalkenDev 861e328
feat: add account already exists message and improve registration flo…
FalkenDev 0eb780e
feat: enhance user account management with password update and valida…
FalkenDev 8494280
fix: adjust avatar size in HomeHeader for consistency
FalkenDev 2d84830
refactor: replace v-container with div for improved layout in Workout…
FalkenDev 8a632c0
refactor: replace v-container with div for improved layout in Session…
FalkenDev 6302355
refactor: remove unused v-card component from WorkoutDetails for clea…
FalkenDev 8216074
refactor: remove unused note section from session menu and ensure wor…
FalkenDev 91a04de
feat: update ProgressBar to display current week and completed workou…
FalkenDev dd67b6a
feat: add isCustomized property to ExerciseResponseDto and update exe…
FalkenDev 36c75c7
fix: update comment for sharp dependencies installation in Dockerfile…
FalkenDev 6a9524c
feat: add weekly workout goal and streak tracking to user model, serv…
FalkenDev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| import { MigrationInterface, QueryRunner, TableColumn } from 'typeorm'; | ||
|
|
||
| export class AddStreakToUser1768754686 implements MigrationInterface { | ||
| public async up(queryRunner: QueryRunner): Promise<void> { | ||
| // Add weeklyWorkoutGoal column | ||
| await queryRunner.addColumn( | ||
| 'user', | ||
| new TableColumn({ | ||
| name: 'weeklyWorkoutGoal', | ||
| type: 'int', | ||
| default: 3, | ||
| }), | ||
| ); | ||
|
|
||
| // Add currentStreak column | ||
| await queryRunner.addColumn( | ||
| 'user', | ||
| new TableColumn({ | ||
| name: 'currentStreak', | ||
| type: 'int', | ||
| default: 0, | ||
| }), | ||
| ); | ||
|
|
||
| // Add lastStreakCheckDate column | ||
| await queryRunner.addColumn( | ||
| 'user', | ||
| new TableColumn({ | ||
| name: 'lastStreakCheckDate', | ||
| type: 'timestamp', | ||
| isNullable: true, | ||
| }), | ||
| ); | ||
|
|
||
| // Add currentWeekWorkouts column | ||
| await queryRunner.addColumn( | ||
| 'user', | ||
| new TableColumn({ | ||
| name: 'currentWeekWorkouts', | ||
| type: 'int', | ||
| default: 0, | ||
| }), | ||
| ); | ||
| } | ||
|
|
||
| public async down(queryRunner: QueryRunner): Promise<void> { | ||
| await queryRunner.dropColumn('user', 'currentWeekWorkouts'); | ||
| await queryRunner.dropColumn('user', 'lastStreakCheckDate'); | ||
| await queryRunner.dropColumn('user', 'currentStreak'); | ||
| await queryRunner.dropColumn('user', 'weeklyWorkoutGoal'); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.