Skip to content

Replace console-based army split with keyboard-driven split mode (1-9)#23

Merged
dmccoystephenson merged 4 commits intomainfrom
copilot/add-army-split-functionality
Feb 11, 2026
Merged

Replace console-based army split with keyboard-driven split mode (1-9)#23
dmccoystephenson merged 4 commits intomainfrom
copilot/add-army-split-functionality

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 11, 2026

  • Explore repository structure and understand split army flow
  • Add split mode state variables (splitModeActive, splitModeArmyId, splitModeTotalSoldiers)
  • Modify S key handler to enter split mode instead of reading from console
  • Add 1-9 key handling in split mode to select split amount
  • Remove number key move commands (1-4) per reviewer feedback
  • Add UI overlay for split mode (similar to policy menu)
  • Remove console scanner usage for split
  • Add frontend test for split command with amounts 1-9
  • Build and verify (16 frontend tests pass)

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 11, 2026 05:10
…ss S then 1-9)

Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Copilot AI changed the title [WIP] Add functionality to split army using number keys Replace console-based army split with keyboard-driven split mode (1-9) Feb 11, 2026
@dmccoystephenson
Copy link
Copy Markdown
Member

@copilot The 'move' commands tied to number keys should be removed.

Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Feb 11, 2026

@copilot The 'move' commands tied to number keys should be removed.

Removed all four number-key move commands (keys 1-4) in 5147d8e. Number keys are now only used for split amount selection when split mode is active.

@dmccoystephenson dmccoystephenson marked this pull request as ready for review February 11, 2026 05:18
@dmccoystephenson dmccoystephenson merged commit b63cb82 into main Feb 11, 2026
2 checks passed
@dmccoystephenson dmccoystephenson deleted the copilot/add-army-split-functionality branch February 11, 2026 05:25
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