This repository was archived by the owner on Aug 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/attendance system #22
Merged
Merged
Conversation
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
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
…pikeCenter into feat/attendance-system
Contributor
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 establishes the foundational infrastructure for a new attendance tracking app within the monorepo. The changes integrate the attendance app with the existing shared packages, set up database schema for attendance records, and implement basic PWA functionality.
- Adds new attendance app with Next.js configuration, database schema, and environment setup
- Integrates attendance schema with shared database package and authentication system
- Implements Progressive Web App features including service worker and manifest
Reviewed Changes
Copilot reviewed 64 out of 66 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/env/src/env.shared.ts | Adds ATTENDANCE_BASE_URL environment variable configuration |
| packages/db/src/index.ts | Integrates attendance schema into shared database exports |
| packages/db/src/db/platforms/attendance.ts | Defines attendance and shop_days database tables |
| packages/db/drizzle.config.ts | Adds attendance schema to database migration configuration |
| packages/auth/src/auth.ts | Updates CORS origins to include attendance app URL |
| apps/attendance/* | Complete attendance app implementation with components, pages, and configuration |
apps/attendance/components/data-table/data-table-column-header.tsx
Outdated
Show resolved
Hide resolved
apps/attendance/components/data-table/data-table-column-header.tsx
Outdated
Show resolved
Hide resolved
….tsx Co-authored-by: Copilot <[email protected]>
….tsx Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
PillageDev
approved these changes
Aug 11, 2025
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 introduces the initial setup for the new
attendanceapp within the monorepo, including configuration, dependencies, environment variables, and support for PWA features. The changes establish the foundational structure for the app, integrating it with shared packages and setting up essential build and runtime settings.New App Initialization and Configuration
apps/attendance/package.jsonto define the app's dependencies, scripts, and integration with internal workspace packages.apps/attendance/next.config.tswith custom Next.js configuration, including support for PWA, optimized imports, image remote patterns, and experimental features..env.exampleentry forNEXT_PUBLIC_ATTENDANCE_BASE_URLto support local development of the attendance app.apps/attendance/drizzle.config.tsfor Drizzle ORM configuration, enabling PostgreSQL database connectivity using environment variables.Build and Runtime Support
apps/attendance/.gitignoreto exclude build artifacts, environment files, and other unnecessary files from version control.apps/attendance/postcss.config.mjsto configure PostCSS with Tailwind CSS support.Progressive Web App (PWA) Features
apps/attendance/public/manifest.jsonto define PWA metadata, icons, and display properties.apps/attendance/public/sw.jsfor service worker registration and caching strategies.apps/attendance/public/_headersto set cache-control headers for static assets.## SummaryExplain the purpose of this PR. What problem does it solve or feature does it add?
Related Issues
Closes #21
Checklist