Skip to content

Release 0.6.1 to main#394

Merged
tnaum-ms merged 13 commits intomainfrom
next
Nov 20, 2025
Merged

Release 0.6.1 to main#394
tnaum-ms merged 13 commits intomainfrom
next

Conversation

@tnaum-ms
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings November 20, 2025 18:40
@tnaum-ms tnaum-ms requested a review from a team as a code owner November 20, 2025 18:40
@tnaum-ms tnaum-ms merged commit cf51636 into main Nov 20, 2025
10 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR merges release 0.6.1 to main, introducing privacy compliance improvements for the Query Insights feedback feature and updating the privacy policy link.

  • Version bump from 0.6.0 to 0.6.1 across package files
  • Privacy consent checkbox added to feedback dialog with Data Protection Addendum notice
  • Feedback signals now respect VS Code telemetry settings (only enabled when telemetryLevel is "all")
  • Survey functionality disabled in production
  • Privacy policy link updated in README

Reviewed Changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
package.json, package-lock.json Version bump to 0.6.1
src/commands/openCollectionView/openCollectionView.ts Adds telemetry-based feedback signal control
src/webviews/documentdb/collectionView/collectionViewController.ts Adds feedbackSignalsEnabled configuration property
src/webviews/documentdb/collectionView/components/queryInsightsTab/QueryInsightsTab.tsx Conditionally renders FeedbackCard based on configuration
src/webviews/documentdb/collectionView/components/queryInsightsTab/components/FeedbackDialog.tsx Adds privacy consent checkbox and Data Protection Addendum notice
src/webviews/documentdb/collectionView/components/toolbar/ToolbarMainView.tsx Comments out toolbar feedback menu
src/utils/survey.ts Disables survey functionality
src/utils/survey.*.test.ts Re-enables survey in tests
l10n/bundle.l10n.json Adds privacy-related strings, removes unused "Provide Feedback"
README.md Updates privacy statement link
CHANGELOG.md Documents 0.6.1 changes
docs/release-notes/0.6.md Adds 0.6.1 patch release notes
docs/index.md Adds link to 0.6.1 release notes

Comment on lines 91 to 97
const handleClose = () => {
if (!isSubmitting) {
setSelectedReasons(new Set());
setConsentChecked(false);
onClose();
}
};
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The handleClose function resets both selectedReasons and consentChecked, but handleSubmit only resets selectedReasons (line 82). While the useEffect hook (lines 43-46) handles cleanup when open changes, for consistency and to avoid relying solely on the effect, consider also adding setConsentChecked(false) after line 82 in the handleSubmit function to ensure complete state cleanup regardless of the dialog close timing.

Copilot uses AI. Check for mistakes.
feedbackSignalsEnabled = telemetryLevel === 'all';
} catch {
// If we fail to read telemetry settings, default to false
feedbackSignalsEnabled = false;
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable feedbackSignalsEnabled is initialized to false on line 44 and then potentially reassigned in the try block (line 47). However, the catch block on line 48 also sets it to false (line 50), which is redundant since it already has this value from the initialization. Consider removing the assignment in the catch block since the initial value already serves as the fallback.

Suggested change
feedbackSignalsEnabled = false;

Copilot uses AI. Check for mistakes.
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.

2 participants