Skip to content

feat(refit): swap your picked ship systems for free at the refit bay - #39

Merged
vriesd merged 2 commits into
mainfrom
feat/refit-repick
Nov 13, 2026
Merged

vriesd merged 2 commits into
mainfrom
feat/refit-repick

Conversation

@vriesd

@vriesd vriesd commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Ship systems could be swapped in flight and from the pause panel, but not in the calm place where you actually think about your build: the refit bay.

  • Once a run has a pick, the bay shows its systems as keys beside the upgrade cards. A run with no pick yet sees the bay exactly as before.
  • Activating a key reopens the pick dialog for that slot, titled SWAP, with the current option marked CURRENT and focused. Picking another option changes it for free; Escape or the current option keeps it.
  • The first-time pick is unchanged: modal, and it cannot be dismissed.
  • The change is what the next sector flies with and what the autosave and checkpoints store.

Layout notes: on desktop and landscape the keys use the empty half-row beside the last upgrade card, so nothing moves. On phone portrait they need a row of their own, so with a pick the upgrade cards use the compact size, and short phones hide two lines the CONTINUE key already repeats (and, on the smallest, the destination line).

Proof: typecheck, lint, format, knip, unit tests and build pass; shipSystems, accessibleActions and interaction pass on desktop and mobile (37 passed, 2 skipped by design), including a new test that swaps the gun at the bay and checks the next sector fires the new pattern. I looked at the bay with zero, one and three picks at 1280x720, 844x390, 390x844, 375x667 and 360x640, and at the swap dialog.

Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved

Created with Claude Fable 5.2 in Claude Code (orchestration, small-phone layout fix); implementation by Claude Opus 5.5.

🤖 Generated with Claude Code

vriesdcrv and others added 2 commits November 13, 2026 17:36
The refit bay now lists the run's ship systems beside the upgrade cards once
there is a pick. Selecting one reopens the pick dialog for that slot with the
current option marked and focused; picking another swaps it for free, with no
cooldown, and Escape or the current option keeps it. The next sector, the
pause panel, the autosave and checkpoints all carry the choice. The first
pick of a slot stays modal and cannot be dismissed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T16:47:18.476347Z 4dac4c8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@vriesd
vriesd merged commit 6fa80f5 into main Nov 13, 2026
10 checks passed
@vriesd
vriesd deleted the feat/refit-repick branch November 13, 2026 17:08
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