xy: trello import keeps titles, edit history and non-questions #21
Loading…
Reference in a new issue
No description provided.
Delete branch "trello-import-alias-history"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Trello card titles were dropped on import, description history was never carried over, and every unmarked card was imported as a question.
Card title → card alias; a card with an empty body keeps the title as its text and no alias. Description edits (Trello updateCard actions carrying the replaced text) become desc_edit events on question cards, with their original date and author. A card with no chgksuite markers becomes «Другое».
The mapping rules move into
trellomodel.js(unit-tested); the bulk comment-import endpoint becomesPOST /api/cards/{id}/timeline/importwith typed events.🤖 Posted by Claude
A Trello card's title now becomes the xy card's alias, its description history becomes desc_edit events on question cards, and a card with no chgksuite markers lands in «Другое» instead of being read as a question. The mapping rules move into trellomodel.js so jstest can exercise them without a DOM or a Trello token. The bulk comment-import endpoint becomes POST /api/cards/{id}/timeline/import, taking typed events, since imported description edits need the same original author + timestamp treatment. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>