FiCl Dev Blog한국어

[PR #187·191] App Record Edit, Exclude, and Revert: Keep What You Edited Even When the Server Refuses

Work completed 2026-11-07 08:43 KST · Published 2026-11-10 23:34 KST · AI model used for the work Claude Sonnet 5.5

[PR #187·191] App Record Edit, Exclude, and Revert: Keep What You Edited Even When the Server RefusesSummary figure. Building, in order, record edit and re-check, exclude, revert, and rewrite, and the conflict screen for when the server refusesPR #187·191Record edit, exclude, revertKeep what you edited even when the server refusesI requested,set wordingClaude buildsCodex testsEditRevertRefusedⅠEditPR 1871Save draft as you editContinue after app restart2Re-check changed valuesConfirmed values stay as isⅡRevertPR 1913Each adds a new versionExclude, revert, rewriteOne reason (1-200 chars)4Revert on each old rowNot on current or excludedⅢRefusedPR 1915Save draft before sendA conflict never deletes it6Side by side with latestOnly the base versionchanges to edit againKey: for a request the server may refuse, save the input before sending.FiCl Dev Blog · Post summary figure
[PR #187·191] App Record Edit, Exclude, and Revert: Keep What You Edited Even When the Server RefusesSummary figure. Building, in order, record edit and re-check, exclude, revert, and rewrite, and the conflict screen for when the server refusesPR #187·191Record edit, exclude, revertKeep what you edited even when the server refusesI requested,set wordingClaude buildsCodex testsEditRevertRefusedⅠEditPR 1871Save draft as you editContinue after app restart2Re-check changed valuesConfirmed values stay as isⅡRevertPR 1913Each adds a new versionExclude, revert, rewriteOne reason (1-200 chars)4Revert on each old rowNot on current or excludedⅢRefusedPR 1915Save draft before sendA conflict never deletes it6Side by side with latestOnly the base versionchanges to edit againKey: for a request the server may refuse, save the input before sending.FiCl Dev Blog · Post summary figure

In earlier work, the record detail screen only showed edit, exclude, and revert buttons. These two PRs made those buttons actually work: first editing and re-checking (PR 187), then excluding, reverting, rewriting, and the conflict screen (PR 191). Records are never overwritten; each change stacks a new version, so editing, excluding, and reverting are all “add one more version”. I requested both, and Codex wrote the tests first while Claude did the implementation, so the implementer never wrote its own tests.

The two PRs at a glance

PR Action What it adds Key method
187 Edit A new version Saves to the draft as you edit; re-checks only values newly out of range
191 Exclude A new version (excluded) One reason field (1-200 characters)
191 Revert A new version (older content) A button on each older-version row; not on the current version or excluded records
191 Rewrite A new version Only on excluded records

When the server refuses an edit

Server’s answer What the app does Draft
Someone else edited first Refetches the latest detail and shows “latest content” and “my edits” side by side Kept; “edit again” changes only the base version number
Already excluded Refetches the latest detail and follows the server’s answer even if the detail is still old Kept
No permission Refetches the latest detail Kept

Who did what

Not confirmed

Lessons