feat(meeting-room): Frappe Desk UI đặt phòng — field order + Calendar view + client script (TETRA-2200) #169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/TETRA-2200-frappe-desk-booking-ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TETRA-2200 — Frappe Desk UI đặt phòng họp (cho khách Frappe-only)
Cải thiện UX đặt phòng ngay trên Frappe Desk (logic
validate()chống trùng giữ nguyên). Chỉ chỉnh UI.Thay đổi
title_field=title→ list/calendar hiện tiêu đề thayMRB-xxxxx.*_calendar.js: bật Calendar view (ngày/tuần/tháng).*.jsclient script:set_querychỉ phòng active; chọn phòng → hiện info phòng (sức chứa/vị trí/tiện ích/cần duyệt) quaset_intro; cảnh báo trùng giờ client-side (validate()vẫn là chốt cuối).Code review (1 reviewer độc lập, verify vs Frappe source)
show_room_infothêm.catch(tránh unhandled rejection nếu phòng bị xóa/no-perm).style_map/get_css_classtô màu theo status — build FullCalendar này không apply (event chỉ có classfc-*); giữ calendar mặc định cho chắc.start<end AND end>start) khớp servercheck_room_overlap; set_query/get_list/set_intro/show_alert syntax đúng; field_order đủ 14 field; title_field hợp lệ.Test Frappe Desk (Playwright)
field order (room trước time), Calendar view (4 events, titles+giờ), dropdown "Filtered by: Is Active", room info intro, cảnh báo "Room busy" khi đè giờ — đều PASS.
Refs: TETRA-2200