Vereinfacht fixes, test cleanup, and dev seed improvements #467
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
optional
question
S
UX research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: local-it/mitgliederverwaltung#467
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/small_fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of the implemented changes
The changes were:
Fixes production and accessibility issues (Vereinfacht client, WCAG contrast), cleans up skipped/obsolete tests, and improves dev seeds (fee type distribution, exit dates).
What has been changed?
Bugfixes
Mix.env/0was called at runtime inreq_http_options/0, which is not available in releases. It is now evaluated at compile time via a module attribute (@env), so production no longer crashes when using the Vereinfacht API.text-warning, which did not meet WCAG 2 AA contrast. It now uses the existingtext-warning-aaclass for sufficient contrast in light and dark theme.Test cleanup (refactoring)
/.member_id.Seeds (dev data)
exit_dateset to one year after theirjoin_date.Definition of Done
Code Quality
just ci-devto confirm)Accessibility
text-warning-aa)Testing
just ci-dev)Additional Notes
lib/mv/vereinfacht/client.ex; no config or env changes needed.mix ecto.resetthen run seeds again.import_live_test.exs, due to LiveView test harness limitations with empty file uploads (see docs/csv-member-import-v1.md).bb1a80ad08to5eb7c9c4b2