-
Notifications
You must be signed in to change notification settings - Fork 0
Establish v0.1.0 baseline; Restore main: reintroduce lost files. #11
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
Conversation
…hing logic, and roadmap
…r pages with validation and error handling
…ronment - Added new tests for login and registration forms to validate email and password inputs. - Updated package.json to include testing libraries: @testing-library/jest-dom, @testing-library/react, @testing-library/user-event, and vitest. - Configured TypeScript to recognize vitest types in tsconfig files. - Created vitest.config.ts for test configuration and vitest.setup.ts for global setup.
…ment and improved error handling
…hance vite-env.d.ts with environment variable interfaces
…hance API_BASE handling and error messages
… navigation and error handling; update auth context for better user data extraction
…ormation; implement Layout component for consistent page structure
- Added Chakra UI dependencies to package.json. - Wrapped the application in ChakraProvider and added ColorModeScript for theme management in App.tsx. - Created AppShell component for consistent layout with header and footer, including a color mode toggle. - Updated Layout component to use AppShell for rendering child routes. - Enhanced ProtectedRoute to show a loading spinner using Chakra UI while checking authentication status. - Introduced a custom theme for Chakra UI with brand colors and default component styles.
…) document and enhance environment variable typings
…ansitions; update Layout to include new transition
…ield component with Chakra UI styling and error handling; create HealthCheckCard component for backend health monitoring with auto-refresh functionality
…UI; improve error handling and loading states in ProtectedRoute
… check functionality and user profile display
… variables and enhance layout with Chakra UI
- Simplified workflow_dispatch inputs in frontend CI configuration. - Set default Node.js version to 20 and removed conditional checks for linting, type checking, and testing. - Added changelog check step to CI to enforce documentation of changes. - Updated README and architecture documentation to reflect recent changes and added planning artifacts. - Introduced a structured changelog file to document project changes. - Enhanced developer workflow checklist for clarity and completeness. - Created a week 3 plan checklist to track progress on authentication and UI enhancements. - Drafted a week 4 plan focusing on quality hardening and accessibility improvements. - Updated package version to 0.1.0 and added changelog check script.
…ng auth flow endpoints and testing strategies
… and release process details
…cripts and shell files
…ing and commit checks
…ing; implement release automation and changelog enforcement scripts
…and automation processes
…timize performance
✅ Deploy Preview for app-sameboat ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request introduces foundational project infrastructure and comprehensive authentication system to establish a v0.1.0 baseline. The changes transform the basic Vite scaffold into a complete SPA with authentication, UI components, testing framework, and developer tooling.
Key Changes:
- Complete authentication system with React Context, protected routing, and session management
- Chakra UI integration with dark theme and responsive components
- Testing infrastructure using Vitest with coverage thresholds and component tests
- Developer workflow automation including ESLint configuration, Husky hooks, commitlint, and release scripts
Reviewed Changes
Copilot reviewed 77 out of 80 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
src/state/auth/ |
New authentication context with login/register/logout actions and error handling |
src/components/ |
Reusable UI components including forms, layout, debug panel, and transitions |
src/pages/ |
Login, Register, Me, and enhanced Home pages with Chakra UI |
src/routes/ |
Router configuration with protected routes and layout transitions |
package.json |
Added dependencies for Chakra UI, testing, linting, and commit hooks |
| Testing files | Vitest configuration, setup, and initial auth flow tests |
| Tooling configs | ESLint, commitlint, Husky hooks, and release automation scripts |
| Documentation | Comprehensive README updates, architecture docs, and workflow guides |
Console.log statement replaced with console.debug and guarded by dev env checks Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 77 out of 80 changed files in this pull request and generated 4 comments.
fix(debug): console.log statement replaced with console.debug for consistency Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 77 out of 80 changed files in this pull request and generated no new comments.
Make coverage thresholds configurable via environment variables Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 77 out of 80 changed files in this pull request and generated 2 comments.
This pull request introduces foundational project infrastructure and documentation improvements, focusing on code quality enforcement, developer workflow, and project clarity. Key additions include ESLint configuration, commit message linting, changelog enforcement, and expanded documentation for architecture, environment variables, authentication, and testing. The CI pipeline is updated to enforce these gates and clarify build steps.
Code Quality & Tooling
.eslintrc.cjswith TypeScript, React, accessibility, and recommended rules, plus sensible defaults and ignore patterns for build artifacts and types. (.eslintrc.cjs, .eslintrc.cjsR1-R38).eslintignoreto excludedist,build,coverage, andnode_modulesfrom linting. (.eslintignore, .eslintignoreR1-R4).husky/commit-msg) and pre-commit testing (.husky/pre-commit). (.husky/commit-msg, [1];.husky/pre-commit, [2].gitattributesto enforce LF line endings for shell scripts and Husky hooks. (.gitattributes, .gitattributesR1-R3)CHANGELOG.mdwith Keep a Changelog format and initial release notes; includes guidance for future entries. (CHANGELOG.md, CHANGELOG.mdR1-R87)Continuous Integration
.github/workflows/frontend-ci.ymlto remove input-driven conditional steps, standardize Node version, enforce lint/type/test/changelog/build order, and add a changelog check step. (.github/workflows/frontend-ci.yml, [1] [2] [3] [4] [5]Documentation & Developer Workflow
README.mdwith planning artifacts, versioning policy, detailed architecture, environment variable table, authentication system overview, runtime debug panel, testing workflow, and quality gates. (README.md, [1] [2] [3].github/pull_request_template/PULL_REQUEST_TEMPLATE.md, .github/pull_request_template/PULL_REQUEST_TEMPLATE.mdR1-R32)These changes lay the groundwork for a maintainable, high-quality codebase and streamline contributor onboarding and workflow.
Restoration Explanation
Highlights included in restored tree:
After merging: