* Add Platform.Fabric to run in context of Fabric
* Use separate StyleConstants
We want to have more flexibility with Styles at runtime
but Constants depend on ConfigContext and therefore
get loaded very early at startup.
* Add Fabric specific styles and Fluent theme
documentDBFabric.less contains all styles for Fabric.
We use React.lazy to import them conditionally at
runtime preventing webpack from preprocessing
them into main.css.
* Restyle CommandBar for Fabric
with more roundness and native colors.
* Disable Notebooks when running in Fabric
* Disable Synapse and Scripts commands for Fabric
* Fix code formatting issues
* Fetch encrypted token from sessionStorage for fabric platform
* Fix Tabs style
* Dark refresh icons for Fabric
* Use new ResourceTree2 for Fabric
* Fluent tree should have a fixed width
otherwise the action buttons jump around on hover.
* Disable remaining Script actions in Fabric
* Revert accidentally committed change
which broke a test
* Fix cross-origin error second try
* Adjust @FabrixBoxMargin css
* Hide Database Scale node on Fabric
* Remove all Collection child nodes on Fabric
* Add a comment about why we need FabricPlatform.tsx
* Fix equality checks
* Fix more Colors for Fabric
* Switch resource tree to "medium" size
* Fix formatting again
* Fix formatting again
* Disable no-var-requires error on some intended var import.
* Increase memory limit for build
* Use standard Segoe UI font for Fabric
* Improve Tabs design for Fabric
* Fix active Tab style bug in Portal
introduced with 39a7765aef
---------
Co-authored-by: Laurent Nguyen <laurent.nguyen@microsoft.com>
* Alternate tree running fluentui v9 Tree component
* Fix tree update after sp, udf and trigger load
* Enable scrolling for subtrees
* Clean up duplicates
* Restore current tree
* Reformat
* Update package-lock.json
* Initial wiring of copilot backend and bubble
* Additional changes in explanation bubbles
* Changes based on checks
* test snapshots updated
---------
Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
* 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>