Граф коммитов

640 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 36a0109fbb
Bump unzip-stream from 0.3.1 to 0.3.2 (#1023)
Bumps [unzip-stream](https://github.com/mhr3/unzip-stream) from 0.3.1 to 0.3.2.
- [Commits](https://github.com/mhr3/unzip-stream/compare/v0.3.1...v0.3.2)

---
updated-dependencies:
- dependency-name: unzip-stream
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
2024-09-10 08:49:07 +00:00
dependabot[bot] 8e4e8bbfe6
Bump webpack from 5.76.0 to 5.94.0 (#1025)
Bumps [webpack](https://github.com/webpack/webpack) from 5.76.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.76.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
2024-09-10 14:14:18 +05:30
tyaginidhi 22e79f2436
Fix ECS tenant flag and update PAC-CLI version (#1036) 2024-09-10 13:59:21 +05:30
amitjoshi438 5db529ffbc
Loading Copilot Notification Panel Ext. Version Update (#1034)
* Loading panel on new update

* refactor: Update COPILOT_NOT_AVAILABLE_MSG with disabled AI features message

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-09-10 06:31:27 +00:00
Sandeep Satheesh afc98a24e5
Add Power_Platform_Tools_Feed to supported Nuget feeds. (#1031)
Co-authored-by: Sandeep Satheesh <ssatheesh@microsoft.com>
2024-09-10 06:11:10 +00:00
dependabot[bot] 8e6f0433ea
Bump micromatch from 4.0.5 to 4.0.8 (#1024)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/4.0.8/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
2024-09-10 05:42:57 +00:00
amitjoshi438 16ed7ce4cf
Update telemetry events for @powerpages (#1032)
* feat: Telemetry event updates

* refactor: Remove commented code for PAC USER ID

* refactor: Update telemetry event names for GitHub Power Pages agent

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-09-09 09:26:11 +00:00
Ashwani Kumar c33c28c684
changed the reorder of powerpagesNavigation (#1026)
Co-authored-by: Ashwani Kumar <ashwanikumar@microsoft.com>
2024-09-04 18:20:19 +05:30
amitjoshi438 6244d69fae
[@powerpages] Chat Variable and Org Handling (#1029)
* remove variables

* Updated org auth handling

* refactor: Renamed fxn

* refactor: Initialize organization details in OrgHandlerUtils

This commit refactors the `initializeOrgDetails` function in `OrgHandlerUtils.ts` to improve the initialization of organization details. It now retrieves stored organization details from the global state and returns them if available. If not, it uses the PAC wrapper to fetch the organization details and stores them in the global state for future use. This change enhances the efficiency and reliability of the organization details initialization process.

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-09-04 11:48:18 +00:00
tyaginidhi fe3db7f100
Telemetry event name update for web worker and formatting update (#1028)
* Telemetry event name update for web worker and formatting update

* including bundle json latest
2024-09-03 15:41:47 +05:30
amitjoshi438 15eeb9439b
[PowerPages Copilo] Add apiRequest as object (#1022)
* apiRequest as object

* refactor: moved strings to constants

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-08-29 06:23:47 +00:00
amitjoshi438 09fda373f2
feat: Add @powerpages feedback telemetry (#1000)
* feat: Add @powerpages feedback telemetry

* refactor: response return and feedback

* refactor:ADX_WEBPAGE CONSTANT

* refactor: Update PowerPagesChatParticipantConstants formatting

* refactor: Improve PowerPagesChatParticipant logic and error handling

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-08-26 11:59:35 +05:30
toshio-msft f9af0d95a8
[powerplatform-vscode] Localization hand-back [CTAS - RunID=20240816-182254-34af1vhb36] (#1020)
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
2024-08-21 09:37:32 +00:00
amitjoshi438 daffb67b7e
[@Powerpages Copilot] Context Improvement for Webpage (#1016)
* Context improvement for webpage

* refactor: Remove commented code for fetching related files

* refactor: Iapi version upgrade

* refactor: Update fetchRelatedFiles to include telemetry for error handling

* refactor: sessionId for relatedFiles

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-08-20 14:59:54 +05:30
amitjoshi438 ffe2bcab3d
Passing Active Editor Info (#1015)
* Users/nityagi/update feature branch (#933)

* Moving auth create flow to utils (#926)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Making auth provider a common module flow (#928)

* refactor: Update QuickPickProvider to handle tab input changes (#930)

The code changes in the QuickPickProvider class handle tab input changes by checking if the active tab is an instance of vscode.TabInputCustom or vscode.TabInputText. If it is, the QuickPickProvider updates the quick pick items based on the file path of the tab input.

Note: This commit message follows the convention used in recent repository commits.

* Updates to Artemis service & telemetry endpoints for gov clouds (#906)

* Updates to artemis for gov clouds

* change

* changes

---------

Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>

---------

Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>

* GitHub copilot chat -  @powerpages contribution (#927)

* chore: Update package.json with extension dependencies and enabled API proposals for chat participants

* feat: Add PowerPagesChatParticipant for chat functionality

* feat: Add logic to handle chat requests in PowerPagesChatParticipant

* feat: Removed logs

* TODO

* formatting change

* Remove unused extension dependency

* feat: Add handler for chat requests in PowerPagesChatParticipant

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>

* [@powerpages] GitHub copilot auth handling for AIB and PAC (#947)

* chore: Update package.json with extension dependencies and enabled API proposals for chat participants

* feat: Add PowerPagesChatParticipant for chat functionality

* feat: Add logic to handle chat requests in PowerPagesChatParticipant

* feat: Removed logs

* TODO

* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)

* chore: Remove unused code and update PowerPagesChatParticipant initialization

* chore: Update PowerPagesChatParticipant initialization and pac integration

* feat: Initialize organization details in PowerPagesChatParticipant

* chore: Remove unnecessary code and update OrgChangeNotifier initialization

* Fix lint warnings

* feat: Refactor PowerPagesChatParticipant class

The code changes refactor the PowerPagesChatParticipant class in the `PowerPagesChatParticipant.ts` file. The changes include:
- Fixing a typo in the `instance` property declaration
- Updating the constructor parameters to have consistent spacing
- Adding a comment to handle chat requests
- Removing a console.log statement
- Updating the `intializeOrgDetails` method to have consistent spacing
- Updating the `intializeOrgDetails` method to use destructuring assignment
- Updating the `intializeOrgDetails` method to update the `orgDetails` in the global state
- Removing unused code

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Added response for error scenarios

* Added & removed comments

* refactor: Update PowerPagesCopilot name in package.json

The code changes in the package.json file update the "name" property for the "powerpages" module to "Power Pages Copilot". This change reflects the updated name for the module.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Code refactoring for utils and constants

* Enhanced pac auth handling

* refactor: Update PowerPagesChatParticipantConstants

The code changes in the `PowerPagesChatParticipantConstants.ts` file refactor the constants used in the PowerPages chat participant. The changes include:
- Cleaning up the code formatting

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>

* Resolve merge conflicts

* [@Powerpages]GitHub copilot request handling (#957)

* chore: Update package.json with extension dependencies and enabled API proposals for chat participants

* feat: Add PowerPagesChatParticipant for chat functionality

* feat: Add logic to handle chat requests in PowerPagesChatParticipant

* feat: Removed logs

* TODO

* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)

* feat: Add getActiveEditorContent function for retrieving active editor data

The code changes add a new function called getActiveEditorContent to the Utils module. This function retrieves the content and parameters of the active editor in Visual Studio Code. It is used in the PowerPagesCopilot module to get the active file content and its associated parameters.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* chore: Remove unused code and update PowerPagesChatParticipant initialization

* chore: Update PowerPagesChatParticipant initialization and pac integration

* feat: Initialize organization details in PowerPagesChatParticipant

* @powerpages aib endpoint handling

* feat: Add getActiveEditorContent function to retrieve active editor data

The code changes introduce a new function called getActiveEditorContent in the Utils module. This function allows retrieving the content and parameters of the active editor in Visual Studio Code. It is utilized in the PowerPagesCopilot module to obtain the active file content and its associated parameters.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Multiline response handling

* Todo comment for auth create exp

* feat: Handle Copilot Unavailable scenario with response to user

* Update in package.json

* chore: Remove extension dependency

* Full name for @powerpages

* refactor: Refactor PowerPagesChatParticipant class
- Removing unused code

* chat api insider version

* refactor: Refactor PowerPagesChatParticipant import paths

* Update package.json version to 1.0.1-dev and other refactoring

* refactor: Remove unused code in PowerPagesChatParticipant class

* refactor: Moved Dataverse details fetch to utils

* refactor: Added entity check to utils

* refactor: Update localization strings and package version

* chore: Remove @types/vscode dependency and update package-lock.json and package.json

* chore: Update @types/vscode dependency to version 1.89.0

* chore: Remove @types/vscode dependency and update package-lock.json and package.json

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>

* [PowerPages] Copilot Availability Check for @powerpages (#962)

* feat: Add environmentID field to OrgDetails interface

The code changes add an optional `environmentID` field to the `OrgDetails` interface in the `PowerPagesChatParticipantTypes.ts` file. This field represents the ID of the environment associated with the organization. It is used in the `getEndpoint` function in the `PowerPagesChatParticipantUtils.ts` file to retrieve the intelligence endpoint and geo name for the specified organization and environment.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>

* feat: Update PowerPagesChatParticipantUtils to return componentInfo and entityName

The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change allows for better handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* feat: Modify getComponentInfo to return componentInfo and entityName

The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change improves the handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* feat: Add telemetry event names for GitHub Power Pages agent (#969)

* feat: Add telemetry event names for GitHub Power Pages agent

* chore: Update telemetry event names for GitHub Power Pages agent

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>

* feat: Add selected code support to getActiveEditorContent function

* feat: Add support for retrieving active editor content and parameters

The code changes in the `getActiveEditorContent` function of the `Utils.ts` file add support for retrieving the content and parameters of the active editor in Visual Studio Code. This function now handles selected code, visible code, and full file content scenarios. It also updates the `activeFileData` object with the appropriate content and line range information. This change improves the functionality of the `getActiveEditorContent` function and enhances the overall user experience.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* feat: Improve getActiveEditorContent function to handle selected code, visible code, and full file content scenario

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* feat: Commented visible code part functionality

* passing activeFileContent for prodev copilot

* Removed redundant code

* pr comments

---------

Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
2024-08-14 09:16:58 +00:00
tyaginidhi a66c2f269a
Release notes for August release (#1012)
* Release notes for August release

* Web extension bug fix

* Update CHANGELOG.md
2024-08-13 10:36:47 +00:00
toshio-msft c5ed53ada0
[powerplatform-vscode] Localization hand-back [CTAS - RunID=20240807-234525-qxnzrxjcp] (#1013)
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
2024-08-13 14:27:17 +05:30
amitjoshi438 77a0c65a93
Users/amitjoshi/GitHub copilot string updates (#997)
* Users/nityagi/update feature branch (#933)

* Moving auth create flow to utils (#926)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Making auth provider a common module flow (#928)

* refactor: Update QuickPickProvider to handle tab input changes (#930)

The code changes in the QuickPickProvider class handle tab input changes by checking if the active tab is an instance of vscode.TabInputCustom or vscode.TabInputText. If it is, the QuickPickProvider updates the quick pick items based on the file path of the tab input.

Note: This commit message follows the convention used in recent repository commits.

* Updates to Artemis service & telemetry endpoints for gov clouds (#906)

* Updates to artemis for gov clouds

* change

* changes

---------

Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>

---------

Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>

* GitHub copilot chat -  @powerpages contribution (#927)

* chore: Update package.json with extension dependencies and enabled API proposals for chat participants

* feat: Add PowerPagesChatParticipant for chat functionality

* feat: Add logic to handle chat requests in PowerPagesChatParticipant

* feat: Removed logs

* TODO

* formatting change

* Remove unused extension dependency

* feat: Add handler for chat requests in PowerPagesChatParticipant

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>

* [@powerpages] GitHub copilot auth handling for AIB and PAC (#947)

* chore: Update package.json with extension dependencies and enabled API proposals for chat participants

* feat: Add PowerPagesChatParticipant for chat functionality

* feat: Add logic to handle chat requests in PowerPagesChatParticipant

* feat: Removed logs

* TODO

* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)

* chore: Remove unused code and update PowerPagesChatParticipant initialization

* chore: Update PowerPagesChatParticipant initialization and pac integration

* feat: Initialize organization details in PowerPagesChatParticipant

* chore: Remove unnecessary code and update OrgChangeNotifier initialization

* Fix lint warnings

* feat: Refactor PowerPagesChatParticipant class

The code changes refactor the PowerPagesChatParticipant class in the `PowerPagesChatParticipant.ts` file. The changes include:
- Fixing a typo in the `instance` property declaration
- Updating the constructor parameters to have consistent spacing
- Adding a comment to handle chat requests
- Removing a console.log statement
- Updating the `intializeOrgDetails` method to have consistent spacing
- Updating the `intializeOrgDetails` method to use destructuring assignment
- Updating the `intializeOrgDetails` method to update the `orgDetails` in the global state
- Removing unused code

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Added response for error scenarios

* Added & removed comments

* refactor: Update PowerPagesCopilot name in package.json

The code changes in the package.json file update the "name" property for the "powerpages" module to "Power Pages Copilot". This change reflects the updated name for the module.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Code refactoring for utils and constants

* Enhanced pac auth handling

* refactor: Update PowerPagesChatParticipantConstants

The code changes in the `PowerPagesChatParticipantConstants.ts` file refactor the constants used in the PowerPages chat participant. The changes include:
- Cleaning up the code formatting

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>

* Resolve merge conflicts

* [@Powerpages]GitHub copilot request handling (#957)

* chore: Update package.json with extension dependencies and enabled API proposals for chat participants

* feat: Add PowerPagesChatParticipant for chat functionality

* feat: Add logic to handle chat requests in PowerPagesChatParticipant

* feat: Removed logs

* TODO

* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)

* feat: Add getActiveEditorContent function for retrieving active editor data

The code changes add a new function called getActiveEditorContent to the Utils module. This function retrieves the content and parameters of the active editor in Visual Studio Code. It is used in the PowerPagesCopilot module to get the active file content and its associated parameters.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* chore: Remove unused code and update PowerPagesChatParticipant initialization

* chore: Update PowerPagesChatParticipant initialization and pac integration

* feat: Initialize organization details in PowerPagesChatParticipant

* @powerpages aib endpoint handling

* feat: Add getActiveEditorContent function to retrieve active editor data

The code changes introduce a new function called getActiveEditorContent in the Utils module. This function allows retrieving the content and parameters of the active editor in Visual Studio Code. It is utilized in the PowerPagesCopilot module to obtain the active file content and its associated parameters.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Multiline response handling

* Todo comment for auth create exp

* feat: Handle Copilot Unavailable scenario with response to user

* Update in package.json

* chore: Remove extension dependency

* Full name for @powerpages

* refactor: Refactor PowerPagesChatParticipant class
- Removing unused code

* chat api insider version

* refactor: Refactor PowerPagesChatParticipant import paths

* Update package.json version to 1.0.1-dev and other refactoring

* refactor: Remove unused code in PowerPagesChatParticipant class

* refactor: Moved Dataverse details fetch to utils

* refactor: Added entity check to utils

* refactor: Update localization strings and package version

* chore: Remove @types/vscode dependency and update package-lock.json and package.json

* chore: Update @types/vscode dependency to version 1.89.0

* chore: Remove @types/vscode dependency and update package-lock.json and package.json

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>

* [PowerPages] Copilot Availability Check for @powerpages (#962)

* feat: Add environmentID field to OrgDetails interface

The code changes add an optional `environmentID` field to the `OrgDetails` interface in the `PowerPagesChatParticipantTypes.ts` file. This field represents the ID of the environment associated with the organization. It is used in the `getEndpoint` function in the `PowerPagesChatParticipantUtils.ts` file to retrieve the intelligence endpoint and geo name for the specified organization and environment.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>

* feat: Update PowerPagesChatParticipantUtils to return componentInfo and entityName

The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change allows for better handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* feat: Modify getComponentInfo to return componentInfo and entityName

The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change improves the handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* feat: Add telemetry event names for GitHub Power Pages agent (#969)

* feat: Add telemetry event names for GitHub Power Pages agent

* chore: Update telemetry event names for GitHub Power Pages agent

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>

* chore: Update PowerPagesChatParticipantConstants with disclaimer message

* chore: Update DISCLAIMER_MESSAGE in PowerPagesChatParticipantConstants.ts

* Added link to @powerpages in existing copilot

* refactor: Update fullName and description in powerpages package.json

* feat: Remove unnecessary code and update GitHub Copilot link in PowerPagesCopilot.ts and copilot.js

* feat: Add environment message to PowerPagesCopilot.ts

* Remove unused enabledApiProposals from package.json

* chore: Update PowerPagesCopilot.ts to include sample request in GitHub Copilot chat

* chore: string updates for cost

---------

Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
2024-08-09 14:01:33 +05:30
gshivi f21aefa046
Log AadObjectId for desktop extension telemetry (#1009)
* Changed for AAD Id

* Updates

* Removing extra line

* change

* Adding null check

---------

Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
2024-08-08 17:15:01 +05:30
tyaginidhi 17ea81ab43
refactor: Update auth profile error messages (#1011)
The auth profile error messages have been updated to provide more specific and user-friendly information. This refactor improves the user experience when dealing with authentication issues.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-08-07 14:57:23 +05:30
amitjoshi438 ba3c954073
chore: Disable @powerpages (#1008)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-08-05 07:49:47 +00:00
amitjoshi438 9b43228dc8
refactor: Update fullName and description for Copilot integration with Power Pages (#1007)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-08-01 17:59:41 +05:30
toshio-msft 7e154316d4
[powerplatform-vscode] Localization hand-back [CTAS - RunID=20240716-014422-mhwkzncjr2] (#999)
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
2024-07-26 08:27:43 +00:00
tyaginidhi 1dcf5da45c
Validate web site preview URL (#1003)
* Validate website preview URL

* formatting updates
2024-07-26 07:25:39 +00:00
Crash Collison 6730f598be
Update to PAC 1.33.5 (#998) 2024-07-26 10:46:43 +05:30
tyaginidhi 726205d584
Check Dataverse Org URL for validity (#1001)
* Check Dataverse Org URL fro validity

* Update test cases
2024-07-25 11:42:09 +05:30
amitjoshi438 1dcf63c5e3
Adds @powerpages Integration (#994)
* Users/nityagi/update feature branch (#933)

* Moving auth create flow to utils (#926)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Making auth provider a common module flow (#928)

* refactor: Update QuickPickProvider to handle tab input changes (#930)

The code changes in the QuickPickProvider class handle tab input changes by checking if the active tab is an instance of vscode.TabInputCustom or vscode.TabInputText. If it is, the QuickPickProvider updates the quick pick items based on the file path of the tab input.

Note: This commit message follows the convention used in recent repository commits.

* Updates to Artemis service & telemetry endpoints for gov clouds (#906)

* Updates to artemis for gov clouds

* change

* changes

---------

Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>

---------

Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>

* GitHub copilot chat -  @powerpages contribution (#927)

* chore: Update package.json with extension dependencies and enabled API proposals for chat participants

* feat: Add PowerPagesChatParticipant for chat functionality

* feat: Add logic to handle chat requests in PowerPagesChatParticipant

* feat: Removed logs

* TODO

* formatting change

* Remove unused extension dependency

* feat: Add handler for chat requests in PowerPagesChatParticipant

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>

* [@powerpages] GitHub copilot auth handling for AIB and PAC (#947)

* chore: Update package.json with extension dependencies and enabled API proposals for chat participants

* feat: Add PowerPagesChatParticipant for chat functionality

* feat: Add logic to handle chat requests in PowerPagesChatParticipant

* feat: Removed logs

* TODO

* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)

* chore: Remove unused code and update PowerPagesChatParticipant initialization

* chore: Update PowerPagesChatParticipant initialization and pac integration

* feat: Initialize organization details in PowerPagesChatParticipant

* chore: Remove unnecessary code and update OrgChangeNotifier initialization

* Fix lint warnings

* feat: Refactor PowerPagesChatParticipant class

The code changes refactor the PowerPagesChatParticipant class in the `PowerPagesChatParticipant.ts` file. The changes include:
- Fixing a typo in the `instance` property declaration
- Updating the constructor parameters to have consistent spacing
- Adding a comment to handle chat requests
- Removing a console.log statement
- Updating the `intializeOrgDetails` method to have consistent spacing
- Updating the `intializeOrgDetails` method to use destructuring assignment
- Updating the `intializeOrgDetails` method to update the `orgDetails` in the global state
- Removing unused code

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Added response for error scenarios

* Added & removed comments

* refactor: Update PowerPagesCopilot name in package.json

The code changes in the package.json file update the "name" property for the "powerpages" module to "Power Pages Copilot". This change reflects the updated name for the module.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Code refactoring for utils and constants

* Enhanced pac auth handling

* refactor: Update PowerPagesChatParticipantConstants

The code changes in the `PowerPagesChatParticipantConstants.ts` file refactor the constants used in the PowerPages chat participant. The changes include:
- Cleaning up the code formatting

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>

* Resolve merge conflicts

* [@Powerpages]GitHub copilot request handling (#957)

* chore: Update package.json with extension dependencies and enabled API proposals for chat participants

* feat: Add PowerPagesChatParticipant for chat functionality

* feat: Add logic to handle chat requests in PowerPagesChatParticipant

* feat: Removed logs

* TODO

* feat: Add logic to handle chat requests in PowerPagesChatParticipant(correct response format)

* feat: Add getActiveEditorContent function for retrieving active editor data

The code changes add a new function called getActiveEditorContent to the Utils module. This function retrieves the content and parameters of the active editor in Visual Studio Code. It is used in the PowerPagesCopilot module to get the active file content and its associated parameters.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* chore: Remove unused code and update PowerPagesChatParticipant initialization

* chore: Update PowerPagesChatParticipant initialization and pac integration

* feat: Initialize organization details in PowerPagesChatParticipant

* @powerpages aib endpoint handling

* feat: Add getActiveEditorContent function to retrieve active editor data

The code changes introduce a new function called getActiveEditorContent in the Utils module. This function allows retrieving the content and parameters of the active editor in Visual Studio Code. It is utilized in the PowerPagesCopilot module to obtain the active file content and its associated parameters.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Multiline response handling

* Todo comment for auth create exp

* feat: Handle Copilot Unavailable scenario with response to user

* Update in package.json

* chore: Remove extension dependency

* Full name for @powerpages

* refactor: Refactor PowerPagesChatParticipant class
- Removing unused code

* chat api insider version

* refactor: Refactor PowerPagesChatParticipant import paths

* Update package.json version to 1.0.1-dev and other refactoring

* refactor: Remove unused code in PowerPagesChatParticipant class

* refactor: Moved Dataverse details fetch to utils

* refactor: Added entity check to utils

* refactor: Update localization strings and package version

* chore: Remove @types/vscode dependency and update package-lock.json and package.json

* chore: Update @types/vscode dependency to version 1.89.0

* chore: Remove @types/vscode dependency and update package-lock.json and package.json

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>

* [PowerPages] Copilot Availability Check for @powerpages (#962)

* feat: Add environmentID field to OrgDetails interface

The code changes add an optional `environmentID` field to the `OrgDetails` interface in the `PowerPagesChatParticipantTypes.ts` file. This field represents the ID of the environment associated with the organization. It is used in the `getEndpoint` function in the `PowerPagesChatParticipantUtils.ts` file to retrieve the intelligence endpoint and geo name for the specified organization and environment.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>

* feat: Update PowerPagesChatParticipantUtils to return componentInfo and entityName

The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change allows for better handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* feat: Modify getComponentInfo to return componentInfo and entityName

The code changes in PowerPagesChatParticipantUtils modify the getComponentInfo function to return an object with two properties: componentInfo and entityName. This change improves the handling of component information and entity details for the active file. The updated function is used in PowerPagesChatParticipant to retrieve the necessary data for sending API requests.

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* feat: Add telemetry event names for GitHub Power Pages agent (#969)

* feat: Add telemetry event names for GitHub Power Pages agent

* chore: Update telemetry event names for GitHub Power Pages agent

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>

* chore: Update npm dependency to latest stable version (#992)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* chore:Config to enable @powerpages integration in GitHub Copilot chat

```

* chore: Remove unused enabledApiProposals from package.json

* chore: Update import paths for PAC_SUCCESS constant

* Fix build error after merge from master

* Update code after review

* chore: Added code values to be skipped

---------

Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ritik Ramuka <56073559+ritikramuka@users.noreply.github.com>
Co-authored-by: gshivi <123095952+gshivi@users.noreply.github.com>
Co-authored-by: Shivika Gupta <shivikagupta@microsoft.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
2024-07-11 08:20:55 +00:00
tyaginidhi 85f1958076
Dependabot alert fix - Update braces library to latest version (#996) 2024-07-11 13:32:15 +05:30
dependabot[bot] a6ece55575
Bump ws, engine.io-client, puppeteer-core and puppeteer (#993)
* Bump ws, engine.io-client, puppeteer-core and puppeteer

Bumps [ws](https://github.com/websockets/ws) to 8.17.1 and updates ancestor dependencies [ws](https://github.com/websockets/ws), [engine.io-client](https://github.com/socketio/engine.io-client), [puppeteer-core](https://github.com/puppeteer/puppeteer) and [puppeteer](https://github.com/puppeteer/puppeteer). These dependencies need to be updated together.


Updates `ws` from 8.11.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.11.0...8.17.1)

Updates `engine.io-client` from 6.5.3 to 6.5.4
- [Release notes](https://github.com/socketio/engine.io-client/releases)
- [Changelog](https://github.com/socketio/engine.io-client/blob/6.5.4/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io-client/compare/6.5.3...6.5.4)

Updates `puppeteer-core` from 14.4.1 to 22.12.1
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v14.4.1...puppeteer-core-v22.12.1)

Updates `puppeteer` from 19.4.0 to 22.12.1
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.4.0...puppeteer-v22.12.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
- dependency-name: engine.io-client
  dependency-type: indirect
- dependency-name: puppeteer-core
  dependency-type: direct:production
- dependency-name: puppeteer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix build issue

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
Co-authored-by: Nidhi Tyagi 🌟🐇🌴❄️ <nityagi@microsoft.com>
2024-07-10 14:59:49 +05:30
tyaginidhi e96eabc40c
Fix cross folder dependency (folder reference restriction will be added in a new PR) (#990)
* Fix cross referencing in modules

* merge fix

* Fix integration test cases
2024-07-10 10:18:50 +05:30
amitjoshi438 53f652706f
chore: Update vscode and @types/vscode dependencies to latest versions (#991)
* chore: Update vscode and @types/vscode dependencies to latest versions

* chore: Update @types/vscode dependency to version 1.91.0

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-07-09 15:34:03 +05:30
tyaginidhi c4de87235f
Update json files after localization handover (#989) 2024-07-05 04:42:37 +00:00
tyaginidhi 090bdf701b
Fix HTML/YML server crash issue (#988) 2024-07-04 22:30:33 +05:30
toshio-msft 960aa93813
[powerplatform-vscode] Localization hand-back [CTAS - RunID=20240628-001241-eh7t5xpfc4] (#985) 2024-07-02 12:06:50 +05:30
tyaginidhi 2b535c25c0
Handle multi step form with bad step data (#977) 2024-06-21 10:50:56 +05:30
amitjoshi438 6a61876d64
chore: Update webpage name validation check (#978)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-06-17 15:37:53 +05:30
tyaginidhi a256808344
Use JWT token for user id (#976)
* Use JWT token for user id

* fix test case
2024-06-13 15:03:42 +05:30
tyaginidhi ac34172ae6
Fix userId read on all auth flows (#974) 2024-06-12 12:30:07 +00:00
Crash Collison 99b18e1e2e
Updating PAC to v1.32.8 (#965) 2024-05-30 06:26:51 +00:00
amitjoshi438 cf7fc7e829
chore: Update MultiStepInput import paths in create power pages files (#968)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-05-29 17:01:07 +05:30
tyaginidhi 0f9c3f4acb
Users/nityagi/fix cross geo flagread and release notes update (#964)
* Auth Profile listing fix (#841) (#842)

* Fix Enhanced data model filename language fetch and populate (#835)

* February release notes updates for web extension (#831)

* February release notes updates for web extension

* Update for bug fix and release extension version

* Auth Profile listing fix (#841) (#842)

* Invoking Language server only for PowerPages workspace (#952)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Fix EnvId getting null for Web extension flow (#963)

* Auth Profile listing fix (#841) (#842)

* Fix Enhanced data model filename language fetch and populate (#835)

* February release notes updates for web extension (#831)

* February release notes updates for web extension

* Update for bug fix and release extension version

* Auth Profile listing fix (#841) (#842)

* Invoking Language server only for PowerPages workspace (#952)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* envID fix for desktop extension

---------

Co-authored-by: Crash Collison <3751389+tehcrashxor@users.noreply.github.com>
Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* Update release notes and fix cross geo flag read and use

* nit: fix spacing

---------

Co-authored-by: Crash Collison <3751389+tehcrashxor@users.noreply.github.com>
Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-05-24 09:09:14 +05:30
tyaginidhi f8af474828
Fix EnvId getting null for Web extension flow (#963)
* Auth Profile listing fix (#841) (#842)

* Fix Enhanced data model filename language fetch and populate (#835)

* February release notes updates for web extension (#831)

* February release notes updates for web extension

* Update for bug fix and release extension version

* Auth Profile listing fix (#841) (#842)

* Invoking Language server only for PowerPages workspace (#952)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>

* envID fix for desktop extension

---------

Co-authored-by: Crash Collison <3751389+tehcrashxor@users.noreply.github.com>
Co-authored-by: amitjoshi438 <54068463+amitjoshi438@users.noreply.github.com>
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-05-23 07:08:04 +00:00
amitjoshi438 d74a670f7e
Copilot avail check util (#961)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-05-22 17:12:19 +05:30
Ritik Ramuka 3d74f360f4
chore: Update vscode and @types/vscode dependencies to version 1.89.0 (#960)
* chore: Update vscode and @types/vscode dependencies to version 1.89.0

and nessasary changes to quickpick to support.

* chore: Update vscode and @types/vscode dependencies to version 1.89.0
2024-05-21 16:45:28 +05:30
amitjoshi438 bd57a808bd
Auth create flow triggered only when copilot WebView is visible (#956)
* auth create only when copilot webview visible

* feat: Add ignoreFocusOut option to showInputBoxAndGetOrgUrl function

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-05-20 15:36:11 +05:30
tyaginidhi 2aa25dbd21
Loc changes update in bundle files (#955) 2024-05-20 13:39:22 +05:30
tyaginidhi dfe328989c
Update PowerPagesCopilot to initialize EnvId for Desktop extension flow of copilot; Cleanup web extension Artemis calls (#953) 2024-05-20 04:23:38 +00:00
Crash Collison d8ca537d4a
PAC update to 1.32.7 (#948)
* PAC update to 1.32.5

* Bump to 1.32.6

* 1.32.7 for pa verb fix

---------

Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
2024-05-17 17:21:57 +00:00
toshio-msft 235fc753ec
[powerplatform-vscode] Localization hand-back [CTAS - RunID=20240509-194600-eyhpxpxv77] (#937)
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
2024-05-17 10:09:20 +00:00
amitjoshi438 bb96278d2c
Invoking Language server only for PowerPages workspace (#952)
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
2024-05-17 15:28:58 +05:30