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

20 Коммитов

Автор SHA1 Сообщение Дата
Ritik Ramuka cddfad5779
Logic to compile co-presence worker script (#717)
* added gulp file and webpack config file to compile copresence worker script

* dependencies installed

* updated gulp file and webpack file to compile webworker script

---------

Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
2023-10-24 23:30:47 +05:30
tyaginidhi d6af944283
Bringing Power pages copilot to Web extension (#696)
* Web co-pilot loading. TODO - CSS and module load separation at runtime

* Loading css on prod and artemis test url connect

* UX working with test AIB call integration

* Move back dataverse file to main folder

* Dataverse calls for web extension - org url does not have slash at end - needs to be fixed

* updated dataverse URL

* remove invalid parameter "adx_targetentitylogicalname"

* remove console log commands

* Support EntityDefinition fetch for lists, forms and advanced forms in new data model and old data model testing done

* Final load and test done for Desktop and web extension
2023-09-14 13:40:54 -07:00
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 c55f46034d
Support media file preview and fix no content error on empty payload return (#580) 2023-07-04 10:14:12 +05:30
Crash Collison e2bd756d12
Replacement of vscode-nls with vscode.l10n (#370)
* Update VS Code version and add new Loc lib

* Update Localize calls to new API

* manually build bundle

* WIP

* Fix \r\n and &apos; replacements from XLF tooling

* Remove old file translations, add new bundles

* Update l10n-dev to 0.0.23

* Rebase fix, removal of old translations, and using a
FAKE french translation to test the build steps

* Removing old vscode-nls package

* Fixing NPM package targeting

* Updating after rebase and manual merge

* Extracting some localization calls for DI to unit tests

* Removing fake translation, restoring package.nls.*.json files, as those are unaffected by the change until overwritten

* Adding Import XLFs for each language, but with no translations

* Case sensitivity fix for Linux

* Swapping &#10; with \\n for the loc team

* Convert newlines in XLF to previously expected format

* Adding import XLFs from @toshio-msft
2023-02-24 17:00:57 -08:00
v-vbhanndari 93ef3981d7
setup for integration test (#443)
* setup for integration test

* fix build
2023-02-14 14:07:27 +05:30
Ameya Apte 3f0fb73994
Users/amapte/powerpages yo generator integration (#438) 2023-02-07 15:41:26 +05:30
Joe Mayo deb5823cc1 Add os-browserfy and constants-browserfy 2023-01-13 15:59:10 -08:00
Ameya Apte 4841f779c5
Improve liquid auto complete (#383)
* Support auto complete for tags and objects

* Refactor and add unit tests

* update package.lock

* Added filter auto completion support

* Fix package-lock file

* Fix lint issues

* Added telemetry for auto complete

* Add performance data

* Fix UT with telemetry mock

* fix comments

* Update strings

* Fix build, file names

* Fix build failure for type mismatch

* Fix file name case in all places

Co-authored-by: Ashish Choudhary <ashish.vit06@gmail.com>
2022-12-21 09:27:49 +05:30
tyaginidhi 72dd4e51c3
2933089 - Web extension integration test infra (#357)
* added logs for userId and included entity, methodType in API telemetry

* replaced error telemetry event with exception telemetry

* added comment for verification

* Test run for telemetry

* Revert "Test run for telemetry"

This reverts commit 4288bc910a.

* Make preview changes to branch

* Updated telemetry for preview verification

* Integration test cases infra  - initial commit

* Partial success Web IT infra

* IT working test cases

* remove extra resolve

* Update runtest and remove terser deprecation

* revert deprecated package version for terser

* Fix merge from main

Co-authored-by: Ashish Choudhary <aschoud@microsoft.com>
2022-11-24 16:10:42 +05:30
Ashish Choudhary 7244d28e06
Merge WebExtension preview with main branch (#277)
* fetch and save feature implemented

* eslint issues fixed

* fixed undefined file issue

* fixed multi-file creation issue

* fixed save logic

* Open default file for editing in vscode editor

* name and display name updated with preview tag

* Remote Save Provider refactoring and enhancements  (#236)

* enhanced save logic

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>

* orgurl from studio update (#237)

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>

* portalfoldername change (#238)

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>

* Folder structure change for Power portals (#239)

* folder structure change

* removed hardcoded guid

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>

* Users/aschoud/error handling (#240)

* added error handling for all parameters

* added method to decode query parameters

* removed unused constants

* renamed customcss files to have .css extension

Co-authored-by: Ashish Choudhary <aschoud@microsoft.com>

* updated default site name and portal uri scheme (#241)

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>

* added fileSystem activation event for our scheme (#243)

* added fileSystem activation event for our scheme

* changed the uri scheme

Co-authored-by: Ashish Choudhary <aschoud@microsoft.com>

* string changes (#244)

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>

* Language code fix for file name (#246)

* language code fix for file name

* auth fix and default language code to blank

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>

* lint fixes (#245)

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>

* Users/aschoud/web extension telemetry (#247)

* added init telemetry event

* added methods for path and query parameter telemetry

* renamed methods

* added api telemetry events

* added perf telemetry events

Co-authored-by: Ashish Choudhary <aschoud@microsoft.com>

* added the correct url for logging (#248)

Co-authored-by: Ashish Choudhary <aschoud@microsoft.com>

* Custom css file edit enable (#256)

* Custom Css editing enable on this VSCode extension

* Update for filename and common utility changes

* fix spacing

* Resolve comments

* update comment

* Bug fix for save error popup. (#267)

* fixed fileName case in the import

* added filter to check for valid save events

Co-authored-by: Ashish Choudhary <aschoud@microsoft.com>

* Localization changes for web extension (#251)

* ts files localization changes for web extension

* unique keys for translation added

* added tasks for vscodeweb localization files

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>

* removing nls loader from webconfig (#274)

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>

* Site visibility dialog (#272)

* site visibility dialog added

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>

* reverting formatting changes in gulpfile

* removing preview from the extension name

* reintroducing preview tags to test the webExtension before merging with main

* removing the ui fcb for webExtension

* reverting changes to package.json and package-lock.json

* adding activation event for webExtension

* adding preview tag for testing

* removed unused strings

* removing preview tag

Co-authored-by: Ved Garbha <vedgarbha@microsoft.com>
Co-authored-by: Ashish Choudhary <aschoud@microsoft.com>
Co-authored-by: Ved Garbha <vedgarbha@gmail.com>
Co-authored-by: tyaginidhi <tyaginidhi@users.noreply.github.com>
2022-09-07 01:14:50 +05:30
Ashish Choudhary 47eec70794
initial changes for webExtension telemetry (#218)
* initial changes for webExtension telemetry

* added polyfills for crypto

* created client folder under web and modified webpack and gulp entry points to align with the new folder structure

* added start and activate telemetry events

Co-authored-by: Ashish Choudhary <aschoud@microsoft.com>
2022-07-05 12:00:16 +05:30
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
Crash Collison 160d644e2a
Localization - Export strings to XLF file (#123) 2021-10-05 16:03:42 -07:00
Joe Mayo (MSFT) a87c66b75e
Resolve warnings due to missing dependencies for App Insights (#61)
See the related [issue and workaround](https://github.com/microsoft/vscode-extension-telemetry/issues/41#issuecomment-598852991)
2021-06-11 16:25:43 -07:00
Ashish Choudhary 0bb937ff32
Users/aschoud/multi language server (#35)
* added code to initialize different language serer

* implemented dummy html server

* removing language client when extension is disabled

* added scripts to generate parser from the grammar

* adding generated parser file

* added auto complete for entitylist and entityform

* renamed variables

* modified grammar to include entityview

* added scenarios for error logs

Co-authored-by: Ashish Choudhary <aschoud@microsoft.com>
2021-05-24 20:32:40 +05:30
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 e29c294f20 all build output into dist folder, incl. downloaded nupkg 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