microsoft / vscode-cosmosdb

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

The opened document file is not in read-only status if clicking "View" button to show it #2463

Open v-ruizh opened 3 days ago

v-ruizh commented 3 days ago

OS: Windows 10 Build Version: 20241120.1 Regression: Not a Regression

Repro Steps:

  1. Expand one MongoDB cluster in VS Code -> Single click the "Documents" node.
  2. Select one document in the "Results" table -> Click "View" button. Image
  3. Check whether the opened document file is in read-only status or not.

Expect: The opened document file is in read-only status, like the one in NoSQL account. Image

Actual: The opened document file is not in read-only status. Image

More Info: The opened document file can be edited but the "Save" button is disabled forever.

tnaum-ms commented 3 days ago

Consider hiding buttons that stay disabled forever to reduce confusion.