#6894·tinacms

Editorial Workflow - Branch Switcher Screen

Author: 18-thCreated May 15, 2026Updated Oct 1, 2026
Labelsv4.0editorial-workflow

Pain

v4 has no branch switcher and no branch operations on its content provider. The v3 CMS already ships a working branch switcher screen, so v4 editors would lose what they have today. Editors cannot create a branch from it in v3, and they have asked for that in https://github.com/tinacms/tinacms/issues/4698.

️ Approach

  • Port the v3 branch switcher screen onto the v4 screen contract rather than rebuilding it.
  • Add branch listing, creation, switching and a current-branch notion to the v4 content provider contract.
  • Carve PR title, description and pipeline status into its own cross-repo item: TinaCloud stores only a PR url, so a new content-api endpoint comes first.
  • Handle failed listing, creation and GitHub calls with a clear message and a retry, including the create failure v3 drops today (https://github.com/tinacms/tinacms/issues/7700).

✅ Acceptance Criteria

  • v4 has a branch switcher screen conforming to the v4 screen contract.
  • Editors can list branches, switch branch and explicitly create one from it.
  • The v3 tests for listing and switching are ported across, and branch creation gets new tests.
  • A failed branch list or branch creation shows a clear message with a retry.
  • GitHub being unavailable does not block local editing unless the action needs GitHub.

Related

Blocked: the v4 screen contract is still a bare admin screen with no popup layout or editor context.

Error handling is folded in from https://github.com/tinacms/tinacms/issues/6895.