Allow user-member association in edit/create views closes #168 #207

Merged
moritz merged 12 commits from feature/user-linking into main 2025-11-27 16:11:03 +01:00

12 commits

Author SHA1 Message Date
3da0ebcb3f
feat: Add keyboard navigation to member linking dropdown
All checks were successful
continuous-integration/drone/push Build is passing
2025-11-27 16:05:56 +01:00
4b4ec63613 feat: improve user-member linking UI and error messages
All checks were successful
continuous-integration/drone/push Build is passing
Reload members on email change, extract user-friendly errors from Ash, add translations
2025-11-20 21:45:05 +01:00
df05eafc99 refactor: simplify Member.available_for_linking action to 9 lines
Extract filter logic into apply_linking_filters/3 helper, add Credo disable for fuzzy search complexity
2025-11-20 21:44:29 +01:00
90ced26a0e fix: correct test parameter name from member_search_query to member_search 2025-11-20 18:57:38 +01:00
adc6608e54
test: fix test auth and improve reliability
All checks were successful
continuous-integration/drone/push Build is passing
- Add admin authentication to all tests
- Fix 12 tests that were failing due to missing authentication
- 3 tests still have business logic issues (will fix separately)
2025-11-20 16:51:45 +01:00
9a03485604
refactor: add typespecs and module constants
- Add @spec for public functions in Member and UserLive.Form
- Replace magic numbers with module constants:
  - @member_search_limit = 10
  - @default_similarity_threshold = 0.2
- Add comprehensive @doc for filter_by_email_match and fuzzy_search
2025-11-20 16:51:45 +01:00
078809981d
docs: add translations and update development log (#168) 2025-11-20 16:51:44 +01:00
48b0823091
test: add LiveView tests for member linking UI (#168) 2025-11-20 16:51:44 +01:00
af193840e2
feat: add user-member linking UI with autocomplete (#168) 2025-11-20 16:51:44 +01:00
52a62bd679
fix: extract member_id from relationship changes during validation (#168) 2025-11-20 16:51:43 +01:00
39b285a714
feat: add member fuzzy search for linking (#168) 2025-11-20 16:51:43 +01:00
173f522da5
test: add tests for user-member linking and fuzzy search (#168) 2025-11-20 16:51:43 +01:00