feat: Phase 4 grouping with entry-break dividers
Add group.py route, phase4.html template, and supporting state changes. Photos are shown as a flat stream; clicking divider zones inserts entry-break boundaries that split photos into labelled groups. Labels persist via group_labels dict. Done materialises groups into state.groups and advances to write phase. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,16 +14,18 @@
|
||||
"groups": [
|
||||
{
|
||||
"id": "g1", "photo_ids": ["asset-1"], "entry_type": "journal",
|
||||
"title": "", "body": "", "location_city": "", "location_country": "",
|
||||
"label": "", "title": "", "body": "", "location_city": "", "location_country": "",
|
||||
"date": "2023-09-05", "hero_photo_id": null, "shortcode_hints": "",
|
||||
"status": "draft"
|
||||
},
|
||||
{
|
||||
"id": "g2", "photo_ids": ["asset-2"], "entry_type": "story",
|
||||
"title": "", "body": "", "location_city": "", "location_country": "",
|
||||
"label": "", "title": "", "body": "", "location_city": "", "location_country": "",
|
||||
"date": "2023-09-05", "hero_photo_id": null, "shortcode_hints": "",
|
||||
"status": "draft"
|
||||
}
|
||||
],
|
||||
"notes": "I remember the airport was chaos."
|
||||
"notes": "I remember the airport was chaos.",
|
||||
"dividers": [],
|
||||
"group_labels": {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user