feat: Add major features - Mejoras 5-10

- Mejora 5: Órdenes de Compra integration in obra detail
- Mejora 6: Portal de Cliente with JWT auth for clients
- Mejora 7: Diagrama de Gantt for project visualization
- Mejora 8: Push Notifications with service worker
- Mejora 9: Activity Log system with templates
- Mejora 10: PWA support with offline capabilities

New features include:
- Fotos gallery with upload/delete
- Bitácora de obra with daily logs
- PDF export for reports, gastos, presupuestos
- Control de asistencia for employees
- Client portal with granular permissions
- Gantt chart with task visualization
- Push notification system
- Activity timeline component
- PWA manifest, icons, and install prompt

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Mexus
2026-01-19 03:09:38 +00:00
parent 86bfbd2039
commit a08e7057e8
69 changed files with 12435 additions and 26 deletions

36
public/icons/README.md Normal file
View File

@@ -0,0 +1,36 @@
# PWA Icons Generation Instructions
The placeholder icons in this directory should be replaced with properly generated icons.
## Option 1: Use an online tool
1. Go to https://realfavicongenerator.net/
2. Upload the icon.svg file from this directory
3. Download the generated icons
4. Replace the placeholder PNGs
## Option 2: Use sharp (Node.js)
If you have libvips installed, you can use the generate-icons.js script:
```bash
npm install sharp --save-dev
node scripts/generate-icons.js
```
## Option 3: Use ImageMagick
If you have ImageMagick installed:
```bash
for size in 72 96 128 144 152 192 384 512; do
convert icon.svg -resize ${size}x${size} icon-${size}x${size}.png
done
```
## Required icon sizes:
- 72x72
- 96x96
- 128x128
- 144x144
- 152x152
- 192x192
- 384x384
- 512x512
- 180x180 (apple-touch-icon.png)
- 32x32 (favicon.png)