* Initial rough of keeping textfield blank. Still need to disable save button.
* Rough implementation with state moved up to settings component. Allows for discarding of new TTL when TTL is already enabled.
* Updating unit tests to include new display variable.
* Brought formatting back from master.
* Updating unit test snapshots.
* Ran prettier and renormalized modified files.
* Correct lint issues.
* Undo prettier changes to add collection code and testing snapshot.
* Restoring AddCollectionPanel to match master. Not modifying snapshot.
---------
Co-authored-by: Craig Boger <craig.boger@microsoft.com>
* Initial implementetation of backend integration
* Added parameters and interfaces moved
* Initial client implementation
* Additional changes for React FC's
* Updated snapshot of Footer
* Additional Copilot implementation
* Test adjustments and client implementation
* Additional test implementations
* Naming convetion for functions
* Changing {} to any
* Additional changes to the type
* Additional test changes
* Removal of prevention
* adding comment
* Additional changes to tests
* Moving logic based on comments
* client implementation along with corrected tests
---------
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
* Changing order of the features
* test name changed
* updates snapshots
* Bubble implementation
* Bubble tests implemented
* Correction for CopilotSampleDB implementation
* rollback to previous query tab changes
---------
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
* Execute the queries with high/low priority
* improvement made to the Cosmos client and created separate plugin class for setting priority header
* added test cases for the priority execution utility
* removed unwanted code
* fix compile time issues
* fix compile time issues
* fixed lint and stylinkg issues
* fixed lint and styling issues
* skip the lint check for src/Utils/PriorityBasedExecutionUtils.ts
* incorporating review comments, added the default priority level changes
* changed the priority to default instead of low
* removed the unwanted if condition
---------
Co-authored-by: Faiz Chachiya <faizchachiya@microsoft.com>
* Switch to tools federation endpoints for query copilot
* Remove extra / in url
* Initial allocateContainer implementation
* Additional feedback modal changes
* updated tests
* PhoenixClient reverted to previous endpoint
* Changes based on PR comments
* Update based on tests
* updated endpoint
* Back to previous implementation and test improve
* removing notebook
---------
Co-authored-by: Victor Meng <vimeng@microsoft.com>
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
* Border at the bottom has been added for the tabs to differntiate from unselected tabs while using contrast themes
* Update Tabs.tsx
* Update Tabs.tsx
* Query Copilot Sidecar initial commit
* additional improvements with the Welcome pop
* Additional implementation and messages for sidecar
* introducing copilot version
* Renaming from car to bar
* Image names changed
* fixing PR errors
* additional changes related with the versions
* Additional implementations and fixes
* Removing unused interface
* Additional styling changes and state management
* Additional changes related with Sidebar
---------
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
* arialabel has been added to close button of invitational youtube video
* heading role has been addedd and tag has been changed to h1
* outline has been restored to choose columns link in entities page
* Update QuickstartCarousel.tsx
* Update SplashScreen.tsx
* Update TableEntity.tsx
* outline for edit entity has been added on focus
* keyboard accessibility added to rows in table entities
* learn more link under analytical store
* Column header is populated with text
* aria label has been changed for the screen readers to read placeholder text along with label text
* Update queryBuilder.less
* Update TableEntity.tsx
* Update ThroughputInputAutoPilotV3Component.tsx
* Update ThroughputInputAutoPilotV3Component.tsx
* Update ThroughputInputAutoPilotV3Component.test.tsx.snap
* Update ThroughputInput.less
* Update PanelComponent.less
* Update DataTableBindingManager.ts
* Update AddCollectionPanel.tsx
* Update AddCollectionPanel.test.tsx.snap
* spec.ts files updated for the tests
* update to container.spec files
* info button in stats tab is made accessible with keyboard
* focus order after invoking entities has been made to move logicallt from the entities tab instead of the table getting focus
* For unsharded collections the max value has been added
* Update AddCollectionPanel.tsx
* Update AddCollectionPanel.test.tsx.snap
* Update DataTableBindingManager.ts
* Update QueryTabComponent.tsx
* Update QueryTabComponent.tsx
* Update container.spec.ts
* Update container.spec.ts
* Update container32.spec.ts
* Update container.spec.ts
* Update container.spec.ts
* id has been removed for the input elements in add table row dialog since they have no significance in selection of elements and they are repetetive which is not a good practice
* Update EntityValue.tsx
* Update EntityValue.tsx
* Adding example endpoint with trailing forward slash.
* Move backend and ARM endpoint validation to configContext for initialization from config.json.
* Added debugging script and attempts to relocate endpoint validation list.
* Move default endpoint list to endpoint validation code and allow falling back to the default list during unit tests if configContext is not initialized.
* Remove leftover debugger statements.
* Remove test debug script in package.json for debugging unit tests in browser.
* Run prettier on modified files.
* Overwriting with package.json from master.
* Overwriting with version from master.
* Remove test ARM endpoint.
* Replace ternary operator with || for more concise arguments per Victor's feedback.
---------
Co-authored-by: Craig Boger <craig.boger@microsoft.com>
* Sample implementation for saving states
* Maintaining Query Copilot state
* Fixing failed PR checks
* Additional changes based on checks
* snapshots updated
* Changes based on merging previous PR
* test mock changed
* Fixing minor bug for close button
* Destruct of queryCopilotState
* passing only function in Tabs component
* Maintaining copilot state with zustand store
* additional test changes
* test snapshot updated
---------
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
* Update feature flag if sample data exists
* Add additional conditional
* Revert useknockout to starting condition
* Use tracked property for rendering conditiona
* arialabel has been added to close button of invitational youtube video
* heading role has been addedd and tag has been changed to h1
* Update QuickstartCarousel.tsx
* Update QuickstartCarousel.tsx
* Update SplashScreen.tsx
* arialabel has been added to close button of invitational youtube video
* heading role has been addedd and tag has been changed to h1
* outline has been restored to choose columns link in entities page
* Update QuickstartCarousel.tsx
* Update SplashScreen.tsx
* Update TableEntity.tsx
* outline for edit entity has been added on focus
* Improving test coverage
* Not leaving empty functions
* Additional test editing
* Correction of the unit test
* Changes made so the tests work correctly
* removing problematic tests
* QueryCopilotUtilities
* Changes based on Lint suggestion
* Changes based on lint
* Additional lint suggestion solved
* sample implementation
* removing console log
* Fixing non empty lint function error
* Changed any to void in mocked function
---------
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
* Improving test coverage
* Not leaving empty functions
* Additional test editing
* Correction of the unit test
* Changes made so the tests work correctly
* removing problematic tests
---------
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
* Pass user email to query feedback AB#2501550
* Await page.frame
* Make contact no by default
* Add hook to check if it sohuld render the modal in the main component
* Styling implemented related with the work item
* Sample container New query button implementation
* Fixing related with the not rendering Sample Data
* Fix race condition when rendering sample data resource tree
* Remove export keyword for updateContextForSampleData
* Copilot New Query should open Copilot tab
* showing buttons in sample command bar
---------
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
Co-authored-by: Victor Meng <vimeng@microsoft.com>
* Move footer when save button is enabled to the bottom, remove gap between notification console and right panel
* Change the way panel height is calculated
* Remove unnecessary operator
* Change condition
* Fix snapshot
* Update panel height after animation ends and use different css for showing save button to the bottom of the page
* Fix ts compile
* Implementation of filtering suggestion and history
* Error message if query is not received
* Exclamation mark on fail and button disabled
* Changed from hook to const for suggestions
* Test snapshots and formatting updated
* Fix based on comment
---------
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
* Add Sample Data to Resource Tree
* Format
* Fix strict build
* Fix lint
* Fixed implementation to show Sample data container
* Udated logic based on TokenCollection
* Re-configure copilot flag
---------
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
* Sample Prompts and ComboBox implementation
* Adding DeletePopup and SamplePrompts
* Implementation of Delete/Copy code buttons
* Adjusted changes based on the comments for Modal
* Reverded implementation of inline prompt
* Updated function
* Replacing const to function
* Unused icons deleted
* Comments removed
* Additional styling based on designs
* Test snapshots
* Implementation of popup for copying code
* Tests updated/added
* Background color changed
* Resolving lint issue
* CopyPopup snapshot updated
* Merged with master
* Implementations fixed based on comments
* Test Snapshots updated
* Query copilot updated
* Resolving minor bug with Delete popup
---------
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
* arialabel has been added to close button of invitational youtube video
* heading role has been addedd and tag has been changed to h1
* outline has been restored to choose columns link in entities page
* header text color changed to meet luminosity ratio requirement
* capacity calculator link has been added with underline on focus
* add property is readout twice while using screenreader
* Update fulldatatables.less
* Update queryBuilder.less
* Update TableEntity.tsx
* Update ThroughputInput.less
* Update ThroughputInput.tsx
* Update ThroughputInput.tsx
* Update ThroughputInput.test.tsx.snap
* Update QuickstartCarousel.tsx
* Update SplashScreen.tsx
* arialabel has been added to close button of invitational youtube video
* heading role has been addedd and tag has been changed to h1
* outline has been restored to choose columns link in entities page
* header text color changed to meet luminosity ratio requirement
* capacity calculator link has been added with underline on focus
* add property is readout twice while using screenreader
* arialabel added to the add property button
* Update fulldatatables.less
* Update queryBuilder.less
* Update TableEntity.tsx
* Update ThroughputInput.less
* Update ThroughputInput.tsx
* Update ThroughputInput.test.tsx.snap
* Update ThroughputInput.test.tsx.snap
* Update AddTableEntityPanel.tsx
* Update AddTableEntityPanel.test.tsx.snap
* Update QuickstartCarousel.tsx
* Update SplashScreen.tsx
* arialabel has been added to close button of invitational youtube video
* heading role has been addedd and tag has been changed to h1
* outline has been restored to choose columns link in entities page
* Update QuickstartCarousel.tsx
* Update SplashScreen.tsx
* Update TableEntity.tsx
* outline for edit entity has been added on focus
* keyboard accessibility added to rows in table entities
* learn more link under analytical store
* Column header is populated with text
* aria label has been changed for the screen readers to read placeholder text along with label text
* role and alt text has been added to presentation images
* Update queryBuilder.less
* Update TableEntity.tsx
* Update ThroughputInputAutoPilotV3Component.tsx
* Update ThroughputInputAutoPilotV3Component.tsx
* Update ThroughputInputAutoPilotV3Component.test.tsx.snap
* Update ThroughputInput.less
* Update DataTableBindingManager.ts
* Update AddCollectionPanel.test.tsx.snap
* Update PanelComponent.less
* Update AddCollectionPanel.tsx
* Adding RU thermometer to settings throughput tab
* Finalizing RU thermometer on throughput settings
* Updated snapshot
* Fixing formatting
* Fixing lint errors
* Rerun prettier
* Fixing Offer properties
* Fixing Types
* Updating ARM clients, and enabling new elasticity properties
* Updating snapshots
* Updating an issue caused by updating ARM client
* Latest changes based on feedback
* Fixing lint and unit tests
* Minor fix
* Minor text change
* Changed some formatting
* Able to find needed data without RP calls. Quick test blurb on settings page for SQL accounts.
* Added hierarchical partition message for SQL accounts.
* Rearranging import to match master and bypass auto formatting.
* Update snapshot tests with new partition hierarchy message.
* Updating formatting
---------
Co-authored-by: Craig Boger <craig.boger@microsoft.com>
* Increase Gremlin request timeout from 6min to 1hr
* Increase query MAX_RESULT_SIZE limit from 10k to 100k.
* Run npm format
---------
Co-authored-by: Laurent Nguyen <laurent.nguyen@microsoft.com>
* autoscale and manual radiobuutton fixes
* alt text attribute for images
* Revert "alt text attribute for images"
This reverts commit 5a660551c6.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Commit to my local branch
* role has been added to graphic tag
* Update TableEntity.tsx
* Update ThroughputInput.tsx
* Update ThroughputInput.test.tsx.snap
* Update TreeComponent.tsx
* Update TableEntity.tsx
* Update AddCollectionPanel.tsx
* Update AddCollectionPanel.tsx
* Update AddCollectionPanel.tsx
* Update AddCollectionPanel.tsx
* Update AddCollectionPanel.tsx
* Update SplashScreen.tsx
* Update TreeComponent.test.tsx.snap
* Update TreeComponent.test.tsx.snap
* autoscale and manual radiobuutton fixes
* alt text attribute for images
* Revert "alt text attribute for images"
This reverts commit 5a660551c6.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Commit to my local branch
* Autofocus removed
* Update TableEntity.tsx
* Update TableEntity.tsx
* Update TableEntity.tsx
* Update ThroughputInput.tsx
* Update ThroughputInput.test.tsx.snap
* Update TreeComponent.tsx
* Update TreeComponent.test.tsx.snap
* Update AddCollectionPanel.tsx
* Update SplashScreen.tsx
* Changes made for the screenreader to readout the label and suffix associated with the input
* Added an empty href to restore the chactristics of link in high contrast mode
* Update SubSettingsComponent.tsx
* Update SubSettingsComponent.tsx
* Update SubSettingsComponent.tsx
* Update SubSettingsComponent.tsx
* Update SubSettingsComponent.test.tsx.snap
* Update SubSettingsComponent.test.tsx.snap
* Update SubSettingsComponent.test.tsx.snap
* autoscale and manual radiobuutton fixes
* alt text attribute for images
* Revert "alt text attribute for images"
This reverts commit 5a660551c6.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c.
* accessibilitydefects-data explorer
* Accessibility sev-2 defects-2
* corrections for 2278347,2278096 and fix for 2264174
* corrections for 2278347,2278096 and fix for 2264174
* fix for defect 2276938
* wrong aria attibute used
* refresh, expand, collapse tree does not have proper label for screenreader
* wrong role is assigned to anchor link
* descriptive alt added for iconspresent for DATA and NOTEBOOK accordion headers
* Update CollapsedResourceTree.tsx
* Update ResourceTreeContainer.tsx
* Update ResourceTreeContainer.tsx
* Update TableEntity.tsx
* Update treeComponent.less
* Update MiddlePaneComponent.tsx
* Update PanelInfoErrorComponent.tsx
* autoscale and manual radiobuutton fixes
* alt text attribute for images
* Revert "alt text attribute for images"
This reverts commit 5a660551c6.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c.
* accessibilitydefects-data explorer
* Accessibility sev-2 defects-2
* corrections for 2278347,2278096 and fix for 2264174
* corrections for 2278347,2278096 and fix for 2264174
* fix for defect 2276938
* wrong aria attibute used
* refresh, expand, collapse tree does not have proper label for screenreader
* wrong role is assigned to anchor link
* Update MiddlePaneComponent.tsx
* Update treeComponent.less
* Update CollapsedResourceTree.tsx
* Update ResourceTreeContainer.tsx
* Update TableEntity.tsx
* Update ResourceTreeContainer.tsx
* autoscale and manual radiobuutton fixes
* alt text attribute for images
* Revert "alt text attribute for images"
This reverts commit 5a660551c6.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c.
* accessibilitydefects-data explorer
* Accessibility sev-2 defects-2
* corrections for 2278347,2278096 and fix for 2264174
* corrections for 2278347,2278096 and fix for 2264174
* fix for defect 2276938
* wrong aria attibute used
* refresh, expand, collapse tree does not have proper label for screenreader
* Update treeComponent.less
* Update TableEntity.tsx
* Update MiddlePaneComponent.tsx
* autoscale and manual radiobuutton fixes
* alt text attribute for images
* Revert "alt text attribute for images"
This reverts commit 5a660551c6.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c.
* accessibilitydefects-data explorer
* Accessibility sev-2 defects-2
* corrections for 2278347,2278096 and fix for 2264174
* corrections for 2278347,2278096 and fix for 2264174
* fix for defect 2276938
* wrong aria attibute used
* aria-label for table max RU/s input element is not defined properly
* Update TableEntity.tsx
* Update treeComponent.less
* Update MiddlePaneComponent.tsx
* autoscale and manual radiobuutton fixes
* alt text attribute for images
* Revert "alt text attribute for images"
This reverts commit 5a660551c6.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c.
* accessibilitydefects-data explorer
* Accessibility sev-2 defects-2
* corrections for 2278347,2278096 and fix for 2264174
* corrections for 2278347,2278096 and fix for 2264174
* fix for defect 2276938
* wrong aria attibute used
* Update treeComponent.less
- Load Legacy Mongo Shell V2 by default
- Add/Keep feature flags to load from portal BE and V1
- Skip code coverage if skipCodeCoverage environment variable is set to "true"
* autoscale and manual radiobuutton fixes
* alt text attribute for images
* Revert "alt text attribute for images"
This reverts commit 5a660551c6.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c.
* accessibilitydefects-data explorer
* Accessibility sev-2 defects-2
* corrections for 2278347,2278096 and fix for 2264174
* color for placeholder changed to 767474, margin is set to accommodate height between treeheader elements
* padding added for databaseheader, removed margin and restored padding to treenodeheader
* Add additional teaching bubbles in Quickstart
* Run npm format
* Fix lint error
* Add unit tests
* Add Mongo teaching bubbles for Try CosmosDB and Launch full screen
* Add additional tests for UrlUtility
* Run npm format
* Add tests for Notebook Utils
* autoscale and manual radiobuutton fixes
* alt text attribute for images
* Revert "alt text attribute for images"
This reverts commit 5a660551c6.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c.
* accessibilitydefects-data explorer
* Remove extra white space
---------
Co-authored-by: Victor Meng <vimeng@microsoft.com>
* autoscale and manual radiobuutton fixes
* alt text attribute for images
* Revert "alt text attribute for images"
This reverts commit 5a660551c6.
* alt text for decorative images
* Quickstart Refresh collection automatically when container is created
* Fix unit tests
* Fix unit tests and address comments
* Minor fixes in message handler
* Minor changes to fix tsconfig.strict.json
* Resolve npm compile:strict errors by fixing the code implementation
* Remove cache refresh code in configureHosted function
* Fix spacing
* Run npm format
* Exchanged links on DE home page with link to the Azure Cosmos DB Live TV show.
* Adding back accidentally removed terminating ,
* Added cdb TV to Postgres quick start splash page.
* Removing cdb tv description from next steps and moved up.
* Moved cdb tv to the tips and learn more column on postgres getting started page.
* Shortening postgrest cdb tv line.
* Removing link from PG since only 1 episode so far for PG.
* Adding terminating comma back. Formatting.
* Consolidating Cosmos DB Live TV to a single variable.
* Updating prettier formatting.
* Add hierachical partition key in add containers in SQL
* Add hierachical partition key in add containers in SQL
* fix unit test cases and update snapshot
* add learn more links and feature flag
* update snapsho
* separate subpartition key logic
* separate subpartition key logic
* keyboard navigation for defects 1722611,1722618
* Fixes for keyboard navigation of add new clause,edit,remove property,insert filter line, remove filter line
* Revert "keyboard navigation for defects 1722611,1722618"
This reverts commit 9383609a22.
* html,css changes corected after reversion
* Revert "html,css changes corected after reversion"
This reverts commit 712e0e0c1e.
* committing changes for the keyboard navigation
* format fixes
* changes to addcollectionpanel.test.tsx snp file
* changes in infotooltip for defct
* Revert "changes in infotooltip for defct"
This reverts commit ca9833e208.
* commit for tooltip in defect 1704149
* Revert "commit for tooltip in defect 1704149"
This reverts commit 44766e8213.
* InfoTooltip changes
* update snapshot
* defect1722595 Bug 1722595: [Screen readers Azure Cosmos DB Scale& Settings: Screen reader (NVDA) is not announcing status message which is displayed on the screen after radio button is selected under scale tab.
* more options in delete entity dialog is not accessible through keyboard
* Revert "more options in delete entity dialog is not accessible through keyboard"
This reverts commit 23a05ef18e.
* more options in delete entity dialog is not accessible throgh keyboard
* remove native html with role='alert' for messagebar
* role added for messagebar fluentui component
* Fixes issue where empty partition key is treated like nonexistent key for Tables API
* Updated format
* Refactor fix
* Prettier
* Fixes issue when CRUD with no parition key for all APIs
* Format fix
* Refactor to explicitly check for Tables
* Remove share-link feature
Cosmos DB supports sharing access to an account data using AAD/RBAC now so this feature is unnecessary.
* Fix format issues
* Fix unit tests
* undo package changes
* Add condition for showing quick start carousel
* Show coach mark when carousel is closed
* Add condition for showing quick start carousel and other UI changes
* Fix compile error
* Fix issue with coach mark
* Fix test
* Add new sample data, fix link url, fix e2e tests
* Fix e2e tests
* Add carousel for quick start
* Put carousel behind feature flag
* Install type definition for react-youtube
* Install type definition for react-youtube
* Remove @types/youtube-player
* Move feature flag outside of quickstarttutorial component
* Add teaching bubbles after creating sample DB
* Add teaching bubble while creating sample container
* Remove test code
* Update tests and always show teaching bubbles in add collection panel when launched from quick start
* Fix snapshot
* Have phoenix enabled based of config context irrespective of hosted or portal explorer
* Add telemetry start and success
* Add error code in failure case
* Phoenix runtime - Reset workspace
* Format and Lint issues
* Typo issue
* Reset warning text change and create new context on allcation of new container
* Closing only notebook related
* resolved comments from previous PR
* On Schema Analyser allocate call
Co-authored-by: Srinath Narayanan <srnara@microsoft.com>
* Revert "Fix keyboard focus does not retain on 'New Database' button after closing the 'New Database' blade via ESC key (#1109)"
This reverts commit f7e7240010.
* Revert "Fix ally database panel open issue (#1120)"
This reverts commit ed1ffb692f.
* resolve_eslint_NodePropertiesComponent
* address commit
* Open new screen: Screen reader does not pass the 'Copied' information after selecting 'Copy' button.
* resolve lint error