Merged
Conversation
…cking, and enhance workout generation logic
…ite configuration for IndexedDB support
…, reps, weight, and time
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request includes several changes to improve the project structure, add new features, and enhance testing. The most important changes include updating the package management and directory structure, adding end-to-end tests, integrating Dexie for database management, and refining the TypeScript types.
Project Structure and Configuration:
.github/copilot-instructions.mdto reflect the use ofpnpmfor package management and specified that commands should be run from theapp/directory.README.mdin the.github/copilot/directory to document the GitHub Copilot configuration settings.options.jsonto store Copilot-specific settings, including the workspace path, package manager, import style, and testing command..vscode/settings.jsonto set the terminal working directory toapp/, exclude unnecessary files from search and file watching, and configure TypeScript SDK path.End-to-End Testing:
app/e2e/workout-history.test.ts.Database Integration:
app/src/lib/database.ts.app/src/lib/database.test.ts.TypeScript Types:
CompletedExerciseinterface and added acompletedproperty to theWorkoutIteminterface inapp/src/lib/types.ts. [1] [2]app/src/lib/types.test.ts. [1] [2]Dependency Management:
dexieandfake-indexeddbdependencies toapp/package.jsonand updated thepnpm-lock.yamlfile accordingly. [1] [2] [3] [4] [5] [6] [7] [8]