feat: partial check in & scan to check in:#1952
Conversation
- implement partialChecking service - update check in button to have 2 options
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
|
…ts with other overlapping bookings
…handle all availability logic due to complications with partial check-ins
…select check in for assets
|
so epic you keep pushing here bro, thanks! |
…k assets or kits by going around some limitations
…ls are shown for partially checked in assets
…justing blockers in partial-checkin-drawer to consider the context status
…the bulk actions dropdown and modal
…ecked in and checkinBooking service
There was a problem hiding this comment.
Pull Request Overview
This PR implements a comprehensive partial check-in feature for bookings, allowing users to scan QR codes to incrementally check in assets while maintaining proper state management and conflict resolution. The implementation includes centralized business logic, enhanced UI components, and administrative update management features.
Key Changes
- Partial Check-in System: Added scanning interface and progress tracking for individual asset check-ins within bookings
- Centralized Booking Conflict Logic: Unified business rules for asset/kit availability across all booking operations
- Administrative Update Management: New system for admins to create and manage user-facing updates with role-based targeting
Reviewed Changes
Copilot reviewed 75 out of 76 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Added @radix-ui/react-progress dependency for progress indicators |
| docs/booking-conflict-queries.md | Comprehensive documentation of booking conflict patterns and business rules |
| app/utils/booking-assets.ts | Centralized utilities for context-aware asset/kit status resolution |
| app/routes/_layout+/bookings.$bookingId.tsx | Enhanced booking page with partial check-in support and progress tracking |
| app/routes/_layout+/bookings.$bookingId.checkin-assets.tsx | New QR scanner interface for partial asset check-ins |
| app/modules/booking/service.server.ts | Core partial check-in logic and enhanced conflict validation |
| app/modules/update/service.server.ts | Complete user update management system with role targeting |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.