Add member identifiers UI, member detail page, kebab menus

- Member detail page at /members/:id with edit form and identity documents
- Expandable identity documents on account members tab
- Kebab menu on both members list and account members tab (Edit, View IDs, View Account, Delete)
- Identifier form with image upload (base64), ID type select, dates
- Wiki article for identity documents
This commit is contained in:
Ryan Moon
2026-03-28 13:22:44 -05:00
parent c7e2c141ec
commit 95bf9472e0
8 changed files with 698 additions and 90 deletions

View File

@@ -182,6 +182,40 @@ If a certificate expires or is no longer valid:
All approvals and revocations are logged with who did it and when.
`.trim(),
},
{
slug: 'member-ids',
title: 'Identity Documents',
category: 'Accounts',
content: `
# Identity Documents
You can store identity documents (driver's license, passport, school ID) for any member. This is useful for verifying identity during instrument pickups, rentals, or trade-ins.
## Adding an ID
1. Go to an account's **Members** tab
2. Click the arrow next to a member to expand their row, or click the three-dot menu and choose **Edit**
3. In the Identity Documents section, click **Add ID**
4. Select the ID type
5. Enter the ID number
6. Optionally add issuing authority, dates, and upload images of the front and back
7. Click **Add ID**
## ID Types
- **Driver's License / State ID** — most common for adult customers
- **Passport** — for international customers or as secondary ID
- **School ID** — for student members
## Images
You can upload photos of the front and back of the ID. These are stored securely and are only visible to staff. Use your phone's camera or a scanner.
## Primary ID
If a member has multiple IDs, mark one as **Primary** — this is the one shown by default in quick lookups.
`.trim(),
},
]
export function getWikiPages(): WikiPage[] {