muken
d730961c96
fix: SVG icons now scale properly with CSS instead of fixed width/height
...
- Remove hardcoded width/height attributes from SVGs
- Use CSS (width:100%;height:100%) for proper scaling
- Fixes amenity icons appearing compacted/overlapping
- viewBox maintains aspect ratio, CSS controls display size
2026-07-01 21:59:22 -05:00
muken
09bbe0a441
refactor: migrate room photos from rooms.photos to images table
...
- Photos now stored exclusively in images table (no duplication)
- rooms.photos array cleared, freed 17 MB storage
- Updated room APIs to fetch images by room_id
- Added PUT endpoint for room updates
- Updated RoomEditor to load/delete images from images table
- Fixed images API to return 'data' key consistently
2026-07-01 21:54:39 -05:00
muken
ee68dc2897
feat: add WebP migration UI and API endpoint
...
- Add /api/admin/migrate-images endpoint to convert JPEG/PNG to WebP
- Add WebPMigration component in admin gallery showing stats
- Upload endpoint already converts new images to WebP
- Migration saves ~30-50% storage space per image
2026-07-01 21:47:16 -05:00
muken
e299c07912
feat: show menu item photo thumbnail in admin list
2026-06-30 00:22:07 -05:00
muken
ef2bfa5f05
fix: properly track featured_photo state in menu editor
2026-06-30 00:13:30 -05:00
muken
271457dfa5
fix: replace England flag with UK flag for English language
2026-06-30 00:09:25 -05:00
muken
b46d490be2
feat: add photo support to food menu items
...
- Add photos and featured_photo columns to menu_items table
- Update MenuEditor with photo upload functionality
- Add click-to-set-featured-photo interaction
- Update menu API endpoints to handle photos
2026-06-30 00:04:04 -05:00
muken
f9c8d48631
fix: use Ecuador timezone (GMT-5) for all date displays across the app
2026-06-29 23:53:58 -05:00
muken
d67759485a
fix: menu reorder - use items state after drag, add logging
2026-06-29 21:46:48 -05:00
muken
d753a3713f
fix: menu drag-and-drop reorder using sorted array and correct sort_order
2026-06-29 21:41:12 -05:00
muken
2dc949553e
fix: slide image upload - clear image_url when image_id set, fix slides.image_url column type to TEXT, add bed amenities (Queen, 2 Queen)
2026-06-29 21:38:27 -05:00
muken
91fce014fd
feat: room amenities selection in room editor
2026-06-29 20:49:51 -05:00
muken
262cd4745c
feat: room amenities with editable SVG icons
2026-06-29 20:45:56 -05:00
muken
6b7720d2d8
feat: users can change their own password via user portal
2026-06-29 18:09:54 -05:00
muken
765465348e
feat: allow admins to change user passwords
2026-06-29 18:07:24 -05:00
muken
291df16f1f
feat: user portal with trips, wifi, welcome message, chat; admin trips & messages mgmt
2026-06-28 23:33:39 -05:00
muken
9f418d6b19
fix: slide editor upload button now works with useRef instead of nested label
2026-06-28 23:26:21 -05:00
muken
a1d88af78b
feat: add footer configuration (address, phone, email, social URLs, tagline) to admin panel
2026-06-28 23:21:41 -05:00
muken
abf46b9075
fix: image upload returns correct data structure for all editors
2026-06-28 23:18:27 -05:00
muken
6b0db0e3cf
fix: change admin portal title to Hosteria La Huasca
2026-06-28 23:14:06 -05:00
muken
4d2c26d3af
fix: admin data loading - extract data from API response
2026-06-28 23:12:07 -05:00
muken
cac82e6d9d
fix: admin panel save issues - POST/PUT URLs, users list, image upload
2026-06-28 23:01:13 -05:00
muken
f99da73118
fix: login redirect, admin auth guard, JWT_SECRET env
2026-06-28 22:41:08 -05:00
muken
01ea9e391d
Add language translation system and weather widget with admin controls
2026-06-28 15:35:02 -05:00
muken
295c024ced
fix: image gallery organized with sections and borders, images now show correctly
2026-06-28 13:50:32 -05:00
muken
e1b091b25d
fix: admin menu fetch and add item — use /api/admin/menu endpoint, parse response.data correctly
2026-06-28 13:45:15 -05:00
muken
4b6e7f4362
feat: menu visibility toggle + drag-and-drop reorder in admin
2026-06-28 13:43:02 -05:00
muken
80c562b439
fix: TypeScript errors — cast style props, replace C.white with literal
2026-06-28 13:25:54 -05:00
muken
e97e880695
feat: complete admin portal rewrite with API-connected sections and per-section image uploads
2026-06-28 10:45:47 -05:00
muken
6b13a35fbe
Fix database export and admin page structure
2026-06-28 06:29:04 -05:00
muken
52f6668f02
Implement organized image upload functionality: Added category, room, and location target fields for image uploads
2026-06-27 21:12:07 -05:00
muken
69cb389ecf
admin: close Image Gallery AccordionSection properly
2026-06-27 20:57:46 -05:00
muken
49bf370d41
Prod hardening and K8s drafts: auth fail-close, DB pool, init/schema split, prod init guard
2026-06-27 20:41:41 -05:00
muken
744830c3cd
Add Social Events tab with reservations
2026-06-27 19:40:22 -05:00
muken
71ae322b3f
feat(landscape): multi-photo gallery like rooms with uploads and ordering
2026-06-27 19:29:08 -05:00
muken
cfd0c533a4
fix(admin): slideshow gallery image selection and preview
2026-06-27 19:26:38 -05:00
muken
4bffc27a5a
feat(admin): color picker for calendar events
2026-06-27 19:25:48 -05:00
muken
a11bd3ada8
feat: room photo gallery, featured photo, and comments moderation
2026-06-27 19:25:00 -05:00
muken
8394b60bc2
Add admin slideshow, horizontal animated calendar, and weather strip
2026-06-27 18:40:56 -05:00
muken
75da132327
Admin portal, public pages, footer, site config
2026-06-27 18:10:49 -05:00
muken
1148f7a72f
Switch navbar to #001321 , admin can update logo/favicon, logo links home
2026-06-27 16:44:17 -05:00
muken
8952bbf555
Apply La Huasca brand colors across layout, nav, login, admin, user and home
2026-06-27 16:42:34 -05:00
muken
cc59177a74
Add database integration, auth API, admin/user portals, and deploy-db.sh
2026-06-27 16:40:58 -05:00
muken
26559d4cf8
Add login, role-based portals, and browser-local admin image upload
2026-06-27 16:33:20 -05:00