Skip to content

refactor(track): fold Emulator/Behavior/Sidekick into one Party subtab - #316

Merged
deepiq2022 merged 1 commit into
mainfrom
feat/consolidate-party-tools
Jul 21, 2026
Merged

refactor(track): fold Emulator/Behavior/Sidekick into one Party subtab#316
deepiq2022 merged 1 commit into
mainfrom
feat/consolidate-party-tools

Conversation

@deepiq2022

Copy link
Copy Markdown
Contributor

Summary

  • The three party-tools subtabs (Emulator, Sidekick, Behavior) sat as separate same-weight Track tabs, though they share the same CharacterEmulation model and answer one question.
  • Consolidate into a single Party subtab with an internal segmented switch (PartyToolsPane, IndexedStack — keeps each surface's state, avoids the TabBarView loose-constraints gotcha).
  • Legacy routes (emulator/sidekick/behavior) resolve via SubtabDef aliases.

Chosen per user direction ("fold into one Party tab").

Test plan

  • flutter analyze clean (pre-existing embark info lint only)
  • flutter test passes (2169)
  • New test: Party subtab hosts the switch, Emulator default, switch to Sidekick

🤖 Generated with Claude Code

The three party-tools subtabs (Emulator, Sidekick, Behavior) sat as
separate same-weight Track tabs even though they share the same
CharacterEmulation model and answer one question — what does this
NPC/companion do. Consolidate them into a single 'Party' subtab hosting
an internal segmented switch (IndexedStack keeps each surface's state and
avoids the TabBarView loose-constraints gotcha). Legacy routes
(emulator/sidekick/behavior) resolve via SubtabDef aliases.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@deepiq2022
deepiq2022 merged commit daa6a8c into main Jul 21, 2026
1 check passed
@deepiq2022
deepiq2022 deleted the feat/consolidate-party-tools branch July 21, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants