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

14 Коммитов

Автор SHA1 Сообщение Дата
tyaginidhi 5f84121808
Fix Web extension context integration test cases (#805) 2024-01-09 09:00:21 +05:30
amitjoshi438 a5c7efc39d
PowerPages ProDev Copilot Infra (#571)
* creating req. files for webview

* seprated js, prompt engine, active editor context

* added api service file

* updated package.json for webview

* vsce package update

* 1 conditional support of CREATE in desktop
2 Webview integration in webextension

* Yeoman integration for copilot

* added CSP for script, extenal connection

* cleaned and refined icons, js, & css

* Moving Api call into seprate file

* 1. reverted changes for API
2.sendmsgtowebview fxn

* removed duplicate fxn

* 1. Removed API call from script
2. Add event for webview load

* AIB Auth

* build stash

* consuming local api endpoint of AIB

* updated vsce package

* webview toolkit infra

* added prompt template object

* removed preview icon

* added AIB prompt for NL2page

* increased token limit

* added fetchXML scenerio

* enhanced css of list

* added clear chat option

* added animation prompt

* removing langauage name from code block

* moving prompt templates location

* reducing temprature

* changes

* added a text-field and link using toolkit

* added button to text field

* added copilot.js file to main.ts

* updated main.ts

* updated html and input field

* AIB integration

* added scenario switching

* styled input box, added user icon, code scroll bar

* updated code formatting & styling

* updated / list container

* retaining context of webview

* retaining webview for vscode.dv

* 1 Authentication 2 Icons & name 3 ActiveFile

* clear updates session id and user profile

* Clear all icon in view/title

* migrated from main.ts and added thinking

* Changed to copilot.js and added custom input box

* css change for feedback div

* Added fxn to get selected text

* added a generic error msg

* Custom when clause for copilot and Create menu

* copilot conditional view- comments

* Login Screen

* Login Screen. TODO: Handle Logout

* moving welcome screen in new div

* Merge branch 'users/amitjoshi/webviewUIStructure' into users/amitjoshi/copilotLoginFlow

* Added 'pac org who' to pacWrapper

* PacOrg who and input box for org id

* Updated welcome screen
Passing active org Id
Removed / commands

* webUiToolkit related main.js and gulp

* fixed sendbutton bug

* updated input border

* removed Create related changes for copilot

* removed create flow from copilot

* added clipath to copilot constructor

* updated css and when clause for clear conversation

* Added Test Env Endpoint

* updated copilot view json and moved header in chat

* updated styling for code block: added margin

* FCB to enable/disable copilot view

* Added telemetry for API auth

* removed comments

* Enhanced and cleaned webview file

* removed webuitoolkit integration file

* removed comments

* cleaned copilot.js file

* added experimental tag to FCB

* Removed config for webview toolkit

* handling feedback thumb click

* updated styling

* added <hr> before feedback div

* Added Maps for contract req.

* Added ActiveFileParam handling

* updated learn more link

* Fixed snippet insertion issue

* sending feedback msg to ext.

* added advanced form

* Updated welcome message as per figma. V2

* Added infra for CES survey

* Added line above feedback

* update login button UI

* Updated UI for login button

* updated package for yaml

* updated test endpoint

* handling violation and unclear responses in code

* Disposing panel on submit

* added console statement

* Added notification for code copy

* error handling for PAC org who

* Added styling to the feedback form

* updated feedback font

* Add script to handle dynamic update of form label

* Preview tag

* removed active file content from body

* Removed environment pill from copilot view

* Added pac org who in login

* Org change handling

* updated login flow to handle no org

* enhanced first load exp. for login

* removed delay for pac org who

* user initial fix

* profile icon shrink fixed

* Added prompt for url input box

* Try copilot notification

* Added Telemetry for copilot

* removed try copilot notification

* Added check for org url input box for copilot

* Response to user if, no active org

* removed log statements

* removed logs from copilot.js

* Added error constants and removed log

* updated based on main branch

* scope redeclare fix

* added telemetry for ces and removed log

* disabled eslint for error

* fixing constant file name

* added constants back

* resolved comments

* added space to tsconfig

* geoRestriction and review welcome screen

* Updated json error mapping

* updated error message

* Moved telemetry constants and interface out

* updated terms link and moved svg constant

* disable input while response is coming

* Moved prompt handling to  method and + err + const

* added ternary operator

* enhanced ces survey code

* Interface for active file params

* moved utils to comman and +TODO

* Update api service

* fixed eslint error

* refactoring

* let to const

* last three part fxn rename

* error handling for api

* abstracted endpoint logic

---------

Co-authored-by: amitjoshi <amitjoshi@microsoft.com>
Co-authored-by: Rishabh Jain <rishjain@microsoft.com>
Co-authored-by: Bidisha Das <biddas@microsoft.com>
2023-07-11 20:39:09 +05:30
tyaginidhi 85c56fb6a8
Adding support for debugging web extension test cases and update integration test cases (#538) 2023-05-25 23:02:31 +05:30
David JENNI 96b617589c
Sept refresh: pac CLI 1.19.x (#310)
Co-authored-by: david@DAVID-PC <davidjen@microsoft.com>
2022-10-10 13:59:39 -07:00
Felix Schober 6ce12e86b6
PCF Debugger: Add initial debugger code (#231)
* add experimental pcf debugger feature flag

* add debugger code

* use regex for bundle matching

* only show error if no retry left

* use instance props to store manager instances

* add is disposed flag

* use sleep instead of setTimeout

* constants cleanup & general tidiness

* extract BundleLoader

* adding tests

* add test packages

* remove console

* cleanup

* adding tests

* add more tests

* use DI-like pattern for easier tests

* add gulp tasks for testing the debugger

* separate unit and integration tests

* adding util tests

* update headers

* replace any

* format package json

* revert gulpfile to previous format

* add dom.iterable to support .entries

* format extension.ts

* add readme

* fix header

* fix package lock registry resolution

* remove attachToExistingBrowser

* use xvfb action to execute integration tests

* add optional dependencies

Co-authored-by: Felix Schober <feschobe@microsoft.com>
2022-07-18 10:24:31 +01:00
Ashish Choudhary 5e0aad5cb3
Initial changes for VSCode.dev WebExtension for Portals (#202)
* initial changes for vscode.dev

* added a sample command

* modified tsconfig for webExtension

* added gulp task to compile web extension

* translation file entries for webextension command

* added build and test infra for webExtension

* modified test files for web extension

* renamed test folder

* modified notification message

* changed name of the init command

* added comment for sample code

* renamed webpack configs

* added an fcb for ensuring that the web extension features are opt-in

* added nls loader for webconfig to consume translation files

* added limitations for the web mode

* disabled pac commands and views in the VS Code for the web

* fixed typo in description string

* fixed localized string label

Co-authored-by: Ashish Choudhary <aschoud@microsoft.com>
2022-06-22 15:37:40 +05:30
davidjen@DAVIDJENDEV b622deed2e update readme for public preview 2021-05-24 15:01:32 -07:00
David JENNI 8c52c7ec44
Fix pac update logic and add extension unit tests (#34)
* keep installed version info in a tracking file for faster startup

* add unit tests for client side of extension

* add upgrade test

* fail build on eslint errors

* refresh package.json

* fix eslint errors/warnings

Co-authored-by: davidjen@DAVIDJENDEV <david@jenni.us>
2021-05-24 09:37:18 -07:00
Ameya Apte 10b9234426
Repo refactor, support debugging, simplify structure (#29)
* repo refactor, support debug, simplify structure

* fixed gul ci task

* update package-lock.json to V2 format

Co-authored-by: davidjen@DAVIDJENDEV <david@jenni.us>
2021-05-10 16:11:28 -07:00
Ameya Apte 0d2a578621
Refactor repo to support langugage server (#18)
* Refactor repo to support langugage server
2021-03-02 11:09:40 +05:30
david@DAVID-PC fad0efa319 cmd palette: pac documentation 2020-12-19 23:50:06 -08:00
david@DAVID-PC c3600584a4 use webpack to compile extension 2020-12-19 23:50:06 -08:00
david@DAVID-PC c9155e452d extract baseline pac CLI and add to terminal path 2020-12-19 23:50:06 -08:00
David JENNI 258d42cfb6
adding gulp-based build infrastructure and CI flow (#1)
* gulp-based build infrastructure with hello-world src & test
* configs for editor, TS and eslint
* GitHub workflow for PR
2020-11-09 22:12:58 -08:00