- Model changes: - Remove 'category' field from Document model - Replace complex 'status' field with simple 'isPublic' boolean flag - Enhance document types to be more specific and user-friendly - UI improvements: - Update DocumentForm component to use simplified model - Improve document listing page with clearer public/private status - Enhance document detail page with better PDF preview using <object> tag - Fix document edit page to work with new model - API fixes: - Fix uploads API route to properly handle PDF files - Add proper content types for various document formats - Fix params.path handling to prevent errors - UX enhancements: - Simplify form with clearer options - Make public/private toggle more intuitive - Improve document preview to avoid unwanted downloads - Enhance file type handling for better compatibility - Documentation: - Update memory bank (activeContext.md and progress.md) This change improves the overall user experience by making the document management system more intuitive while maintaining all necessary functionality. |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| health.js | ||
| next-env.d.ts | ||
| next.config.js | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||