feat: room history tab + tech task resolution comment
- RoomModal: new "История" tab showing all housekeeping and maintenance tasks for the room - Groups tasks by date (newest first), expandable cards - Shows: assignee, start time, end time, duration (started_at → completed_at) - For maintenance: description, problem/solution photos with lightbox viewer - Timing grid: start / completion timestamps - Backend GET /housekeeping: add room_id filter param - TechnicalPage CompletionModal: add resolution comment field saved to task notes - api.ts: housekeeping.list() accepts roomId param Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -241,6 +241,7 @@ export function RoomsPage() {
|
||||
open={modalOpen}
|
||||
room={editingRoom}
|
||||
existingNumbers={rooms.map(r => r.number)}
|
||||
slug={slug}
|
||||
onClose={() => { setModalOpen(false); setSaveError(null) }}
|
||||
onSave={handleSave}
|
||||
onDelete={editingRoom ? () => handleDelete(editingRoom.id) : undefined}
|
||||
|
||||
Reference in New Issue
Block a user