Commit Graph

248 Commits

Author SHA1 Message Date
d8557fcfca database 2026-03-12 07:37:20 -05:00
5f68ca0e8b readmes 2026-03-12 07:35:15 -05:00
42bab14ac3 reverse pedigree 2026-03-12 07:27:41 -05:00
5ca594fdc7 external dogs 2026-03-12 07:21:44 -05:00
13185a5281 Roadmap 2,3,4 2026-03-11 23:48:35 -05:00
17b008a674 Merge pull request 'stroke fix' (#55) from pedigree-update into master
Reviewed-on: #55
2026-03-11 15:49:55 -05:00
jason
9b3210a81e stroke fix 2026-03-11 15:49:46 -05:00
81357e87ae Merge pull request 'halo effect' (#54) from pedigree-update into master
Reviewed-on: #54
2026-03-11 15:41:57 -05:00
jason
8abd5e2db6 halo effect 2026-03-11 15:41:30 -05:00
a63617d9c0 Merge pull request 'remove shadow' (#53) from pedigree-update into master
Reviewed-on: #53
2026-03-11 15:37:49 -05:00
jason
7195aaecfc remove shadow 2026-03-11 15:37:38 -05:00
34bf29d8bf Merge pull request 'text update' (#52) from pedigree-update into master
Reviewed-on: #52
2026-03-11 15:33:49 -05:00
jason
4f3074b1f4 text update 2026-03-11 15:33:23 -05:00
3c7ba1775f Merge pull request 'ped changes' (#51) from pedigree-update into master
Reviewed-on: #51
2026-03-11 15:27:42 -05:00
jason
0a0a5d232c ped changes 2026-03-11 15:26:35 -05:00
jason
58b53c981e feat: Add pedigree routes for COI calculation, direct relation checks, and ancestral/descendant trees. 2026-03-11 14:48:59 -05:00
Zenflow
7b941c9a9a Push from Zen 2026-03-11 13:15:01 -05:00
Zenflow
055364f467 New task (zenflow 738246ea)
In the Pairing Simulator page, I am getting the error:

**Error:**Unexpected token '<', "<!DOCTYPE "... is not valid JSON

Fid and fix the bug
2026-03-11 13:12:01 -05:00
Zenflow
b8eadd9efa "Fix_COI_display_consistency" 2026-03-11 13:09:08 -05:00
Zenflow
ff1eb455dc "Fix_COI_and_routes" 2026-03-11 13:07:04 -05:00
Zenflow
c22ebbe45c New task (zenflow 738246ea)
In the Pairing Simulator page, I am getting the error:

**Error:**Unexpected token '<', "<!DOCTYPE "... is not valid JSON

Fid and fix the bug
2026-03-11 13:02:24 -05:00
Zenflow
e5f7b2b053 Implementation
Task complete.
2026-03-11 09:59:42 -05:00
Zenflow
c00b6191e7 Investigation and Planning
I've completed the investigation and planning for the External Dogs UI issues. I found that `ExternalDogs.jsx` used undefined CSS classes and a different layout than `DogList.jsx`. I've documented my findings and a proposed fix in [.zenflow/tasks/6e6e64eb-cb72-459e-b943-27554a749459/investigation.md](./.zenflow/tasks/6e6e64eb-cb72-459e-b943-27554a749459/investigation.md) and updated the [plan.md](./.zenflow/tasks/new-task-6e6e/plan.md).
2026-03-11 09:59:42 -05:00
Zenflow
0f9d3cf187 Initialize task: New task 2026-03-11 09:59:42 -05:00
Zenflow
2daccf7d8c INIT (zenflow 9c6862b8)
Scan the code, build the .md files you need to make it easier for the agent to preform modifications and fix bugs
2026-03-11 09:51:35 -05:00
5c6068364b Update TEST.md to include abc456 2026-03-11 01:22:26 -05:00
768e25183d Add TEST.md with text 123 2026-03-11 01:06:52 -05:00
78069f2880 Merge pull request 'feature/external-dogs' (#50) from feature/external-dogs into master
Reviewed-on: #50
2026-03-11 01:01:48 -05:00
2cfeaf667e Merge pull request 'fix: wire external dogs end-to-end (modal, form flag, pairing simulator)' (#49) from fix/external-dogs-wiring into feature/external-dogs
Reviewed-on: #49
2026-03-11 01:01:18 -05:00
5eaa6e566c fix: GET /api/dogs honours ?include_external=1 query param for pairing simulator 2026-03-11 01:00:48 -05:00
80b497e902 fix: PairingSimulator fetches /api/dogs?include_external=1 so external dogs appear in selectors 2026-03-11 00:57:59 -05:00
8cb4c773fd fix: DogForm accepts isExternal prop — sets is_external flag, hides litter/parent pickers, shows banner 2026-03-11 00:56:51 -05:00
22e85f0d7e fix: wire Add External Dog button to DogForm modal (removes broken /dogs/new?external=1 nav) 2026-03-11 00:55:51 -05:00
aa3b1b2404 feat(nav): add External Dogs nav link and route 2026-03-10 15:27:06 -05:00
3275524ad0 feat(ui): add ExternalDogs page — full CRUD roster for external sires/dams 2026-03-10 15:26:21 -05:00
9738b24db6 feat(api): add is_external support — GET /api/dogs filters kennel dogs; GET /api/dogs/external returns external roster 2026-03-10 15:24:50 -05:00
0c84b83e75 feat(db): add is_external flag to dogs table with safe ALTER TABLE migration 2026-03-10 15:23:35 -05:00
01a5db10c0 Merge pull request 'docs: update README with COI direct-relation fix (v0.6.1)' (#48) from fix/coi-direct-relation into master
Reviewed-on: #48
2026-03-10 15:16:21 -05:00
df7d94ba9d docs: update README with COI direct-relation fix (v0.6.1) 2026-03-10 15:15:00 -05:00
af9398ec0f Merge pull request 'fix: COI correctly calculates parent×offspring and direct-relation pairings' (#47) from fix/coi-direct-relation into master
Reviewed-on: #47
2026-03-10 15:09:45 -05:00
389636ce6f fix: COI correctly calculates parent×offspring and direct-relation pairings
- Remove blanket `id !== sid && id !== did` exclusion from commonIds filter
  which was silently zeroing out COI for parent×offspring pairings because
  the sire (sid) IS the common ancestor in damMap but was being filtered out.
- Instead: exclude `did` from sireMap keys (sire can't be its own common
  ancestor with the dam) and exclude `sid` from damMap keys (same logic).
- Parent×offspring pairing now correctly yields ~25% COI as expected by
  Wright's path coefficient method.
- All other normal pairings are unaffected.
2026-03-10 15:08:33 -05:00
2164b035a8 fix(backend): move named routes above /:id wildcard — Express route order bug causing 0% COI 2026-03-10 15:01:22 -05:00
6431164d3b Merge pull request 'fix: COI direct-ancestor bug — correct Wright algorithm + frontend relation guard' (#45) from fix/pairing-coi-and-direct-relation-guard into master
Reviewed-on: #45
2026-03-10 14:57:15 -05:00
72c54f847f fix(frontend): block/warn direct parent-offspring selections in PairingSimulator 2026-03-10 14:56:09 -05:00
c949fe2502 fix(backend): rewrite COI with self-at-gen-0 Wright method + direct-relation detection endpoint 2026-03-10 14:54:59 -05:00
1dacdc9fe7 Merge pull request 'fix: correct Wright COI algorithm — handle direct parent-offspring pairings' (#44) from fix/coi-direct-ancestor-logic into master
Reviewed-on: #44
2026-03-10 14:48:04 -05:00
f5ee9837c6 fix: correct COI Wright path algorithm — include sire/dam as direct ancestors of each other 2026-03-10 14:44:27 -05:00
c7c0ec6530 Merge pull request 'fix: Trial Pairing Simulator — correct SQLite string quoting for sex filter' (#43) from fix/trial-pairing-sex-quote into master
Reviewed-on: #43
2026-03-10 14:39:16 -05:00
20fcc39a58 fix: use single quotes for sex string literals in trial-pairing SQL (SQLite double-quote = identifier) 2026-03-10 14:38:16 -05:00
d5bce0522b Merge pull request 'fix: Migration 003 - dynamic column restore to handle missing updated_at' (#42) from fix/migration-003-dynamic-columns into master
Reviewed-on: #42
2026-03-10 14:32:36 -05:00