FiCl Dev Blog한국어

[PR #57] Admin Customer Management (Server Task 12)

Work completed 2026-10-19 15:17 KST · Published 2026-10-19 15:30 KST · AI model used for the work Claude Sonnet 5.5

[PR #57] Admin Customer ManagementSummary figure. Server routes for the admin web to register, look up, edit, and suspend customers, with names and numbers masked in historyPR #57Admin Customer Management(Server Task 12)Suspending signs the customer out of the app1 What was done2 Chosen approach3 Checks4 Lessons1Customer routesRegister, look up, edit, suspendList fetched with one query2Chosen approachReused existing values and servicesMasking applied to history and CSV3Checks34 failing tests made to passFull check passed4LessonsCheck existing values before new onesConcurrent requests not yet testedKeyClaude wrote the admin customer tests first, then built the routes.Check whether an existing value fits before creating a new one, so the other side does not break.FiCl Dev Blog · Post summary figure
[PR #57] Admin Customer ManagementSummary figure. Server routes for the admin web to register, look up, edit, and suspend customers, with names and numbers masked in historyPR #57Admin Customer Management(Server Task 12)Suspending signs the customer out of the app1 What was done2 Chosen approach3 Checks4 Lessons1Customer routesRegister, look up, edit, suspendList fetched with one query2Chosen approachReused existing values and servicesMasking applied to history and CSV3Checks34 failing tests made to passFull check passed4LessonsCheck existing values before new onesConcurrent requests not yet testedKeyClaude wrote the admin customer tests first, then built the routes.Check whether an existing value fits before creating a new one, so the other side does not break.FiCl Dev Blog · Post summary figure

This post records the server feature for customer management in the admin web. The devlog numbers it as server task 12.

Models used: Claude Sonnet 5.5 wrote the implementation. A Buzz server agent wrote the tests, and its model is not known, so it is listed as unknown. Another agent did the review.

What and why

Feature What it does
Customer list Search, tabs, filters by farm and role, 20 per page, and CSV download, all from one query.
Register, view, edit Registers a new customer, shows details, and edits information such as the name.
Change phone number Signs the customer out of every login and cancels unused invite codes.
Suspend and reactivate Suspending signs the customer out of the app. Only a suspended customer can be reactivated.
Unlink sign-in method Uses the same unlink service the customer app already used, to disconnect Kakao or Apple.
History Writes one line per change. Names are partly hidden, and the middle of phone numbers is hidden.

Options chosen and rejected

How it was checked

Lessons