Commit Graph

31 Commits

Author SHA1 Message Date
6ba7faa696 fix(bookings): correct table overflow and width styling
Remove overflow-x-auto from the table wrapper
Apply minimum width using the UTable ui prop instead of standard classes
2026-05-09 14:39:26 +08:00
f6212d8101 fix(ui): mark transaction document links as external
Add external prop to UButton components linking to document URLs
Prevents the router from intercepting external downloads
2026-05-09 14:01:05 +08:00
cb683d6b3d feat(bookings): restrict management to assigned PIC or super admin
Secure API endpoints with requireBookingManager authorization check
Update confirmation page to prompt for login if unauthorized
Add safe redirect handling to login and guest middleware
2026-05-09 13:28:50 +08:00
a56a6706b0 feat(bookings): add payment and document upload to confirmation page
Allow users to select payment method and upload receipts before confirming.
Add public API endpoints for payment updates and document management.
2026-05-09 13:15:45 +08:00
b64a2b4c1c feat(bookings): add transaction document uploads for bank payments
Add payment method selection (Cash/Bank) to booking details
Support uploading, downloading, and deleting transaction documents
Update database schema and API endpoints to handle file storage
2026-05-09 12:56:32 +08:00
3710216346 feat(ui): display purchaser details on receipt and seat pages
Show customer name and phone number in a new panel
Add English and Chinese translations for the purchaser label
2026-05-09 12:32:41 +08:00
4f25f2b2f8 feat(seo): add meta tags and page titles
Configure default head meta and title template in nuxt.config.ts
Add dynamic SEO meta tags and robots directives to all pages
2026-05-08 17:07:43 +08:00
25720b21e1 refactor(ui): streamline booking form layout and table actions
Consolidate booking table row actions into a dropdown menu
Update booking page layout to use a sidebar card for event details
2026-05-08 16:52:30 +08:00
b6749bc5e7 feat(ui): improve mobile responsiveness and touch targets
Add mobile-optimized card view for seat lists on smaller screens
Increase minimum height for buttons and form items for better touch interaction
Adjust grid layouts, padding, and spacing across pages for mobile devices
2026-05-08 16:28:47 +08:00
227c64d346 refactor(ui): standardize page layouts and component styling
Introduce structural CSS classes for page shells, headers, and surface cards
Update primary theme color to red and neutral to zinc across the application
2026-05-08 16:25:42 +08:00
bc009cffda docs: add AGENTS.md documentation
Create AGENTS.md to document agent-related information and guidelines
2026-05-08 16:04:17 +08:00
e05c238495 feat(bookings): allow editing and soft-deleting bookings
Add edit modal to update guest details, ticket selection, and quantity
Implement soft delete functionality to archive bookings
2026-05-08 15:57:32 +08:00
1318e766d5 feat(i18n): add multi-language support (en/zh) across app and server
Implement useLocale composable and shared translation dictionaries
Translate public pages, booking flow, and receipt views
Store booking locale to send localized WhatsApp notifications
2026-05-08 15:31:44 +08:00
b05cfd2c0e build: specify pnpm as the package manager
Add packageManager field to package.json with pnpm@10.33.2
2026-05-08 14:53:34 +08:00
f77f4390b6 feat(bookings): allow transferring bookings to another PIC
Add UI modal and button to reassign bookings to different contacts
Create API endpoint and repository method to handle PIC transfers
2026-05-08 14:36:01 +08:00
13e85cfcd0 feat(bookings): allow cancelling booking confirmations
Add API endpoint to revert confirmed bookings to pending status
Add unconfirm buttons to the bookings list and confirmation page
Update inventory summary when a confirmation is cancelled
2026-05-05 07:04:42 +08:00
4e40bfd804 feat(users): add drag-and-drop reordering for PICs
Introduce pic_sort_order to persist custom user ordering
Replace data table with a custom draggable grid layout
Add API endpoint to handle bulk order updates
2026-05-04 14:07:43 +08:00
30753fdc61 feat(bookings): add internal remark field to bookings
Add a remark column to the bookings table for management-only notes.
Include UI to view and edit remarks directly from the bookings list.
Create API endpoint and database queries to support remark updates.
2026-05-04 11:59:41 +08:00
3f7025c8e4 feat(booking): move event and ticket configuration to database
Replace hardcoded event details and ticket types with dynamic DB records
Add booking-config API endpoint to serve active event settings
2026-05-04 10:09:08 +08:00
06165f80db feat(auth): make passkey enrollment optional on first login
Remove passkey requirement from user onboarding flow
Update UI badges to show passkeys as optional rather than pending
Update documentation to reflect the new behavior
2026-04-27 13:25:05 +08:00
c214d643dd feat: send ticket receipts via WhatsApp and normalize phone numbers
Add WhatsApp API integration for automated receipt delivery
Enforce country codes for all phone number inputs (defaults to +60)
2026-04-27 13:12:25 +08:00
faa998c7e1 refactor(bookings): simplify capacity tracking to use seats
Replace 'pax' booking mode with 'seat'
Consolidate inventory summary to track only seat counts
Update database schema and UI for seat-centric capacity
2026-04-13 08:49:54 +08:00
c47d0d287e feat(receipt): redesign receipt page and seat sharing UI
Replace expandable seat list with a data table
Move batch seat sharing into a dedicated modal
Add ability to share individual seats directly
Remove redundant share receipt link action
2026-04-12 23:33:54 +08:00
6194c96ead feat(bookings): implement ticket receipts and seat sharing system
Add receipt tokens and booking_seats table to track individual tickets
Create receipt and seat view pages with QR code generation
2026-04-12 22:48:26 +08:00
7f582b530c chore(docker): add development environment with hot reload
Add dev stage to Dockerfile and startup script
Create docker-compose.dev.yml for local development
Update README with Docker dev mode instructions
2026-04-12 21:54:58 +08:00
8541c4a2d1 feat(bookings): implement booking system and confirmation flow
Add database tables and repository for managing bookings
Create API endpoints for booking submission and capacity management
Update landing page to persist bookings before WhatsApp redirection
2026-04-12 21:43:30 +08:00
07e5d42005 refactor: centralize validation, error handling, and formatting logic
Extract shared auth logic and validation rules to shared/auth.ts
Introduce utility functions for HTTP errors and user input parsing
Standardize error messages and date formatting across the app
2026-04-12 20:29:39 +08:00
377a9617be feat: implement auth system, passkeys, and user management
Add PostgreSQL and Redis integration for users and sessions
Implement password and WebAuthn passkey login flows
Add Docker stack, super-admin seeding, and protected routes
2026-04-12 20:16:43 +08:00
a649c509c2 feat(ui): integrate Nuxt UI and rebuild layout and login pages
Wrap application in UApp and apply base UI styles
Build responsive default layout with navigation and footer
Implement staff login form with validation and toast notifications
Restructure index page routing
2026-04-12 18:32:09 +08:00
4288c98e21 feat: setup Tailwind CSS and initial routing structure
Configure @tailwindcss/vite in Nuxt config
Add default layout and main CSS file
Create initial index and login pages
Replace default Nuxt welcome screen with page routing
2026-04-12 17:53:01 +08:00
25874073b1 initial commit 2026-04-12 16:00:31 +08:00