fix: update file handling and improve query logging

- Added mes-architecture-guide.md to .gitignore to prevent unnecessary tracking.
- Enhanced NodeFlowExecutionService to merge context data for WHERE clause, improving query accuracy.
- Updated logging to include values in SQL query logs for better debugging.
- Removed redundant event dispatches in V2Repeater to streamline save operations.
- Adjusted DynamicComponentRenderer to conditionally refresh keys based on component type.
- Improved FileUploadComponent to clear localStorage only for modal components, preventing unintended resets in non-modal contexts.

These changes aim to enhance the overall functionality and maintainability of the application, ensuring better data handling and user experience.
This commit is contained in:
kjs
2026-03-18 17:43:03 +09:00
parent 359bf0e614
commit c634e1e054
8 changed files with 95 additions and 87 deletions

View File

@@ -691,25 +691,27 @@ export const ButtonPrimaryComponent: React.FC<ButtonPrimaryComponentProps> = ({
target: "all",
});
// 2. 모달 닫기 (약간의 딜레이)
setTimeout(() => {
// EditModal 내부인지 확인 (isInModal prop 사용)
const isInEditModal = (props as any).isInModal;
// 2. 모달 닫기 (약간의 딜레이, 모달 내부에서만)
const isInEditModal = (props as any).isInModal;
const isInScreenModal = !!(props as any).isScreenModal || !!context.onClose;
if (isInEditModal) {
v2EventBus.emitSync(V2_EVENTS.MODAL_CLOSE, {
modalId: "edit-modal",
reason: "save",
if (isInEditModal || isInScreenModal) {
setTimeout(() => {
if (isInEditModal) {
v2EventBus.emitSync(V2_EVENTS.MODAL_CLOSE, {
modalId: "edit-modal",
reason: "save",
});
}
// ScreenModal 연속 등록 모드 지원
v2EventBus.emitSync(V2_EVENTS.MODAL_SAVE_SUCCESS, {
modalId: "screen-modal",
savedData: context.formData || {},
tableName: context.tableName || "",
});
}
// ScreenModal은 연속 등록 모드를 지원하므로 saveSuccessInModal 이벤트 발생
v2EventBus.emitSync(V2_EVENTS.MODAL_SAVE_SUCCESS, {
modalId: "screen-modal",
savedData: context.formData || {},
tableName: context.tableName || "",
});
}, 100);
}, 100);
}
}
} catch (error) {
// 로딩 토스트 제거