8 Commits

Author SHA1 Message Date
jp
efc7e91651 Use who-called.co.uk for phone lookup in dropdown menus
- search by sanitised digits only
- applied to both messages and contacts pages
2026-08-13 20:01:37 +01:00
jp
ebc905984c Right-align dropdown burger icon on message rows
- use flexbox space-between in .who
- name/number truncates with ellipsis
- menu pinned right with flex-shrink:0
- tighter button padding and dropdown gap
2026-08-13 19:48:46 +01:00
jp
58de4653e1 Add dropdown menu on messages page contact rows
- ⋮ button beside contact name/number
- Call back uses tel: link with sanitised digits
- Lookup number opens Google search in new tab
- dropdown closes on outside click
2026-08-13 19:46:55 +01:00
jp
7dd2d371d2 Sanitise callerid number in add-contact modal
- extract E.164 from angle brackets when present
- show 'Number: ...' at top of modal instead of readonly input
- use same sanitiseNumber() for message list callback links
2026-08-13 19:04:01 +01:00
jp
20cb36e33b Add number field to add-contact modal + trim number before submit
- show caller number as readonly field in modal
- strip whitespace from number before API call
- omit number from payload if empty
2026-08-13 18:58:32 +01:00
jp
f2f8185c20 Use floating modal for add-contact from messages page
- replace inline row form with overlay modal
- keep Name + Email fields and POST /api/contacts submit
2026-08-13 18:56:18 +01:00
jp
f91321c7eb Replace add-contact prompt with inline row form on messages page
- inline Name + Email inputs when clicking '+ Add to contacts'
- uses existing POST /api/contacts via TanStack mutation
2026-08-13 18:54:02 +01:00
jp
489241b798 Sync React frontend into git
- Replace stale TanStack Router scaffold with working react-router-dom app
- Add all 9 page components + cyber theme CSS
- Remove routeTree.gen.ts, add index.css, query.ts
2026-08-13 18:22:03 +01:00