From 8c45725a2a59115d46d313bacf6954fbd54f562e Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 8 Oct 2026 15:11:29 -0400 Subject: [PATCH] DRY pass #2, batch 8, F17: a person and an account have one shape each (#5372) Web: GroupList's Person was adapters/repo's Member field for field, and AccountList's Account was the session store's User; both now import them. The bridge's Identity stays, as the Tauri mirror of the core's struct. Server: auth._serialize_user and accounts' _serialize_account wrote the same four fields. serialize.serialize_user is serialize_person plus is_admin, and the account list adds created_at to it. Co-Authored-By: Claude Opus 5.5 --- frontend/src/components/AccountList.vue | 15 ++++----------- frontend/src/components/GroupList.vue | 17 ++++++----------- src/inkwell/accounts_api.py | 9 ++------- src/inkwell/auth.py | 20 ++++++-------------- src/inkwell/serialize.py | 7 +++++++ 5 files changed, 25 insertions(+), 43 deletions(-) diff --git a/frontend/src/components/AccountList.vue b/frontend/src/components/AccountList.vue index 050def3..62d7230 100644 --- a/frontend/src/components/AccountList.vue +++ b/frontend/src/components/AccountList.vue @@ -1,7 +1,7 @@