xy: trello import keeps titles, edit history and non-questions #21

Merged
pecheny merged 1 commit from trello-import-alias-history into main 2026-07-23 11:48:59 +00:00
Owner

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 becomes POST /api/cards/{id}/timeline/import with typed events.

🤖 Posted by Claude

# 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 becomes `POST /api/cards/{id}/timeline/import` with 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>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pecheny/dopesuite!21
No description provided.