Repository navigation
Release 1.13.0: the visitor log finds a member without the card (Pinakes 0.9.2) - #60
Merged
Merged
Conversation
…ut the card With Pinakes 0.9.2 (Mobile API 1.11.0) the desk tab offers Find member: the loan desk's borrower search, and a picked member is checked in with user_id under its own Idempotency-Key. Shown only when /health advertises staff_attendance_member_pick.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
I reviewed the 1.13.0 release: the visitor log's new Find member check-in by user_id, its gating, and the matching models, errors, i18n and tests.
- Member search in the desk tab:
Staff090AttendanceViewModel.membersis aSearchController(minLength = 2)overStaffCirculationRepository.users. It feeds aSearchPickerSheet. The button is disabled while a check-in is in flight, and while the sheet is open the debouncer is paused andonDecodeddrops decodes. - Check-in by id:
pickMember→checkIn(code = null, userId)→Staff090PatronsRepository.checkInMember.CheckInSubmissionnow keys on(code, userId, branchId), so a lost answer for the same member replays under the same Idempotency-Key. AttendanceCheckInRequest:card_codeis now optional anduser_idis new. WithexplicitNulls = falseexactly one is sent, and the encoding test checks this.- Gating:
staff_attendance_member_pickis threaded throughHealthFeatures→Staff090Flags(requiresstaffAttendance && circulation) →Staff090Areas.attendanceMemberPick. The 0.9.1healthfixture keeps it off. - Entrance rows:
StaffUser.toVisitorItem()shows only the card and e-mail and leaves rows enabled, so loan eligibility (a debt block, for example) does not hide a member at the door. - Errors and copy:
member_not_foundmaps to new wording in all four locales, and a422 validationkeeps the server's text. The new copy has no em dashes and the keys match across locales.
claude-opus-5-5 | 𝕏
fabiodalez-dev
changed the base branch from
feat/same-day-handover-setting
to
main
November 6, 2026 15:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Release 1.13.0 (versionCode 27), paired with Pinakes 0.9.2 (Mobile API 1.11.0, fabiodalez-dev/Pinakes#525). Stacked on #59 (1.12.0); I will retarget it to
mainonce #59 is merged.Changes
SearchController+SearchPickerSheetoverGET /staff/users, at least two characters). Picking a row sendsPOST /staff/attendance/check-inswithuser_idinstead ofcard_code, under its own Idempotency-Key. The result card, tone and inactive-account warning are the same as for a scanned card.StaffUser.toVisitorItem()). The loan desk's eligibility note, a debt block for example, has no meaning at the entrance.404 member_not_foundhas its own wording in it, en, de and fr. A422keeps the server's text./health.features.staff_attendance_member_pick(new inHealthFeatures,Staff090Flags,Staff090Areas.attendanceMemberPick) and the visitor log on. A 0.9.0 or 0.9.1 server gets the 1.12.0 desk.AttendanceCheckInRequest.card_codeanduser_idare both optional now. The app Json drops nulls, so exactly one is sent.Tests
Staff090PatronsParsingTestgains three cases. The fixtures were captured from a real 0.9.2 server:health_092,att_checkin_member,att_member_not_found,att_member_and_card. The cases check:{"user_id":6805}, card + branch);Staff090PatronsParsingTest(15),Staff090PatronsRulesTest(13),Staff090FlagsTest(8) andStaff090LibraryFormsTest(26) pass locally.