awesome-python/agrifine-extension/tests
Claude bd9ca7e8dc
Fix field import pipeline and deepen AG-Refine integration
- Data Ingest: after AI extraction, detect field names in structured data
  and offer one-click import of harvest records + crop history into matching
  field profiles; "Re-import" link persists on each ingested file card

- Field Profiles: expanded card now renders full Crop History table (year,
  crop, yield) and Harvest Records (date, yield, moisture) pulled from
  stored data; previously these were stored but never displayed

- Field Profiles: added separate Pull (sync from AG-Refine) and Push (write
  to AG-Refine localStorage) buttons making the integration bidirectional;
  synced fields fire a CustomEvent so a listening AG-Refine app can react

- Field Profiles: sync log panel shows last 5 syncs with timestamp, field
  counts, and source URL; card summary line shows "X yr history" count
  and source badge (manual / AG-Refine / AG-Refine + manual)

- Background: added AGREFINE_PUSH message handler that serializes all
  field profiles and calls pushToAgRefine

- Added seeder test (tests/seed_and_screenshot.mjs) with realistic
  Hendricks Family Farms data and screenshots of all 6 tabs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBD2dN2KEjzz3UQFa9hEpu
2026-06-27 14:23:52 +00:00
..
seed_and_screenshot.mjs Fix field import pipeline and deepen AG-Refine integration 2026-06-27 14:23:52 +00:00