feat: integrate dashboard modules and document history

This commit is contained in:
hyunho
2026-03-26 18:03:07 +09:00
parent baf6019c1c
commit 61b5638cb1
22 changed files with 14252 additions and 79 deletions

View File

@@ -167,6 +167,11 @@ async function loadActiveSeatMapLayout(force = false) {
}
}
function handleSeatMapLayoutUpdated() {
seatMapLayoutCache = null;
loadMembers().catch(() => { });
}
function getMemberSeatInfo(layout, memberId) {
if (!layout || !memberId) {
return null;
@@ -610,6 +615,16 @@ function openSeatMapView(event) {
}
}
window.addEventListener('message', (event) => {
const data = event.data;
if (!data || typeof data !== 'object') {
return;
}
if (data.type === 'seatmap-layout-updated') {
handleSeatMapLayoutUpdated();
}
});
function triggerUpload(event) {
if (event) {
event.stopPropagation();