* fix#3061771 by correcting render order issues on undo
* clarifying comment
* fix lints
* push an undo stop before executing edits
* tidy up some unnecessary comments
* Fix API endpoint for CassandraProxy query API
* activated mongo proxy
* added mpac
* Activate CassandraProxy API endpoints for MPAC
* Run npm format
* Set CASSANDRA_PROXY_OUTBOUND_IPS_ALLOWLISTED when we detect new
Cassandra Proxy endpoints in IP rules.
* query documents API fix
* simplify ip check
---------
Co-authored-by: Senthamil Sindhu <sindhuba@microsoft.com>
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
Co-authored-by: Jade Welton <jawelton@microsoft.com>
* Added container ids to tabs
* prettier run
* Updated for undefined scenarios
* prettier
* added ellipsis to long container names
* added slice
* prettier
* Added ellipsis to long DB names in tabs
* Added undefined DB case
* Replaced dots with ellipsis character
* corrected undefined return value
* Fix initial container loading in Fabric
There is a rendering issue where the documents table doesn't resize properly if explorer is loaded in the beackground (invisible).
To workaround this, track DE visibility from Fabric RPC and open the first container only once DE becomes visible. If DE has been already shown, open the container right away.
* Preserve glitchy behavior if Fabric UX doesn't send isVisible
* Preserve Fabric visibility in global status
and fix a race condition where visibility might change during initialization.
* add feedback policies integration with copilot
* remove teaching bubble and welcome modal
* force prod phoenix endpoint in MPAC
* force prod phoenix endpoint in MPAC
* 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
* Update queryBuilder.less
* Update TableEntity.tsx
* Update PanelComponent.less
* Update DataTableBindingManager.ts
* Update DataTableBindingManager.ts
* Update DataTableBindingManager.ts
* Update DataTableBindingManager.ts
* Update DataTableBindingManager.ts
* Hide the RU Threshold Message in Fabric
Fabric is RO and the Settings button is hidden, hence the message doesn't make sense. If customers hit the limits they can go to Portal and change the settings there.
* Change the toolbar font size and icon color in Fabric
* Mostly working - some cosmetic changes remaining.
* Cosmetic changes and other tidy ups.
* More clean up.
* Move msal back to dependencies. Fix typo.
* msal should be prod dependency
* Revert msal package update as it is causing issues with unit test
execution.
* Add tracing for unhandled exceptions when acquiring tokens.
* Mongo Proxy backend API
* merge main into current
* allow mongo proxy endpoints to be constants
* allow mongo proxy endpoints to be constants
* fix test
* show ip address warning for Mongo and Cassandra accounts
* show ip address warning for Mongo and Cassandra accounts
* removed string from prod
* make mongo proxy endpoint mandatory
* added MongoProxyEndpointsV2
* added MongoProxyEndpointsV2
* moved mongo and cassandra endpoints to Constants
* moved mongo and cassandra endpoints to Constants
* moved mongo and cassandra endpoints to Constants
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* initial commit
* Add change partition key logic
* Update snapshot
* Update snapshot
* Update snapshot
* Update snapshot
* Cleanup code
* Disable Change on progress job
* add the database information in the panel
* add the database information in the panel
* clear in progress message and remove large partition key row
* hide from national cloud
* hide from national cloud
* Add check for public cloud
* Mongo Proxy backend API
* merge main into current
* allow mongo proxy endpoints to be constants
* allow mongo proxy endpoints to be constants
* fix test
* check for allowed mongo proxy endpoint
* check for allowed mongo proxy endpoint
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Added TableAPI whitespace check and trim values
* Reverted value is not required unless Row or PrimaryKey
* Prettier Run
* Add full whitespace check on Keys
* Prettier formatting
* Fixed type
* Added whitespace check for tabs, vertical tabs, formfeeds, line breaks, etc
* Fixed logic
* Use Promise for allResourceToken fabric message. Cleanup token message handling and add debounce.
* Improve rpc and update initalization flow
* Fix format
* Rev up message names for new version
* Refactor RPC with Fabric
* Build fix
* Fix build
* Fix format
* Update Message types
* Fix format
* Fix comments
* Fabric toolbar style and support to show/hide it (#1720)
* Add Fabric specific Toolbar design
* Add Fabric message to show/hide the Toolbar
* Fix CommandBarUtil formatting
* Update zustand state on setToolbarStatus to trigger a redraw of the command bar with updated visibility
---------
Co-authored-by: Laurent Nguyen <laurent.nguyen@microsoft.com>
* Fix format
---------
Co-authored-by: Vsevolod Kukol <sevoku@microsoft.com>
* text color of link has been changed to get the contrast ratio of atleaast 4.5:1
* screen reader names have been added to the buttons
* Update QueryCopilotPromptbar.tsx
* Fix datatables issue and indicator not loading for Table API > Entities
* Fix jquery and datatables compile issues. Add patch for datatables.net-colreorder error in types
* Fix side panel size. Fix bug resizing side panel.
* Update PanelContainerComponent unit test snapshot
* Fix commented code
* Added query retry settings
* prettier run
* Fixed tests and queryDocuments
* Fixed tests
* corrected logic
* Updated tests and logic
* Removed optional flag
* Added default value text
* Reworded text
* moved retry options to CosmosClient
* removed unused references to retryOptions
* Reverting formatting
* reverting
* revert
* prettier run
* Correct default and added options directly to the client
* Prettier run and unit test update
* Corrected tooltip and constant name
* Added inSeconds to WaitTime
* Alert is being updated for every change, hence the screenreader readsout the alert everytime a change occursin the input
* Update DeleteCollectionConfirmationPane.tsx
* Update DeleteCollectionConfirmationPane.tsx
* Keyboard navigation was not present to the back button on the add row table dialog which has been added through this commit
* Update PanelComponent.less
* Setting enableEndpointDiscovery to true to test client resilience during region outage.
When this is set to false, it can impact the SDK's failover behavior.
* Implement copilot for user database
* Fix minor bugs
* fix bugs
* Add user database copilot
* Add placeholder text on copilot
* Add AFEC adn killswitch
* Add new v2 sampledatabase endpoint
* Add telemetry
* fix telemetry bug
* Add query edited telemetry
* add authorization header
* Add back to the staging env for phoenix
* point to stage for phoenix
* Preview commit for test env
* Preview link for staging
* change the staging url
* fix lint, unit tests
* fix lint, unit tests
* fix formatting
* Cassandra null value handling
* prettier run
* Added boolean and date
* Reverted null handling switch statement and added editing warning
* ran prettier
* putting new line back in
* prettier run
* changed warning message
* updated snapshot
* fixed undefined condition
* removed toString from undefined
* Call Portal Backend to check for accounts that are restricted from
connection string login.
* Remove debug logging and revert to actual backend endpoint.
* Use React hooks for displaying error message.
* Move accountrestrictions route under guest.
* Check restrictions before resource token check.
* Revert test changes.
* 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
* screenreader content changed to announce the entire alert
* alert message is partially readout on error
* Update fulldatatables.less
* Update queryBuilder.less
* Update TableEntity.tsx
* Update ThroughputInput.less
* Update ThroughputInput.tsx
* Update ThroughputInput.test.tsx.snap
* Update NewVertexComponent.tsx
* Update PanelInfoErrorComponent.tsx
* Update AddTableEntityPanel.tsx
* Update AddTableEntityPanel.test.tsx.snap
* Update SplashScreen.tsx
* Update QuickstartCarousel.tsx
* Update RightPaneForm.tsx
* Update fulldatatables.less
* Update contracts for new all resource messages
* Add timestamp to token message signature
* Reconstruct resource tree with databases and collections parsed from token dictionary keys
* Create FabricDatabase and FabricCollection to turn off interaction
* Remove unnecessary FabricCollection derived class
* Handle resource tokens
* Bug fix
* Fix linting issues
* Fix update document
* Fix partitition keys
* Remove special case for FabricDatabase tree node
* Modify readCollections to follow normal flow with Fabric
* Move fabric databases refresh to data access and remove special case in Explorer
* Revert Explorer.tsx changes
* Disable database context menu and delete container context menu
* Remove create database/container button for Fabric
* Fix format
* Renew token logic
* Parallelize read collections calls to speed up
* Disable readDatabaseOffer, because it is too slow for now
* Reduce TOKEN_VALIDITY_MS a bit to make sure renewal happens before expiration. Receving new tokens new refreshes databases
* Add container element for Main app in HTML
* Do not handle "openTab" message anymore
* Fix style of main div
* Simplify conditional load of the fabric .css
* Fix format
* Fix tsc can't find dynamic less import
---------
Co-authored-by: Armando Trejo Oliver <artrejo@microsoft.com>
* cancel query option
* query timeout
* run prettier
* removed comments
* fixed npm run compile errors
* fixed tests
* fixed unit test errors
* fixed unit test errors
* fixed unit test errors
* fixed unit test errors
* fixed unit test errors
* increased min timeout
* added automatican cancel query option
* added react string format
* npm run format
* added unless automatic cancellation has been enabled
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Add redirect for /aad to /?feature.enableAadDataPlane=true
* Add feature to hide the connection string login link. Enable this new
feature for the aad redirect.
* For Fabric, send message to get Authorization token from iframe parent
* tokenProvider: set date header and return token
* Expect account endpoint on initialize message from Fabric
* Fix format
---------
Co-authored-by: artrejo <artrejo@microsoft.com>
* For connection-string based authentication, the request would be made with low priority request header and for AAD based authentication, users can select the priority-request option from the settings panel
* removed unused imports
* prettier checks
---------
Co-authored-by: Faiz Chachiya <faizchachiya@microsoft.com>
* clear query results and handle error with no query generated
* clear query results and handle error with no query generated
* Update the query guidelines link
* Update the query guidelines link
* Listen to iframe messages. Test posting message.
* Plug new container message to show New Container dialog
* Rename message action to type
* Fix format
* Fix format
* Remove console.log() statement
* Rework fabric init flow. Implement open Collection Tab from fabric.
* Rename method to better match its purpose
* Update src/hooks/useKnockoutExplorer.ts
Use connectionString from message
Co-authored-by: Vsevolod Kukol <sevoku@microsoft.com>
* Fix format
* For openTab action open first collection if not specified. Clean up FabricContract.
* Reformat FabricContracts
* Highlight current node selection using them token
* Reformat
* Automatically expand nodes in resource tree if underlying database or collection is expanded. Fix AllowedOrigins. Cleanup code.
* Fix format
* Fix lint issue
* Don't show the home screen for Fabric (#1636)
* Fix formatting
* Database name to open can be overridden by value in session storage
---------
Co-authored-by: Vsevolod Kukol <sevoku@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
* Update container.spec.ts
* Update container32.spec.ts
* Update AddCollectionPanel.tsx
* Update AddCollectionPanel.tsx
* Update AddCollectionPanel.test.tsx.snap
* 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
* 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
* Update AddCollectionPanel.tsx
* Update AddCollectionPanel.tsx
* Update AddCollectionPanel.test.tsx.snap
* Update container.spec.ts
* Update container.spec.ts
* Update container.spec.ts
* Update container32.spec.ts
* Update container.spec.ts
* Update container.spec.ts
* info icons are added as a column item and keyboard focus has been added to them
* Update QueryTabComponent.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
* 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
* Update AddCollectionPanel.tsx
* Update AddCollectionPanel.test.tsx.snap
* Update QueryTabComponent.tsx
* Update container.spec.ts
* Update container.spec.ts
* Update container.spec.ts
* Update container32.spec.ts
* Update container.spec.ts
* Update container.spec.ts
* Update DataTableBindingManager.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
* 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
* Update queryBuilder.less
* Update TableEntity.tsx
* Update PanelComponent.less
* Update DataTableBindingManager.ts
* Update DataTableBindingManager.ts
* dropdown,input elements have been updated to grasp screenreadercontent for all the elements
* Update EntityValue.tsx
* Update TableEntity.tsx
* Update AddTableEntityPanel.tsx
* entityvalue.tsx has been removed from tsconfig.strict file since the changes for the files are not getting compiled
* changed the variable enablePriorityBasedThrottling to enablePriorityBasedExecution
* Update the arm client version to '2023-09-15-preview' to fetch the status for the 'enablePriorityBasedExecution' property and performed the respective changes for priority based execution to grab the changes from the DatabaseAccount data model
* formatting changes to all the committed files
* review comments - removed the variable and added the check in the if loop itself
* check style changes
---------
Co-authored-by: Faiz Chachiya <faizchachiya@microsoft.com>
* Added tooltip to the filename and status columns. There is an InfoTooltip function that can reduce the boilerplate.
* Changed tooltip to be constructed with the DetailsList column and changed orientation to rightCenter.
That orientation prevents issues with topCenter orientation getting off center from the width of the cell.
Also looks a bit nicer, but will get feedback.
* Updated formatting.
* Removing uneccessary column formatting.
---------
Co-authored-by: Craig Boger <craig.boger@microsoft.com>
* 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>