docs: Update ROADMAP to reflect branding work complete, mark v0.5 sprint

This commit is contained in:
2026-03-09 20:20:43 -05:00
parent 7ac505da05
commit 31613e384d

View File

@@ -28,6 +28,7 @@
- [x] `/api/breeding` - Heat cycles and whelping calculator - [x] `/api/breeding` - Heat cycles and whelping calculator
- [x] Photo upload with Multer - [x] Photo upload with Multer
- [x] **Parent relationship handling** via parents table - [x] **Parent relationship handling** via parents table
- [x] `/static/*` - Branding and static asset serving
--- ---
@@ -53,6 +54,12 @@
- [x] Responsive navigation - [x] Responsive navigation
- [x] **Compact info cards** (80x80 avatars) - [x] **Compact info cards** (80x80 avatars)
- [x] **Modern dark theme** with glass morphism - [x] **Modern dark theme** with glass morphism
- [x] **Custom brand logo** (br-logo.png) in navbar
- [x] **Gold-to-rusty-red gradient** on BREEDR brand title
- [x] **Static asset serving** via Express `/static` route
- [x] **Vite dev proxy** for `/static` routes
- [x] **Route fix** - static/uploads don't fall through to React router
- [x] **Logo aspect ratio** fixed to 1:1 square
### Features Implemented ### Features Implemented
- [x] Photo upload and storage - [x] Photo upload and storage
@@ -100,7 +107,7 @@
--- ---
## 📊 Phase 4: Health & Genetics (PLANNED) ## 📋 Phase 4: Health & Genetics (PLANNED)
### Health Records ### Health Records
- [ ] Add health test results - [ ] Add health test results
@@ -117,7 +124,7 @@
--- ---
## 📊 Phase 5: Advanced Features (PLANNED) ## 📋 Phase 5: Advanced Features (PLANNED)
### Pedigree Tools ### Pedigree Tools
- [ ] Reverse pedigree (descendants view) - [ ] Reverse pedigree (descendants view)
@@ -144,7 +151,7 @@
--- ---
## 📊 Phase 6: Polish & Optimization (PLANNED) ## 📋 Phase 6: Polish & Optimization (PLANNED)
### User Experience ### User Experience
- [ ] Loading states for all operations - [ ] Loading states for all operations
@@ -202,87 +209,19 @@
--- ---
## 🆕 Latest Release: v0.4.0 - Clean Database Schema ## 🌕 Current Sprint: v0.5.0
### What's New in This Release ### ✅ Completed This Sprint
- [x] Custom `br-logo.png` brand logo in navbar
- [x] Gold-to-rusty-red gradient on BREEDR title
- [x] `/static` directory served by Express
- [x] Vite dev proxy for `/static`
- [x] Fixed route fall-through for `/static` and `/uploads`
- [x] Brand logo fixed to 1:1 aspect ratio
#### Database Overhaul ✅ ### 🚧 Next Up (Priority Order)
-**Clean schema design** - NO migrations, fresh init creates correct structure
-**Removed columns:** weight, height (never implemented)
-**Added litter_id** column to dogs table with foreign key
-**Parents table approach** - NO sire/dam columns in dogs table
-**Proper relationships** - Sire/dam stored in separate parents table
-**Database documentation** - Comprehensive DATABASE.md file
#### API Improvements #### Option 1: Trial Pairing Simulator (Recommended) 👍
-**Fixed parent handling** - Properly inserts into parents table
-**Added logging** - See exactly what's happening during dog creation
-**Error handling** - Graceful fallbacks for missing data
-**Query optimization** - Select only existing columns
#### Server Improvements
-**Removed migrations** - Clean init.js is source of truth
-**Simplified startup** - Just calls initDatabase()
-**Better logging** - Clear console output with checkmarks
-**No schema detection** - Always uses correct structure
#### Documentation
-**DATABASE.md** - Complete schema reference
-**Updated README** - Current features and setup
-**Updated ROADMAP** - Accurate progress tracking
-**Troubleshooting guide** - Common issues and solutions
### Migration Instructions
For **fresh installs**, the database will initialize correctly automatically.
For **existing installations**, you need to start fresh:
```bash
# Backup your data
cp data/breedr.db data/breedr.db.backup
# Delete old database
rm data/breedr.db
# Pull latest code
git pull origin docs/clean-schema-and-roadmap-update
# Restart application (creates clean database)
docker-compose restart
```
**Note:** Parent relationship data cannot be automatically migrated due to schema change from columns to table. You'll need to re-enter parent relationships.
---
## Previous Releases
### v0.3.1 - UI Fixes & Error Handling
- Fixed blank screen issue on Add Dog modal
- Improved parent selection layout
- Added comprehensive error handling
- Enhanced visual design with proper spacing
### v0.3.0 - Litter Management & Interactive Pedigree
- Added litter_id to dogs table
- Implemented LitterForm component
- Created PedigreeView with React-D3-Tree
- Enhanced DogForm with dual parent selection
- Fixed "no such column: sire" error
- Added comprehensive documentation
### v0.2.0 - Dog CRUD operations complete
### v0.1.0 - Initial foundation with API and database
---
## Current Sprint Focus
### Next Up (Priority)
#### Option 1: Trial Pairing Simulator (Recommended) 🎯
**Complexity:** Medium | **Impact:** High | **User Value:** Excellent **Complexity:** Medium | **Impact:** High | **User Value:** Excellent
**Why this is recommended:** **Why this is recommended:**
@@ -292,7 +231,7 @@ docker-compose restart
- Relatively quick to implement - Relatively quick to implement
**Tasks:** **Tasks:**
- Create PairingSimulator component - Create `PairingSimulator` component
- Add sire/dam selection dropdowns - Add sire/dam selection dropdowns
- Display COI calculation results - Display COI calculation results
- Show common ancestors table - Show common ancestors table
@@ -312,7 +251,7 @@ docker-compose restart
- Provides calendar functionality - Provides calendar functionality
**Tasks:** **Tasks:**
- Create HeatCycleForm component - Create `HeatCycleForm` component
- Add calendar view with heat cycle tracking - Add calendar view with heat cycle tracking
- Track progesterone levels - Track progesterone levels
- Implement breeding date suggestions - Implement breeding date suggestions
@@ -331,7 +270,7 @@ docker-compose restart
- Document management adds utility - Document management adds utility
**Tasks:** **Tasks:**
- Create HealthRecordForm component - Create `HealthRecordForm` component
- Add vaccination tracking with expiry alerts - Add vaccination tracking with expiry alerts
- Medical history timeline view - Medical history timeline view
- PDF/image document uploads - PDF/image document uploads
@@ -349,6 +288,9 @@ docker-compose restart
- [x] UI layout fixes - [x] UI layout fixes
- [x] Error handling for API failures - [x] Error handling for API failures
- [x] Parent relationship creation via parents table - [x] Parent relationship creation via parents table
- [x] Brand logo display and sizing
- [x] Gradient title rendering
- [x] Static asset serving in prod and dev
- [ ] Trial pairing simulator - [ ] Trial pairing simulator
- [ ] Heat cycle tracking - [ ] Heat cycle tracking
- [ ] Health records - [ ] Health records
@@ -368,7 +310,15 @@ docker-compose restart
## Version History ## Version History
- **v0.4.0** (Current - March 9, 2026) - Clean Database Schema - **v0.4.1** (March 9, 2026) - Branding & Header Improvements
- Custom br-logo.png in navbar
- Gold-to-rusty-red gradient title
- Static asset serving via Express
- Vite dev proxy for /static
- Route fix for static/uploads paths
- Logo 1:1 aspect ratio fix
- **v0.4.0** (March 9, 2026) - Clean Database Schema
- Complete database overhaul with clean normalized design - Complete database overhaul with clean normalized design
- Removed migrations, fresh init only - Removed migrations, fresh init only
- Parents table for relationships - Parents table for relationships