Go to file
Michael Mainguy b4b248925f Fix docs page layout and suppress Swagger UI React warnings
- Create ConditionalLayout component to exclude sidebar from /docs routes
- Replace direct MainLayout usage in root layout with route-based conditional rendering
- Implement SwaggerUIWrapper component to suppress React strict mode warnings
- Add comprehensive console warning filtering for UNSAFE lifecycle methods
- Update webpack configuration to ignore third-party component warnings
- Install string-replace-loader for enhanced warning suppression
- Maintain full API documentation functionality while providing clean console output

Fixes issue where docs page showed unwanted sidebar and resolves console warnings from swagger-ui-react components using deprecated React lifecycle methods.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 19:54:48 -05:00
.idea Initial Next.js photo gallery application 2025-08-26 13:24:38 -05:00
src Fix docs page layout and suppress Swagger UI React warnings 2025-08-27 19:54:48 -05:00
.gitignore Add SQLite database and directory management system 2025-08-26 14:26:55 -05:00
AIROADMAP.md Add automatic API documentation system with OpenAPI 3.0 spec 2025-08-27 17:21:53 -05:00
API_DOCUMENTATION.md Add automatic API documentation system with OpenAPI 3.0 spec 2025-08-27 17:21:53 -05:00
CLAUDE.md Add automatic API documentation system with OpenAPI 3.0 spec 2025-08-27 17:21:53 -05:00
next.config.js Fix docs page layout and suppress Swagger UI React warnings 2025-08-27 19:54:48 -05:00
package-lock.json Fix docs page layout and suppress Swagger UI React warnings 2025-08-27 19:54:48 -05:00
package.json Fix docs page layout and suppress Swagger UI React warnings 2025-08-27 19:54:48 -05:00
postcss.config.mjs Initial Next.js photo gallery application 2025-08-26 13:24:38 -05:00
README.md Improve directory modal with keyboard navigation and README 2025-08-26 14:03:36 -05:00
tsconfig.json Initial Next.js photo gallery application 2025-08-26 13:24:38 -05:00

Photos Gallery

A Next.js application for displaying and organizing photos.

Prerequisites

macOS CIFS Share Access

If you're running this application on macOS and accessing photos from a mounted CIFS share, you'll need to grant your terminal application full disk access:

  1. Open System PreferencesSecurity & PrivacyPrivacy
  2. Select Full Disk Access from the left sidebar
  3. Click the lock icon and enter your password to make changes
  4. Click the + button and add your terminal application (e.g., Terminal.app, iTerm2, etc.)
  5. Restart your terminal application

This is required because macOS restricts access to network-mounted drives without explicit permission.

Getting Started

npm install
npm run dev

Open http://localhost:3000 in your browser.