Skip to content

Comments

Merge to Release#1103

Closed
sanxsth wants to merge 41 commits intorelease/stablefrom
main
Closed

Merge to Release#1103
sanxsth wants to merge 41 commits intorelease/stablefrom
main

Conversation

@sanxsth
Copy link
Contributor

@sanxsth sanxsth commented Jan 30, 2025

Merging the main to release for the January release.

amitjoshi438 and others added 30 commits October 25, 2024 11:09
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
… Create (#1053)

* Refactor PowerPagesChatParticipantConstants and add NL2PAGE and NL2SITE constants

* Refactor PowerPagesChatParticipantConstants and add new page types

* Update constants and move telemetry to different file

* Refactor and add getCommonHeaders function

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Ashwani Kumar <ashwanikumar@microsoft.com>
* Hook for create site command with nl2page&site

* Disable any type validation

* Refactor PowerPagesChatParticipantConstants and CreateSiteCommand

- Add NL2SITE_GENERATING_SITE constant for generating a new Power Pages site
- Update progress message in CreateSiteCommand to use NL2SITE_GENERATING_SITE constant
- Remove unnecessary markdown formatting in CreateSiteHelper error handling

* Refactor localization files and update Power Pages chat participant utils

* Refactor NL2SiteService and Nl2PageService to include additional telemetry logging

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
* Add environment list retrieval and refactor BAP endpoint logic

* Add type annotation for environment list retrieval in Utils.ts

* Update src/common/utilities/Utils.ts

Co-authored-by: Priyanshu Agrawal <priyanshuagrawal@outlook.com>

* Refactor BAP environment list URL to use a variable for API version and update imports in Utils.ts

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Priyanshu Agrawal <priyanshuagrawal@outlook.com>
…stration (#1061)

* Enhance CreateSiteCommand to include extension context and add ReadonlyFileSystemProvider for site page previews

* Implement EditableFileSystemProvider for site page editing and update CreateSiteHelper to utilize it

* Integrate CreateSiteCommand into CommandRegistry and update related components for site creation functionality

* Disable copy functionality in EditableFileSystemProvider implementation

* Remove ReadonlyFileSystemProvider implementation

* Add telemetry constant for previewing site pages and refactor related components

* Refactor CommandRegistry and add command registration utility for chat participants

* Add constants for site creation parameters and refactor NL2SiteService to use them

* Refactor CreateSiteCommand and CreateSiteHelper to use structured options and improve readability; add CreateSiteTypes for better type management

* Add error telemetry constant for previewing site pages and handle errors in previewSitePagesContent function

* Rename fileContentMap to _fileContentMap for consistency and clarity in EditableFileSystemProvider

* Remove unused getUpdatedPageContent function from CreateSiteHelper to streamline code

* Add ESLint disable comments for any type usage in CreateSiteHelper and CreateSiteTypes

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Bumps  and [cross-spawn](https://github.com/moxystudio/node-cross-spawn). These dependencies needed to be updated together.

Updates `cross-spawn` from 7.0.3 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

Updates `cross-spawn` from 6.0.5 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
- dependency-name: cross-spawn
  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: amitjoshi <amitjoshi@microsoft.com>
* add release note

* fix typo

---------

Co-authored-by: Sandeep Satheesh <ssatheesh@microsoft.com>
Removing the command `extension.createChatView` from package.json as it is registered but there is no handler associated with it.
Fixes the error throws in case of bulk header rejection
Adding the code coverage output folder `.nyc_ouput` folder in `.gitignore` so that it doesn't show up in `git diff` after running code coverage command.
* Refactor CLI Acquisition Context

* Fix import

* Add tests
…hanced input handling (#1063)

* Enhance CreateSiteCommand to include extension context and add ReadonlyFileSystemProvider for site page previews

* Implement EditableFileSystemProvider for site page editing and update CreateSiteHelper to utilize it

* Integrate CreateSiteCommand into CommandRegistry and update related components for site creation functionality

* Disable copy functionality in EditableFileSystemProvider implementation

* Remove ReadonlyFileSystemProvider implementation

* Add telemetry constant for previewing site pages and refactor related components

* Refactor CommandRegistry and add command registration utility for chat participants

* Add constants for site creation parameters and refactor NL2SiteService to use them

* Refactor CreateSiteCommand and CreateSiteHelper to use structured options and improve readability; add CreateSiteTypes for better type management

* Add error telemetry constant for previewing site pages and handle errors in previewSitePagesContent function

* Rename fileContentMap to _fileContentMap for consistency and clarity in EditableFileSystemProvider

* Implement multi-step input for site creation and register command for user inputs in CreateSiteHelper

* Enhance copilot availability checks and update response structure in ArtemisService

* Add site creation inputs and environment info interfaces; refactor CreateSiteCommand

* Update src/common/chat-participants/powerpages/commands/create-site/CreateSiteTypes.ts

Co-authored-by: Priyanshu Agrawal <priyanshuagrawal@outlook.com>

* Update src/common/chat-participants/powerpages/commands/create-site/CreateSiteHelper.ts

Co-authored-by: Priyanshu Agrawal <priyanshuagrawal@outlook.com>

* Update src/common/chat-participants/powerpages/commands/create-site/CreateSiteHelper.ts

Co-authored-by: Priyanshu Agrawal <priyanshuagrawal@outlook.com>

* Add eslint directives to suppress no-explicit-any warnings in site page handling

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Priyanshu Agrawal <priyanshuagrawal@outlook.com>
Fix accessibility issue in `Send` button in Power Pages Copilot pane. Updated the `aria-label` to `Send` instead of `Match Case`
Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
To be able to easily run tests from VS Code, added test scripts in `tasks.json`
The step `testWeb` is redundant as the step `testUnitTests` already includes the test pattern defined in `testWeb` step. Hence, removing it from gulp config.
* Added site runtime preview code behind ECS Config

* localization added and moved preview site code to separate file

* fixed build failures and handled empty website recordID

* Corrected website details ppapi service for runtime preview

* merged main branch to runtimePreviewECS

* correcting function call for runtime preview

* corrected localised error

* removed bug of no show command found

* Launch Edge new tab instead of launching project

---------

Co-authored-by: Ashwani Kumar <ashwanikumar@microsoft.com>
Co-authored-by: Priyanshu Agrawal <priyanshuagrawal@outlook.com>
…mbs up/down buttons (#1082)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
…rtual workspace and remove alt cmds (#1083)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
…eters in portal schema (#1086)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
…on support (#1085)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
…essage focusable (#1087)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
…butes in notification panel (#1089)

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Add models for Actions Hub

* Basic wireup

* Add models

* ToDo

* Remove foo environment

* Remove error

* Refactor

* Add translations

* Add tests

* Add tree item for No sites found

* Add translations
priyanshu92 and others added 9 commits January 22, 2025 14:27
…1092)

* Refactor: Move actions-hub and preview-site folder under power-pages

* Remove unwanted file

* Refactor

* Add PPAPI to known words

* Disable actions hub by default
* Web Extension: Remove dependency on website preview URL

* Translations
Using `vscode.open` API to open the default file instead of `window.showTextDocument` because `showTextDocument` doesn't open binary files to it was failing to open non-text files.
* Fix environment icon for dark mode

* Refactor

* Fix test
Co-authored-by: Sandeep Satheesh <ssatheesh@microsoft.com>
Co-authored-by: Sandeep Satheesh <ssatheesh@microsoft.com>
Co-authored-by: Sandeep Satheesh <ssatheesh@microsoft.com>
* Site Preview: Initialize after ECS fetch

* Set context after loading website URL
@sanxsth sanxsth requested review from a team as code owners January 30, 2025 09:26
amitjoshi438 and others added 2 commits January 31, 2025 15:52
… web extension (#1105)

* Add source attribute handling and telemetry for invalid attributes in web extension

* Refactor source attribute handling in processDataAndCreateFile function

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
* Enhance Actions Hub: Add support for environment retrieval and localization updates

* Add unit tests for ActionsHubTreeDataProvider functionality

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
@sanxsth sanxsth closed this Feb 3, 2025
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.

5 participants