Skip to content

Design the routine export/import format #3

Description

@SamDozer

The first half of routine sharing: a routine has to be able to leave the phone.

A design task before it is a coding task. Decisions needed:

  • Format. JSON is the obvious choice. Versioned from day one.
  • What travels. Sections, durations, exercises, tempos, targets, catalog
    topic links, tuning, difficulty. Probably not practice history — a shared
    routine is a plan, not somebody else's progress.
  • Custom exercises. An exercise that is not in the catalog must survive the
    round trip with its metadata intact.
  • Catalog references. Topic ids are stable, so links can travel as ids. A
    recipient on an older version may not have a topic the sender does; importing
    must degrade rather than fail.
  • Identity and conflicts. Importing "Fusion Warmup" twice must not silently
    overwrite the copy the recipient has already edited.
  • Size. Small enough to paste into a message, ideally.

Constraint: no account and no server. A file you can send however you like.

Part of v0.2 — see ROADMAP.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestroutine-sharingExport, import and sharing routines

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions