Skip to content

refactor: share the space field across the connection and step forms - #256

Merged
matt-richardson merged 1 commit into
mainfrom
mr/extract-space-picker-jsp
Oct 11, 2026
Merged

matt-richardson merged 1 commit into
mainfrom
mr/extract-space-picker-jsp

Conversation

@matt-richardson

Copy link
Copy Markdown
Contributor

Why

Split out of #239 to make it smaller. The connection form and all six step forms each had their own copy of the "Space name" field. Moving them into one include now means #239's space picker changes one file instead of seven, and its diff no longer carries the move.

Notes

  • No change in behaviour or markup. Each form still shows its own help text, passed to the include as the note param.
  • The file is named spacePicker.jsp and its bean spaceKeys to match feat: pick an Octopus space from a dropdown and store its id #239, so that PR applies on top as edits to this file rather than adding it. For now it is still a plain text field.
  • The e2e UI tests (*UiTest*) pass locally, including OctopusConnectionUiTest, which checks that a step's space row is hidden when its connection sets a space.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@matt-richardson
matt-richardson merged commit 287c52e into main Oct 11, 2026
7 checks passed
@matt-richardson
matt-richardson deleted the mr/extract-space-picker-jsp branch October 11, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants