Fix CSRF 403, improve registry UI, add phonetic IDs
- Fix CSRF token handling for production: generate tokens with HMAC, set cookie via afterware, inject into HTMX requests via JS - Improve registry page: filter at top with better proportions, compact horizontal pill layout for facets - Add phonetic ID encoding (e.g., "tobi-kafu-meli") for animal display instead of truncated ULIDs - Remove "subadult" life stage (migration converts to juvenile) - Change "Death (natural)" outcome label to just "Death" - Show sex/life stage in animal picker alongside species/location 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -141,7 +141,7 @@ class TestAnimalRegistryTable:
|
||||
)
|
||||
|
||||
def test_life_stage_check_constraint(self, migrated_db):
|
||||
"""Life stage must be hatchling, juvenile, subadult, or adult."""
|
||||
"""Life stage must be hatchling, juvenile, or adult."""
|
||||
_insert_species(migrated_db)
|
||||
_insert_location(migrated_db)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user