Repository navigation
Description
Timing
Implement this in a new, separate PR after the Diagnose connection feature (#100) ships. Do not include these changes in the diagnostics feature PR.
Problem
Tree recovery actions use inconsistent wording. Five labels start with "Click here to", while "Diagnose this connection…", Kubernetes actions, and Local Quick Start recovery actions use direct verbs. Capitalization and ellipses also vary.
Agreed wording convention
- Use direct action labels in sentence case; remove "Click here to".
- Use an ellipsis when opening a workflow or requesting further input, not for an immediate retry or opening a file/log.
- Keep command routing, arguments, recovery classification, availability, and error-state caching unchanged.
- Preserve the distinction between credential-only and mixed discovery failures.
All command IDs in the tables below have the prefix vscode-documentdb.command..
Error/recovery actions
| Current label | Proposed label | Command suffix |
|---|---|---|
| Click here to retry | Retry | internal.retry |
| Click here to retry | Retry | discoveryView.kubernetes.reloadSource |
| Click here to retry | Retry | refresh |
| Click here to revisit credentials | Review credentials… | discoveryView.manageCredentials |
| Click here to resolve the issues | Review discovery issues… | discoveryView.manageCredentials |
| Diagnose this connection… | Diagnose this connection… (unchanged) | diagnoseConnection |
| Click here to open the shell | Open shell | shell.open |
| Click here to update credentials | Update credentials… | connectionsView.updateCredentials |
| Edit Kubeconfig | Edit kubeconfig | discoveryView.kubernetes.editSource |
| View Kubeconfig | View kubeconfig | discoveryView.kubernetes.viewSource |
| Retry setup | Retry setup… | localQuickStart.open |
| View setup log | View setup log (unchanged) | localQuickStart.viewLogs |
| Delete container | Delete container… | localQuickStart.delete |
The identical Retry labels intentionally retain three different commands. The Atlas project retry is independently defined and must also be updated.
Related setup/unavailable-state rows
These are not necessarily failures, but belong in the consistency pass. The Atlas sign-in and Kubernetes add-source rows currently use the error context value.
| Current label | Proposed label | Command suffix |
|---|---|---|
| Sign in to view MongoDB Atlas clusters | Add Atlas credentials… | internal.atlas.addCredential |
| Add Kubeconfig… | Add kubeconfig… | discoveryView.kubernetes.addSource |
| Start container | Start container (unchanged) | localQuickStart.start |
| Recreate container | Recreate container… | localQuickStart.open |
| Review Docker setup | Review Docker setup… | localQuickStart.open |
| Review setup | Review setup… | localQuickStart.open |
Legacy message-only error nodes
RemoveMeBaseCachedBranchDataProvider appears unused: the inventory found no TypeScript consumers. Confirm this before deciding whether any change is necessary. Do not introduce new usages. If these paths are reachable, errors belong in a modal, with actionable recovery rows in the tree rather than message-only rows.
| Current label | Proposed modal wording | Current command |
|---|---|---|
| Error: {0} | Could not load items: {0} | None |
| Unsupported resource: {0} | This resource is not supported: {0} | None |
| Error creating resource: {0} | Could not display resource: {0} | None |
Implementation surfaces
- Shared retry node.
- Base cluster recovery actions.
- Connections-view credential recovery, including the matching example in BaseExtendedTreeDataProvider.
- Atlas recovery labels, project retry, and initial credential action.
- Update the matching Atlas wizard recovery label to "Review credentials…" and the organization tooltip quoting it.
- Kubernetes source recovery actions and root add-source action.
- Local Quick Start recovery and preflight actions.
- Legacy message-only provider.
Acceptance criteria
- Work starts only after Diagnose connection ships, in a separate PR.
- All active labels match the proposed wording, including duplicated definitions and related Quick Start states.
- Confirm ellipses match the actual interaction, especially setup and destructive confirmation flows.
- Commands, arguments (including diagnostics entry-point attribution), recovery ordering, classification, gating, and cache behavior remain unchanged for the wording updates.
- Atlas wizard wording, quoted tooltips, directly related documentation, helper comments, and examples stay consistent.
- Resolve the legacy provider's reachability explicitly; do not perform an unrelated tree-provider refactor.
- Update focused tests to cover exact labels and unchanged command wiring across Connections, Discovery (including Atlas tree/list modes), Azure Resources, Kubernetes, and Local Quick Start.
- Keep localization aligned using the repository's verification workflow; run the full ready-for-review checks when handing over the new PR.
This issue records the agreed follow-up only; no implementation changes were made as part of the inventory.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity