FiCl Dev Blog한국어

[PR #224·226·230·231·234·238] Before the Server: Six Admin Web Tasks Built on Fake Responses

Work completed 2026-11-18 05:03 KST · Published 2026-11-22 12:51 KST · AI model used for the work Claude Sonnet 5.5

[PR #224·226·230·231·234·238] Before the Server: Six Admin Web Tasks Built on Fake ResponsesSummary figure. Before the server existed, the material types, calculation standard version and share table, module tab settings, work record lookup and input correction review screens were built in turn on fake responses (MSW), the list past the last page was fixed, and two testing lessons came out of itPR #224·226·230·231·234·238Before the server:admin web on fake responsesStandards → records → corrections, pages → lessonsI mergedall six PRsClaude tested,checkedCodex implementedRulesRecordsFixesLessonsⅠStandardsPR 224·226·2301Material typesOff still showsin past recordsDuplicate name noted by field2Standard versionUnsaved edits lock approvalThe server checks share rulesⅡRecordsPR 231·2343Module tabStart days, count, devicesNotice after 7 days4Work recordsFilters kept in address'Could not calculate'ⅢFixesPR 2385Correction notesSee before and after, note onceNo button once noted6Past the last pageKeep filters, move page'Go to last page' buttonⅣLessonsLearned from tests7Late-appearing partsWrite tests that waitSame mistake in three PRs8CRLF line endingsRegex replace silently missedCheck the result by eyeKey: screens built on fake responses are not yet matchedto the real server. Wait for late parts from the start.FiCl Dev Blog · Post summary figure
[PR #224·226·230·231·234·238] Before the Server: Six Admin Web Tasks Built on Fake ResponsesSummary figure. Before the server existed, the material types, calculation standard version and share table, module tab settings, work record lookup and input correction review screens were built in turn on fake responses (MSW), the list past the last page was fixed, and two testing lessons came out of itPR #224·226·230·231·234·238Before the server:admin web on fake responsesStandards → records → corrections, pages → lessonsI mergedall six PRsClaude tested,checkedCodex implementedRulesRecordsFixesLessonsⅠStandardsPR 224·226·2301Material typesOff still showsin past recordsDuplicate name noted by field2Standard versionUnsaved edits lock approvalThe server checks share rulesⅡRecordsPR 231·2343Module tabStart days, count, devicesNotice after 7 days4Work recordsFilters kept in address'Could not calculate'ⅢFixesPR 2385Correction notesSee before and after, note onceNo button once noted6Past the last pageKeep filters, move page'Go to last page' buttonⅣLessonsLearned from tests7Late-appearing partsWrite tests that waitSame mistake in three PRs8CRLF line endingsRegex replace silently missedCheck the result by eyeKey: screens built on fake responses are not yet matchedto the real server. Wait for late parts from the start.FiCl Dev Blog · Post summary figure

I built the admin web screens for the third sub-milestone in six PRs, one after another. They are the screens where headquarters manages input materials and calculation standards, and looks over the records customers leave. The server features these screens call were being built at the same time in another work stream and did not exist yet. So every screen was built first on fake responses (MSW, a tool that imitates server responses in tests).

All six tasks ran the same way on my Windows computer. A Claude Code session (Claude Sonnet 5.5) handled the tests, work instructions, checks, documents and PRs, and Codex (gpt-6.1-terra, reasoning medium) wrote the code. The tests come first and the implementation is handed over after. The final review was codex exec review (Codex’s default model, name unknown), and I merged all six PRs.

What was built

PR What was built Key behavior
224 Material types screen and four new menu items Headquarters creates material names and turns them “on/off”. A material turned off still shows in past records. A duplicate name shows “That name already exists” next to the field; the button locks while saving, and the input stays if saving fails. Three screens for later tasks got their menu items first.
226 Calculation standard version screen The standard for calculating the daily input amount is created as a “version” and approved. A draft sets how many times a day the input is split, the times and shares, and three standard tables. Rows copied from Excel can be pasted; a wrong row is refused with “Please check row n”. Pressing approve twice sends one request, and approved and past versions are view-only.
230 Material share table by days elapsed On the same edit screen, each range of days elapsed gets materials and percentages. If they do not add up to 100 it shows “Total ○%” but can still be saved. If the material list fails to load, the rest of the screen and saving still work.
231 Three settings on the module tab Days elapsed at the start, a count adjustment (base date, count, reason), and a site-level device table (A–D, each with its target stage). With no count record, or one older than 7 days, it shows “Check the count record”.
234 Work record lookup Input, count, device input and refill records in one table. Filters stay in the address; the default is 7 days and the maximum 92. The detail view shows the version history and the calculation basis for that day’s plan, or “Could not calculate: reason” instead of an empty table.
238 Input correction review, and pages past the end Headquarters sees the before and after values of a corrected input record and leaves one review note (1–500 characters); once noted, the button is gone. It also fixed the “list past the last page” issue from the PR 234 review (below).

Choices made and alternatives dropped

A list past the last page

In the PR 234 review, Codex pointed out one problem. Suppose page 2 is bookmarked, and the 7-day window moves so there are fewer records; that page then has no items. The total count is above zero, yet the screen said “No work records match these filters”, and “Reset filters” cleared the filters instead of the page.

In PR 238 the screen now shows “The list changed and this page has no records” with a “Go to last page” button. The filters stay and only the page number moves to the last page. If the total is zero, the usual empty-result message appears. Sending the user to the last page automatically was dropped: the screen would change suddenly, and tests could not see the in-between state. It works the same way as the existing record list’s “Go to page 1” button.

How it was checked

Each PR ran the admin web tests, type checking (typecheck), code rule checks (lint), the full npm run verify, the browser tests (npm run e2e, 7 tests) and codex exec review.

What was not checked

Lessons