Commit Graph
2 Commits
Author SHA1 Message Date
Lauri Ojansivu bad71f9a1e Focalboard and Mattermost exports are written a page of cards at a time.
Both are NDJSON. Focalboard's board record names its status, label and
custom field options over the whole board, and Mattermost's head names
every channel and user over the whole board: each is written on the first
page from the board's light first pass, and every page then writes its own
cards' blocks or posts. tests/exportPaging.test.cjs checks every page size
against the whole file; the import/export audit passes, 173/173.

Thanks to xet7 !
2026-11-20 10:02:25 +02:00
Lauri Ojansivu 5d26e9fff8 Import and export boards as Focalboard (Mattermost Boards) archive text.
A Focalboard board.jsonl, from a .boardarchive zip, imports with or
without its version line: Focalboard's own importer reads the same
text. The board view's group-by select property becomes the lists.
Other select and multi-select properties become labels, and a property
called Labels gives labels by their own name. The first date property
becomes the due date, or start and due for a range. Text, number, email,
url, phone, checkbox and later dates become custom fields. Text and
heading blocks become the description, checkbox blocks a checklist, and
comment blocks comments. Members, person properties, images,
attachments and card templates are reported in the loss report. Export
writes the same text: a Status property for the lists, Labels, Due and
the custom fields. The field names follow Focalboard's model.Board and
model.Block.

tests/focalboard.test.cjs covers both board forms, the round trip and
the negatives. A Playwright case imports a board.jsonl through the page,
and the export audit fetches the new format. New instruction text is in
English, pending Transifex.

Thanks to xet7 !
2026-10-03 00:17:10 +03:00