microsoft / vscode-cosmosdb

Azure Databases extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdb
MIT License
155 stars 68 forks source link

[Suggestion] It would be better to change the "Database" to "database" in the input box #2198

Closed v-xinda closed 7 months ago

v-xinda commented 11 months ago

OS: All Build Version: 20231007.1 Regression: Not a regression

Repro steps:

  1. F1 -> Click "Cosmos DB: Delete Document...".
  2. Check the tip in the input box.

Actual: Show "Select resource" tip in the input box.

Screenshot 2023-10-09 at 15 24 01

Suggestion: It would be better to change the "resource" to "Resource" in the input box. Like below:

Screenshot 2023-10-09 at 15 24 13

More Info: This issue also reproduces when more than one subscription is selected.

Screenshot 2023-10-09 at 15 27 29
MicroFish91 commented 11 months ago

I personally prefer the non-branded resource names to be lower-case. I do agree that we should be consistent about this though

JasonYeMSFT commented 7 months ago

The string is pulled from the childTypeLabel of the database node's AzExtTreeItem object by the utils package. Since this is a minor issue and changing the value of childTypeLabel may carry unknown impact, let's not worry about this string for now.