Commit Graph

6 Commits

Author SHA1 Message Date
florian.berthold e3b1d5ff6d Add bilingual native_range and wildlife_value fields (DE/EN) to species
Migration 011 adds native_range_de, native_range_en, wildlife_value_de,
wildlife_value_en columns. Backend INSERT/UPDATE queries updated ($64→$68).
Frontend species and cultivar detail pages use pick_desc() for language selection.
2026-03-15 21:57:23 +01:00
florian.berthold 896b364b09 Add bilingual uses fields (food/medicinal/other _de/_en) to species
Backend: add 6 new columns to Species and CreateSpecies structs, update
INSERT/UPDATE queries, add migration 010.
Frontend: add fields to Species type, use pick_desc() for language-aware
display in species detail and cultivar species-info card.
2026-03-15 17:09:25 +01:00
florian.berthold 170aa84a0f Add 52-week planting calendar with month fallback
Add indoor_sowing_weeks, direct_sowing_weeks, transplanting_weeks,
glasshouse_weeks, harvesting_weeks (integer[]) to backend Cultivar and
CreateCultivar structs with INSERT/UPDATE SQL bindings.

Frontend PlantingCalendar component rewritten as a compact 52-column
Gantt-style grid grouped by month headers. Prefers week data when
available, falls back to expanding month data into week ranges.
Calendar displayed full-width on cultivar detail page with color legend.
2026-03-15 14:36:17 +01:00
florian.berthold efa05b2d44 Add bilingual description fields (description_de, description_en)
Species and Cultivar structs + SQL queries now support separate
German and English descriptions for the language toggle feature.
2026-03-15 12:56:59 +01:00
florian.berthold 97f651572b Add 13 structured wildlife fields to Species API
nectar_value, pollen_value, wild_bee_count, wild_bee_specialist_count,
butterfly_moth_count, caterpillar_host_count, caterpillar_specialist_count,
hoverfly_count, beetle_count, bird_count, mammal_count, native_status, naturadb_tags
2026-03-15 00:55:29 +01:00
florian.berthold 484979ad53 Initial HerbAPI implementation
Rust/Axum REST API (herbapi-api) with PostgreSQL, S3/Garage, OIDC auth.
Dioxus 0.7 WASM frontend (herbapi-ui) with sidebar layout and botanical reference style.
9 SQL migrations covering families, species, cultivars, suppliers, companions, images, users, API tokens.
2026-03-14 00:02:29 +01:00