FiCl Dev Blog한국어

[PR #268·273·276·279·281] Customer App Task Screens: So Customers Don't Believe Something Wrong

Work completed 2026-11-25 08:28 KST · Published 2026-12-03 23:21 KST · AI model used for the work Claude Opus 5.5

[PR #268·273·276·279·281] Customer App Task Screens: So Customers Don't Believe Something WrongSummary figure. In the Detail 4 customer app screens for today's tasks, doing a task, progress, and device input and refill records: a "preparing" notice, hiding the badge number, using server numbers as is, showing done only after success, a send-again button that disappears when values change, not reading head office notes, and a planned screen that did not existPR #268·273·276·279·281So customers don'tbelieve something wrongDetail 4 customer app: today's tasks · doing a task · progress · recordsClaude wrote tests firstCodex built, reviewedClaude compared, checked1"Preparing," not "none"No list: not "No quests"but "Head office is preparing"One tab fails: hide the badge number2Server numbers as isThe app doesn't recount the listTests give mismatched list and numbersDates ignore the phone's time zone3"Done" only after successOn failure, keep picks and note"Couldn't save" and send againLock "See progress" while saving4A button with old valuesAfter a fix, it sent old valuesReview found it; Claude tested firstAny change hides "Send again"5Don't even read HQ notesServer doesn't send; app doesn't readTests put them in fake responsesErrors announced to screen readers6The plan's "existing screen"No edit or history screen in the appNot built without my approvalAnother site resets the filterKeyIf you don't know, show "don't know" instead of a wrong value.Use the server's count; show "done" only after the server says success.FiCl Dev Blog · Post summary figure
[PR #268·273·276·279·281] Customer App Task Screens: So Customers Don't Believe Something WrongSummary figure. In the Detail 4 customer app screens for today's tasks, doing a task, progress, and device input and refill records: a "preparing" notice, hiding the badge number, using server numbers as is, showing done only after success, a send-again button that disappears when values change, not reading head office notes, and a planned screen that did not existPR #268·273·276·279·281So customers don'tbelieve something wrongDetail 4 customer app: today's tasks · doing a task · progress · recordsClaude wrote tests firstCodex built, reviewedClaude compared, checked1"Preparing," not "none"No list: not "No quests"but "Head office is preparing"One tab fails: hide the badge number2Server numbers as isThe app doesn't recount the listTests give mismatched list and numbersDates ignore the phone's time zone3"Done" only after successOn failure, keep picks and note"Couldn't save" and send againLock "See progress" while saving4A button with old valuesAfter a fix, it sent old valuesReview found it; Claude tested firstAny change hides "Send again"5Don't even read HQ notesServer doesn't send; app doesn't readTests put them in fake responsesErrors announced to screen readers6The plan's "existing screen"No edit or history screen in the appNot built without my approvalAnother site resets the filterKeyIf you don't know, show "don't know" instead of a wrong value.Use the server's count; show "done" only after the server says success.FiCl Dev Blog · Post summary figure

These five PRs built the Detail 4 (quests, routines, head office review) customer app screens one after another: the parts the screens use (PR 268), today’s tasks and the home card (PR 273), doing a task (PR 276), progress and head office replies (PR 279), and my device input and refill records (PR 281). One thread ties them together: don’t let the customer believe something wrong. Not that there is nothing to do, not a wrong number, and not that something unsaved is done.

All five PRs were worked on by the same models, all on my Windows computer.

In all five PRs, the side that writes tests (Claude) and the side that implements (Codex) were kept separate. Tests went in first, and implementation was handed off only after seeing them fail.

PR What was done Who wrote it Result
268 Parts for the screens (display and request functions) Claude (tests), Codex (implementation) 75 related tests passed; review found nothing to fix
273 Today’s tasks and the home card Claude (tests), Codex (implementation) 121 related tests passed; review found nothing to fix
276 Doing a task Claude (tests, review fix), Codex (implementation) 98 related tests passed; 1 review finding applied
279 Progress and head office replies Claude (tests, review fix), Codex (implementation) 89 related tests passed; 1 of 2 review findings applied
281 My device input and refill records Claude (tests), Codex (implementation, review fix) 82 related tests passed; 1 review finding applied

PR 268: Parts for the screens

What was done and why

The parts that the today’s-tasks and doing-a-task screens would use came first. Pure functions (functions that only turn values into values, with no screen or network) cover status text, picking the action buttons, which cards fold under “Show completed,” empty-tab messages, the home badge count, and skip-reason text. Four request functions were added: a today’s-tasks tab, one task, processing a task, and the input and refill record list.

The most important part was blocking two cases the spec marked as “critical gaps” (something wrong that the user can’t see).

Chosen approach and rejected alternatives

Chosen Rejected alternative Why it was rejected
Carry the current state the server sends inside the error value Load the task again after the error One more request, and that request can fail too

How it was checked

PR 273: Today’s tasks and the home card

What was done and why

This is the screen where customers see today’s tasks at a glance. It has two tabs, quests and routines, each with “Done n / Total m” and a one-line hint. Cards appear in the order the server sends, and finished cards fold under “Show completed (n).” A “Today’s tasks” button was added to the Care start screen, and a “n tasks today” card to home (with “n under head office review” if there are any).

The two gaps from PR 268 were blocked here with screen tests. If only the routine tab request fails, the quest tab still shows, and only the routine tab shows “Couldn’t load routines” with a retry. In that case the home card hides its number and shows only “Today’s tasks.”

Chosen approach and rejected alternatives

Chosen Rejected alternative Why it was rejected
A separate request per tab One request for both tabs A failure on one side would hide both tabs

How it was checked

PR 276: Doing a task

What was done and why

This is the “do a task” screen that opens when you tap a card in today’s tasks. It’s where the customer sends a task as done, normal, or abnormal, skips it, or undoes it.

The spec’s critical gap “done shown before saving” was blocked too. “Done” appears only after the server reports success. On success, the app returns to today’s tasks and reloads both tabs. On failure, it keeps the picked values and note and shows “Couldn’t save” with “Send again.”

Chosen approach and rejected alternatives

Chosen Rejected alternative Why it was rejected
Keep the request number only inside the screen Keep it in phone storage, as in Detail 3 Not needed: when the app reopens, the server shows whether the task was handled

How it was checked

PR 279: Progress and head office replies

What was done and why

This screen shows how far a task the customer sent as “abnormal” has come and what head office replied. History runs oldest first, and each line shows who and when, what, check-item results, note, skip reason, amount used, and head office’s reply. If head office is still reviewing, “Head office is reviewing this” appears at the bottom. You get there through “See progress” on the do-a-task screen and on under-review cards in today’s tasks.

Notes only head office sees and admin names are not drawn. The server doesn’t put them in customer responses, but the app also doesn’t read those fields at all. That way nothing leaks to the customer even if the server makes a mistake. The tests deliberately put those fields into the fake responses (server answers the tests set in advance) to check.

Chosen approach and rejected alternatives

Chosen Rejected alternative Why it was rejected
Use the same request as the task screen A separate request for history only The server has no such request, and sharing one response means no refetch when moving between the screens

How it was checked

PR 281: My device input and refill records

What was done and why

This screen lets customers see device input and refill records left at the site in one place. It shows the last 30 days, newest first, and each line has the date and time (Korea time), which device, the input amount or the amount after refill, who recorded it, and “Missing record” for missed records. At the top is a device filter (All / A / B / C / D). Even if the device list fails to load, records can still be seen under “All.” When empty it says “No records in the last 30 days,” and on failure it shows “Try again.” Saving an input or refill reloads the list too.

What changed from the plan

The plan said “tapping a line goes to Detail 3’s existing edit and history screen.” But the customer app had no such screen. Detail 3 only built screens for new records. It was a mistake made while writing the plan. The customer app lead session talked it over with the Detail 4 development lead session, and this time the list stays a list: tapping a line goes nowhere.

Chosen approach and rejected alternatives

Chosen Rejected alternative Why it was rejected
Rows are a list only Also build edit and history screens Outside the plan, and it would need my approval
Redraw the inner screen when the module changes Reset the filter value after drawing One wrong request would go out with the previous site’s device number

How it was checked

What was learned