- {embedded ? (
- description ?
{description}
: null
- ) : (
-
} />
- )}
+ {description ?
{description}
: null}
{isLoading ? (
@@ -75,7 +61,7 @@ export function RoomTripSettingsSection({
여행 정보를 불러오지 못했어요.
) : (
-
+
)}
);
diff --git a/src/components/settings/SettingsActionButton.tsx b/src/components/settings/SettingsActionButton.tsx
index 981e4eeb..cf17ba5a 100644
--- a/src/components/settings/SettingsActionButton.tsx
+++ b/src/components/settings/SettingsActionButton.tsx
@@ -4,7 +4,7 @@ import { type ButtonHTMLAttributes, type ReactNode } from "react";
import { cn } from "@/lib/utils";
-/** room-settings `RoomTripEditForm` 하단 액션 버튼과 동일 */
+/** `RoomTripEditForm` 하단 액션 버튼과 동일 */
export const settingsActionButtonVariantClass = {
secondary:
"rounded-full border border-gray-border bg-transparent py-2.5 text-label-l-emphasis mobile:text-label-m-emphasis font-semibold text-dark-gray transition hover:bg-bubble-gray disabled:cursor-not-allowed disabled:opacity-40",
diff --git a/src/lib/analytics/room-context.test.ts b/src/lib/analytics/room-context.test.ts
index e34325a5..8115c1ef 100644
--- a/src/lib/analytics/room-context.test.ts
+++ b/src/lib/analytics/room-context.test.ts
@@ -11,7 +11,7 @@ describe("room route boundaries", () => {
);
});
describe("optional analytics room context", () => {
- it.each(["/plan", "/plan/room-a", "/map", "/map?view=route", "/chat", "/search", "/cost", "/bookmark/folder-b", "/settings", "/member-settings", "/room-settings"])(
+ it.each(["/plan", "/plan/room-a", "/map", "/map?view=route", "/chat", "/search", "/cost", "/bookmark/folder-b", "/settings", "/member-settings"])(
"uses confirmed selected room for %s", (pathname) => {
expect(resolveAnalyticsRoomId({ ...session, pathname })).toBe("room-a");
},
diff --git a/src/lib/analytics/room-context.ts b/src/lib/analytics/room-context.ts
index b4f0ee6e..7d12ad3f 100644
--- a/src/lib/analytics/room-context.ts
+++ b/src/lib/analytics/room-context.ts
@@ -1,7 +1,7 @@
import { parseRoomContextPath } from "@/lib/room-context-path";
const roomRootPaths = new Set([
- "plan", "map", "chat", "bookmark", "search", "cost", "settings", "room-settings", "member-settings",
+ "plan", "map", "chat", "bookmark", "search", "cost", "settings", "member-settings",
]);
const roomDetailPaths = new Set(["plan", "packing", "bookmark"]);
diff --git a/src/lib/auth-session.test.ts b/src/lib/auth-session.test.ts
index 3c6b9e96..f00e4ce5 100644
--- a/src/lib/auth-session.test.ts
+++ b/src/lib/auth-session.test.ts
@@ -16,7 +16,6 @@ describe("isProtectedAppPath", () => {
"/bookmark/folder-1",
"/search",
"/member-settings",
- "/room-settings",
"/settings",
"/waiting",
])("treats %s as a protected app URL", (pathname) => {
diff --git a/src/lib/auth-session.ts b/src/lib/auth-session.ts
index 666a6d9e..c6cb9d86 100644
--- a/src/lib/auth-session.ts
+++ b/src/lib/auth-session.ts
@@ -52,7 +52,6 @@ export function isProtectedAppPath(pathname: string): boolean {
"/bookmark",
"/search",
"/member-settings",
- "/room-settings",
"/settings",
"/waiting",
];
diff --git a/src/lib/layout/mainChromeLayoutWidth.test.ts b/src/lib/layout/mainChromeLayoutWidth.test.ts
index 36b5f9c6..3b0a735c 100644
--- a/src/lib/layout/mainChromeLayoutWidth.test.ts
+++ b/src/lib/layout/mainChromeLayoutWidth.test.ts
@@ -2,7 +2,7 @@ import { expect, it } from "vitest";
import { resolveLeftSectionTargetMaxWidthPx, resolveDesktopLeftSectionMinWidthPx } from "./mainChromeLayoutWidth";
it("keeps the schedule width across collaboration tabs and /chat, including page width effects", () => {
- for (const pathname of ["/plan", "/plan/room", "/chat", "/search", "/bookmark", "/bookmark/folder", "/member-settings", "/room-settings", "/settings"]) {
+ for (const pathname of ["/plan", "/plan/room", "/chat", "/search", "/bookmark", "/bookmark/folder", "/member-settings", "/settings"]) {
for (const contentWidthToken of ["", "400px"]) {
expect(resolveLeftSectionTargetMaxWidthPx({ pathname, contentWidthToken, isMobile: false })).toBe(720);
expect(resolveLeftSectionTargetMaxWidthPx({ pathname, contentWidthToken, isMobile: true })).toBeNull();
diff --git a/src/lib/layout/mainChromeLayoutWidth.ts b/src/lib/layout/mainChromeLayoutWidth.ts
index 1230a15e..945349b2 100644
--- a/src/lib/layout/mainChromeLayoutWidth.ts
+++ b/src/lib/layout/mainChromeLayoutWidth.ts
@@ -58,9 +58,7 @@ export function resolveRouteDefaultContentWidth(pathname: string): string {
pathname === "/bookmark" ||
pathname.startsWith("/bookmark/") ||
pathname === "/member-settings" ||
- pathname.startsWith("/member-settings/") ||
- pathname === "/room-settings" ||
- pathname.startsWith("/room-settings/")
+ pathname.startsWith("/member-settings/")
) {
return width.s1;
}
diff --git a/src/proxy.test.ts b/src/proxy.test.ts
index e68b793c..d2f7b5c0 100644
--- a/src/proxy.test.ts
+++ b/src/proxy.test.ts
@@ -97,7 +97,6 @@ describe("protected route redirect indexing contract", () => {
"/cost",
"/cost/detail",
"/member-settings",
- "/room-settings",
"/settings",
"/waiting",
])("marks the unauthenticated %s redirect noindex, nofollow", async (path) => {
diff --git a/src/proxy.ts b/src/proxy.ts
index 06928251..49b9f859 100644
--- a/src/proxy.ts
+++ b/src/proxy.ts
@@ -121,8 +121,6 @@ export const config = {
"/search/:path*",
"/member-settings",
"/member-settings/:path*",
- "/room-settings",
- "/room-settings/:path*",
"/settings",
"/settings/:path*",
"/waiting",