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

vCore: feat: added operation summary messages #2430

Closed tnaum-ms closed 2 days ago

tnaum-ms commented 3 days ago

vCore previously lacked feedback when operations were executed, such as when a document was deleted or saved.
This PR addresses this issue.

1. Added a new setting to enable detailed operation summaries for actions such as database drops, document additions, deletions, or similar events.

image

The functionality to display operation summaries is now available in showConfirmation.ts.

2. Implemented this functionality throughout the vCore extension.

Notifications are displayed for the majority of operations:
image

3. Saving documents follows the UX approach used in the NoSQL implementation.

The Save button dynamically toggles its disabled/enabled state based on whether a document has been saved or modified. This provides a visual cue to confirm the Save operation.