Skip to content

fix(mark): clear subpath when changing repo in new project form#350

Merged
matt2e merged 1 commit intomainfrom
subpath-remembered-in-new-project
Mar 5, 2026
Merged

fix(mark): clear subpath when changing repo in new project form#350
matt2e merged 1 commit intomainfrom
subpath-remembered-in-new-project

Conversation

@matt2e
Copy link
Contributor

@matt2e matt2e commented Mar 5, 2026

When selecting a different repo or clearing the selected repo in the new project form, the subpath field was not being reset. This caused the previously selected subpath to persist incorrectly.

  • Reset subpath to empty string when a new repo is selected (instead of only setting it when a subpath was provided)
  • Clear subpath when the selected repo is cleared via the X button

🤖 Generated with Claude Code

Previously, the subpath field retained its value when switching to a
different repo or clearing the repo selection. Now it resets to empty
in both cases, unless the new selection provides its own subpath.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@matt2e matt2e requested review from baxen and wesbillman as code owners March 5, 2026 06:04
@matt2e matt2e merged commit ad7bb19 into main Mar 5, 2026
4 checks passed
@matt2e matt2e deleted the subpath-remembered-in-new-project branch March 5, 2026 06:09
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.

1 participant