Merge History into Log Eggs page; update dashboard card order and colors

- Removed standalone History page (history.html); full collection history
  (date filter, edit, delete, totals footer) is now embedded in the Log
  Eggs page below the log form
- Removed History nav link from all pages
- Reordered dashboard stat cards: egg counts → averages → Flock Size →
  cost cards
- Egg count and average cards now use green; Flock Size card uses orange
- Updated README to reflect removed History page, merged log/history
  feature, dashboard card changes, and project structure

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 23:43:27 -07:00
parent 31dd106ebd
commit b660263f30
8 changed files with 32 additions and 87 deletions

View File

@@ -4,9 +4,8 @@ A self-hosted, multi-user web app for backyard chicken keepers to track egg prod
## Features
- **Dashboard** — at-a-glance stats: total eggs, 7/30-day totals, average eggs per day and per hen, cost per egg and per dozen
- **Daily log** — record egg collections with one entry per day
- **History** — browse, edit, and delete past egg collection records
- **Dashboard** — at-a-glance stats: total eggs, 7/30-day totals, averages (green), flock size (orange), cost per egg and per dozen
- **Daily log** — record egg collections with one entry per day; includes full collection history with date filtering, edit, and delete below the form
- **Flock management** — track changes to your flock size over time so per-hen averages stay accurate
- **Feed tracking** — log feed purchases (bags + price per bag)
- **Budget** — cost per egg and cost per dozen, all-time and over the last 30 days
@@ -145,9 +144,12 @@ yolkbook/
│ │ ├── login.html
│ │ ├── admin.html
│ │ ├── index.html # Dashboard
│ │ ├── log.html # Log Eggs + full collection history
│ │ ├── js/
│ │ │ ├── api.js # Shared fetch helpers
│ │ │ ── auth.js # Auth utilities, nav, settings modal
│ │ │ ├── api.js # Shared fetch helpers
│ │ │ ── auth.js # Auth utilities, nav, settings modal
│ │ │ ├── history.js # Collection history table (used on log page)
│ │ │ └── dashboard.js
│ │ └── css/style.css
│ └── nginx.conf
├── mysql/