feat(project): auto-fit all meeting columns on load

The weekly meeting table always starts with "fit all columns" instead of
the widths saved in the browser; it refits once fonts load unless the
user already resized a column.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 11:43:53 +09:00
parent e1f50e0ca5
commit 3045944200
6 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ const server = http.createServer(function (req, res) {
assert(Math.abs(fittedMeeting - zoomedMeeting) <= 1, JSON.stringify({ fittedMeeting, zoomedMeeting }));
await meetingTarget.click({ button: "right" });
await meetingEditing.getByRole("menuitem", { name: "전체 열 너비 자동 맞춤" }).click();
assert(await meetingEditing.evaluate(() => Object.keys(JSON.parse(localStorage.getItem("pj_meet_col_w"))).length === 9));
assert(await meetingEditing.evaluate(() => Object.keys(JSON.parse(localStorage.getItem("pj_meet_col_w"))).length === 8));
assert.deepEqual(meetingErrors, []);
await meetingEditing.locator("#pj-meet-table").screenshot({ path: path.join(__dirname, ".out", "meeting-cell-editing.png") });
await meetingEditing.close();