* 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
* 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
* Update queryBuilder.less
* Update TableEntity.tsx
* Update QuickstartCarousel.tsx
* Update SplashScreen.tsx
* Update SplashScreen.tsx
* 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>