FiCl Dev Blog한국어

[PR #225·228·232·237·239·241·244] Building Seven Groups of Customer App Screens on Mock Responses First

Work completed 2026-11-18 21:07 KST · Published 2026-11-22 12:59 KST · AI model used for the work Claude Sonnet 5.5, Claude Opus 5.5

[PR #225·228·232·237·239·241·244] Building Seven Groups of Customer App Screens on Mock Responses FirstSummary. Building customer app screens on mock responses before the server was ready: not inventing the missing material list request, rounding via integers, blocking late responses from another module, and the unfixed finding of no input lock while savingPR #225·228·232·237·239·241·244Seven Groups of App ScreensBefore the server, on mock responsesRan on my computerClaude tested and checkedCodex implemented1Don't invent requestsNo request for material typesShow only, or lock savingAdmin list dropped: other permissions2Round via integers1.205kg is shown as 1.21kgTotals in 1g, limits in 0.1LInteger checks keep decimal errors out3Another module's late replyThe response has no module numberPut the module in every request keyNever show the old value instead4Findings left unfixedNo input lock while saving (3 screens)No max on the Android time pickerBetter fixed once in a shared partTests can be wrong tooTests Claude wrote were wrong three times: a value off the rule, a free pass, a clash with old testsKeyDon't invent what isn't there; cut the feature down to stay safe.FiCl Dev Blog · Post summary figure
[PR #225·228·232·237·239·241·244] Building Seven Groups of Customer App Screens on Mock Responses FirstSummary. Building customer app screens on mock responses before the server was ready: not inventing the missing material list request, rounding via integers, blocking late responses from another module, and the unfixed finding of no input lock while savingPR #225·228·232·237·239·241·244Seven Groups of App ScreensBefore the server, on mock responsesRan on my computerClaude tested and checkedCodex implemented1Don't invent requestsNo request for material typesShow only, or lock savingAdmin list dropped: other permissions2Round via integers1.205kg is shown as 1.21kgTotals in 1g, limits in 0.1LInteger checks keep decimal errors out3Another module's late replyThe response has no module numberPut the module in every request keyNever show the old value instead4Findings left unfixedNo input lock while saving (3 screens)No max on the Android time pickerBetter fixed once in a shared partTests can be wrong tooTests Claude wrote were wrong three times: a value off the rule, a free pass, a clash with old testsKeyDon't invent what isn't there; cut the feature down to stay safe.FiCl Dev Blog · Post summary figure

This post groups seven customer app screen tasks (PRs 225, 228, 232, 237, 239, 241 and 244) into one. Shared parts came first, and on top of them we added, in order, the daily plan view, plan editing, input records, count changes, device input, and prep and history screens. For most screens the server endpoints did not exist yet or were still being built on another track (a separate line of work running at the same time), so the screens were built and tested on mock responses (fixed answers a test returns in place of the server).

All seven tasks ran on my Windows computer. A Claude Code session (Claude Sonnet 5.5) handled the tests, work instructions, verification, docs and PRs, and Codex (gpt-6.1-terra, reasoning medium) wrote the code. Claude writes the tests and Codex implements, and Codex did not edit the test files. The coordinating session that split the tracks and watched over them was Claude Opus 5.5. The final review was codex exec review (its model name is not in the devlog).

What we built

PR What Key points
225 Shared parts Round status labels (e.g. “13:00 planned”), copy and next actions for six reasons a plan could not be calculated, kg and L display functions, the “round total vs. daily total” check, and 16 customer request functions. All screen copy lives in one copy file.
228 Today’s plan screen The daily total, the list of rounds with their buttons, the actual total, and copy and action buttons for blocked states. Three ways in: the care tab, a home card, and the card shown after a record is saved.
232 Plan editing Time, amount and method per round, adding and removing rounds, and a required reason. Rounds already recorded or skipped are locked, and saving is blocked when the sum does not match the daily total.
237 Input record and post-record check Actual time (up to 48 hours back), material lines, a memo, and “skip this round”. If saving fails, a draft (input the app keeps for a while) stays and the request is resent with the same request ID.
239 Count changes List, record and edit changes such as decreases, send-outs and moves. Today’s plan screen now shows a block notice together with the existing plan.
241 Device input and refill A list of device cards, device input records, and refill records (three steps inside one screen).
244 Prep, editing and history Recording when a device was filled with material, editing a saved input record (saved as a new version), and viewing records by date with what changed per version (“before → after”). These match the response shapes of the server already merged in PR 236.

Choices we made and alternatives we dropped

Don’t invent requests that don’t exist

There was no request yet that returns the list of material types a customer may choose. Three screens hit the same gap, and all three chose not to invent one.

The dropped alternative was using the admin material list. Its permissions are different, so the customer app must not use it. Where a response shape was not decided yet (that a new record ID comes back as id, the shape of one count-list row, and so on), the app keeps its own types and the devlog marks them as assumptions. Adding them straight to the shared types (definitions both server and app use) was dropped because it would tangle with the server track.

Round by converting to integers

Don’t draw another module’s late response

The today’s-plan response has no value (moduleId) saying which module (the unit a customer manages) it is for. So after switching from M1 to M2, a late M1 response could be drawn on the M2 screen.

When only part arrives, hide rather than show a wrong value

Other choices

How we checked

Review findings we did not fix this time

codex exec review found no major defects (P1) in the seven tasks and raised several minor ones (P2). Most are rare cases, so they were written in the PRs and not fixed this time. What stands out is the same kind repeating across screens.

Finding What happens Direction of the fix
No input lock while saving (three screens) Anything changed while a save request is in flight is lost when it succeeds. For prep records, after a failure where the response was lost, editing a value and resending with the same request ID makes the server return the first answer, so it looks like success even though the edit was not saved. Lock input on resend, or use a new request ID when a value changes.
No maximum on Android’s time picker (two screens) A time later than now can be chosen, and a server rejection shows only as a generic save failure. Fix once in the shared time input part.
Phone time zone not Korea A value made as midnight Korean date can show as the previous day in the date picker. Handle dates independently of the time zone.
Restoring a plan draft, splitting materials Locked rounds can be reordered, and splitting one round across several material types can produce a negative line from 1g rounding. Not confirmed (the devlog gives no direction).
Edit button on skipped records The button shows, but pressing it only shows a notice. Add one condition line.

What we could not check

What we learned