Skip to content

Commit 862ea6e

Browse files
ppiyakk2claude
andcommitted
fix: 타임테이블 방 표기 정정 (Room2 제거, 6층 Main + 7층 Room1)
실제 사용 가능한 방은 6층 Main과 7층 Room1 두 곳. 기존 room1 배정 발표들을 6층 Main으로, 기존 room2 배정 발표들을 7층 Room1로 재배치. - TimetableList: 3열 → 2열 구조 (6층 Main / 7층 Room1) - findSessionByCode room 레이블 갱신 → 상세 페이지 장소 표기도 자동 반영 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 01ad155 commit 862ea6e

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

src/components/TimetableList.jsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ function TimetableList({ sessions }) {
6363
<th className="tt-th tt-th-time"></th>
6464
<th className="tt-th">6층 Main</th>
6565
<th className="tt-th">7층 Room1</th>
66-
<th className="tt-th">7층 Room2</th>
6766
</tr>
6867
</thead>
6968
<tbody>
@@ -74,7 +73,7 @@ function TimetableList({ sessions }) {
7473
<td className="tt-td tt-time">
7574
<TimeRange start={row.time} end={row.endTime} />
7675
</td>
77-
<td className="tt-td tt-cell-full" colSpan={3}>
76+
<td className="tt-td tt-cell-full" colSpan={2}>
7877
<SessionCell title={title(row)} speaker={row.speaker} code={row.code} />
7978
</td>
8079
</tr>
@@ -87,7 +86,6 @@ function TimetableList({ sessions }) {
8786
<td className="tt-td tt-time">
8887
<TimeRange start={row.time} end={row.endTime} />
8988
</td>
90-
<td className="tt-td tt-cell-empty"></td>
9189
<td className="tt-td tt-cell-session">
9290
<SessionCell title={roomTitle(row.room1)} speaker={row.room1.speaker} code={row.room1.code} />
9391
</td>
@@ -103,7 +101,7 @@ function TimetableList({ sessions }) {
103101
<td className="tt-td tt-time tt-time-break">
104102
<TimeRange start={row.time} end={row.endTime} />
105103
</td>
106-
<td className="tt-td tt-cell-break" colSpan={3}>
104+
<td className="tt-td tt-cell-break" colSpan={2}>
107105
{title(row) && <span className="tt-break-label">{title(row)}</span>}
108106
</td>
109107
</tr>

src/data/schedule.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ export function findSessionByCode(code) {
200200
}
201201
if (row.type === 'parallel') {
202202
for (const [key, label, labelEn] of [
203-
['room1', '7층 Room1', '7F Room1'],
204-
['room2', '7층 Room2', '7F Room2'],
203+
['room1', '6층 Main', '6F Main'],
204+
['room2', '7층 Room1', '7F Room1'],
205205
]) {
206206
const r = row[key];
207207
if (r && r.code === code) {

0 commit comments

Comments
 (0)