Skip to content

fix: mention tfvc.adoBaseUrl in "not configured" messages - #36

Merged
jschfflr merged 1 commit into
mainfrom
fix/not-configured-onprem-wording
Apr 22, 2026
Merged

fix: mention tfvc.adoBaseUrl in "not configured" messages#36
jschfflr merged 1 commit into
mainfrom
fix/not-configured-onprem-wording

Conversation

@jschfflr

Copy link
Copy Markdown
Contributor

Summary

  • On-prem users with adoBaseUrl + adoProject + PAT set were told to configure tfvc.adoOrg — a field they don't need.
  • The initRestClient() check at src/extension.ts:95 has always accepted adoOrg || adoBaseUrl, but both the SCM error toast and the review-diff placeholder text only mentioned adoOrg.
  • Updated copy in src/extension.ts:171 and src/providers/fileContent.ts:35 to reflect what the check actually requires.

Spotted in the wild: a user had valid on-prem settings (adoBaseUrl=https://tfs.ieq-network.de, adoCollectionPath=/tfs/ieQ, adoProject=Basis Onlineshop) and was still getting the "configure tfvc.adoOrg" toast because they hadn't set the PAT yet — but the error pointed them at the wrong field.

Test plan

  • npm run compile passes
  • npm test — all 244 unit tests pass; existing notConfigured.test.ts assertions (/not configured/i, /set pat/i, /adoproject/i) still match the new copy
  • CI (unit + e2e + lint) green

🤖 Generated with Claude Code

On-prem users with adoBaseUrl + adoProject + PAT set were told to
configure tfvc.adoOrg — a field they don't need. The underlying config
check has always accepted either adoOrg (cloud) or adoBaseUrl (on-prem),
but both the SCM error toast and the review-diff placeholder text only
mentioned adoOrg. Update the copy to reflect what the check actually
requires.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jschfflr
jschfflr merged commit 9e523c4 into main Apr 22, 2026
2 checks passed
@jschfflr
jschfflr deleted the fix/not-configured-onprem-wording branch April 22, 2026 09:55
@jschfflr jschfflr mentioned this pull request Apr 22, 2026
4 tasks
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