Skip to content

Conversation

@gamerg21
Copy link
Owner

No description provided.

…onment setup

- Added important notes for NEXTAUTH_SECRET and NEXTAUTH_URL in env.example to clarify their roles in authentication.
- Updated next.config.ts to conditionally enable standalone output for production builds.
- Included a postinstall script in package.json to handle potential Prisma generate issues on Windows.
- Enhanced error handling in the NextAuth route to return JSON errors instead of HTML.
- Updated README.md with a note for Windows users regarding symlink permission errors during Prisma generation.
- Removed unused scanning UI elements in BarcodeScanner component for cleaner code.
- Updated the wrappedHandler function to await async parameters in Next.js 16+, ensuring proper handling of request context.
- Enhanced error logging for better debugging of authentication route issues.
- Added a new line at the end of various files including scripts, markdown documentation, and component files to ensure consistency and adhere to coding standards.
- This change improves readability and prevents potential issues with file concatenation in certain environments.
- Added new environment files (.env.docker, .env.cli) to support separate configurations for Docker and CLI development.
- Updated docker-compose.yml to remove container names and improve volume management for certificates.
- Enhanced README.md and DOCKER.md with instructions for running Docker Compose without interfering with local development.
- Introduced new npm scripts for managing Docker containers easily.
…ositioning

- Updated the inventory deletion logic to provide more specific error messages based on server responses, including session expiration notifications.
- Improved the dropdown menu component by adding a trigger reference and implementing dynamic positioning to ensure it displays correctly within the viewport, using a portal for rendering.
- Excluded both server.js and prisma.config.js from TypeScript rules in ESLint configuration for better compatibility.
- Refactored AdminUsersClient to use useCallback for fetchUsers, improving performance by preventing unnecessary re-creations of the function.
- Updated RecipeDetailPage and other API routes to remove unused parameters and mark them as intentionally unused for future reference.
- Cleaned up BarcodeScanner component by removing unnecessary state management for scanning, streamlining the code.
- Added comments to clarify the purpose of unused variables in various API routes, ensuring better maintainability.
@gamerg21 gamerg21 merged commit e90afcd into main Dec 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants