From 2ea0262b184a4a46abaeecee0c9f90644334f156 Mon Sep 17 00:00:00 2001 From: bicochan Date: Wed, 11 Jun 2025 17:55:23 +0900 Subject: [PATCH] =?UTF-8?q?rename:=20=EC=84=A4=EB=AC=B8=20=EB=B0=8F=20?= =?UTF-8?q?=ED=8C=9D=EC=97=85=20=EC=9C=88=EB=8F=84=EC=9A=B0=20=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../(without-base-layout)/{ => view}/popup/[popupSn]/page.tsx | 0 .../survey-article}/[srvySn]/page.tsx | 0 .../survey-result}/[srvySn]/page.tsx | 0 apps/cs/src/pages/popup/model/table-columns.tsx | 2 +- apps/cs/src/pages/survey/model/survey-table-columns.tsx | 4 ++-- packages/common/components/src/ui/header/index.tsx | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) rename apps/cs/app/(without-base-layout)/{ => view}/popup/[popupSn]/page.tsx (100%) rename apps/cs/app/(without-base-layout)/{user-survey-article => view/survey-article}/[srvySn]/page.tsx (100%) rename apps/cs/app/(without-base-layout)/{user-survey-result => view/survey-result}/[srvySn]/page.tsx (100%) diff --git a/apps/cs/app/(without-base-layout)/popup/[popupSn]/page.tsx b/apps/cs/app/(without-base-layout)/view/popup/[popupSn]/page.tsx similarity index 100% rename from apps/cs/app/(without-base-layout)/popup/[popupSn]/page.tsx rename to apps/cs/app/(without-base-layout)/view/popup/[popupSn]/page.tsx diff --git a/apps/cs/app/(without-base-layout)/user-survey-article/[srvySn]/page.tsx b/apps/cs/app/(without-base-layout)/view/survey-article/[srvySn]/page.tsx similarity index 100% rename from apps/cs/app/(without-base-layout)/user-survey-article/[srvySn]/page.tsx rename to apps/cs/app/(without-base-layout)/view/survey-article/[srvySn]/page.tsx diff --git a/apps/cs/app/(without-base-layout)/user-survey-result/[srvySn]/page.tsx b/apps/cs/app/(without-base-layout)/view/survey-result/[srvySn]/page.tsx similarity index 100% rename from apps/cs/app/(without-base-layout)/user-survey-result/[srvySn]/page.tsx rename to apps/cs/app/(without-base-layout)/view/survey-result/[srvySn]/page.tsx diff --git a/apps/cs/src/pages/popup/model/table-columns.tsx b/apps/cs/src/pages/popup/model/table-columns.tsx index 558b65827..4f9491112 100644 --- a/apps/cs/src/pages/popup/model/table-columns.tsx +++ b/apps/cs/src/pages/popup/model/table-columns.tsx @@ -83,7 +83,7 @@ const PreviewButton = ({ popupSn }: { popupSn: number }) => { const left = response.popupHrzntltyPstn + window.screenX; const top = response.popupVtclPstn + window.screenY; window.open( - `/popup/${popupSn}`, + `/view/popup/${popupSn}`, "", `width=${width},height=${height},left=${left},top=${top}`, ); diff --git a/apps/cs/src/pages/survey/model/survey-table-columns.tsx b/apps/cs/src/pages/survey/model/survey-table-columns.tsx index a1689e38a..a498d1859 100644 --- a/apps/cs/src/pages/survey/model/survey-table-columns.tsx +++ b/apps/cs/src/pages/survey/model/survey-table-columns.tsx @@ -65,7 +65,7 @@ export const columns: ColumnDef[] = [ const left = window.screen.width / 2 - width / 2 + window.screenX; const top = window.screen.height / 2 - height / 2 + window.screenY; window.open( - `/user-survey-article/${row.original.srvySn}`, + `/view/survey-article/${row.original.srvySn}`, "", `width=${width},height=${height},left=${left},top=${top}`, ); @@ -93,7 +93,7 @@ export const columns: ColumnDef[] = [ const left = window.screen.width / 2 - width / 2 + window.screenX; const top = window.screen.height / 2 - height / 2 + window.screenY; window.open( - `/user-survey-result/${row.original.srvySn}`, + `/view/survey-result/${row.original.srvySn}`, "", `width=${width},height=${height},left=${left},top=${top}`, ); diff --git a/packages/common/components/src/ui/header/index.tsx b/packages/common/components/src/ui/header/index.tsx index e0e94e17b..41384a766 100644 --- a/packages/common/components/src/ui/header/index.tsx +++ b/packages/common/components/src/ui/header/index.tsx @@ -64,7 +64,7 @@ export function Header({ viewOnly }: { viewOnly?: boolean }) { const top = (response.popupVtclPstn || 0) + window.screenY; const popupWindow = window.open( - `/popup/${popup.popupSn}`, + `/view/popup/${popup.popupSn}`, "", `width=${width},height=${height},left=${left},top=${top},resizable=yes,scrollbars=yes,status=no,location=no,menubar=no`, );