Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading Copilot Notification Panel Ext. Version Update #1034

Merged

Conversation

amitjoshi438
Copy link
Contributor

@amitjoshi438 amitjoshi438 commented Sep 9, 2024

This pull request includes several changes to the extension.ts and constants.ts files to introduce version-based notifications for the Copilot feature. The main changes involve adding new constants, updating imports, and implementing logic to show notifications based on the extension version.

Notification Logic Updates:

  • Added logic to show the Copilot notification panel on the first load or after an update by comparing the stored version with the current version in function showNotificationForCopilot in src/client/extension.ts.
  • Added similar version-based notification logic in function showNotificationForCopilot in src/web/client/extension.ts.

Constants and Imports:

  • Added EXTENSION_VERSION_KEY and EXTENSION_ID constants to src/common/copilot/constants.ts.
  • Updated imports to include EXTENSION_VERSION_KEY and EXTENSION_ID in src/client/extension.ts and src/web/client/extension.ts. [1] [2] [3]

@amitjoshi438 amitjoshi438 requested review from a team as code owners September 9, 2024 09:07
@amitjoshi438 amitjoshi438 requested review from sanxsth and removed request for sanxsth September 10, 2024 06:23
@amitjoshi438 amitjoshi438 enabled auto-merge (squash) September 10, 2024 06:27
@amitjoshi438 amitjoshi438 merged commit 5db529f into main Sep 10, 2024
6 checks passed
@amitjoshi438 amitjoshi438 deleted the users/amitjoshi/copilotNotificationPanelVisibilityUpdate branch September 10, 2024 06:31
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.

4 participants