* master pull
* Better VSCode detection
* Prettier run
* Update .npmrc
* Update settings.json
* Fixed ESLint error
* Changed the VSCode detection to a test url that will not open if successful
* Initial UX changes to Add Collection Panel
* Removing changes from other branch
* Reverting explorer changes
* Snapshot updates and Lint fixes
* Formatting fixes
* Setting separator spacing the same
* Update test snapshot
* Reverting Manual to old UI
* [accessibility-3739643]: [Supporting the Platform - Azure Cosmos DB- Data Explorer - Graphs]: When page viewport is set to 320x256px, Content under 'Notification' section is not properly visible.
* fix: Adjust notification console styles for better responsiveness.
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* master pull
* Added export to json button
* Update .npmrc
* Update settings.json
* Update .npmrc
* Update .npmrc
* revert .npmrc file
* Added export to csv
* Prettier run
* Disable react/prop-types ESLint check
* Changed to download icon
* Added titles
* Switched to download icon already present
* Fixed download title
* Added check for all unique headers and added seperator header for excel only
* Moved to inline dropdown under download button
* Capitalized CSV and JSON
* Fixed where format wasn't updating before exporting
* removed testing console log
* Removed unnecessary async
* Added csv escaping
* Removing unnecessary escape character
* Separated into different functions for better organization and readability
* Fixed any value
* [accessibility-3690553]:[Screen reader - Azure Cosmos DB-New Container]: Screen reader does not announce the associated label information for the 'Estimated monthly cost' info icon under 'New Container' blade.
* snap updated.
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* master pull
* Reverting .npmrc file
* Removed logging userContext
* Prettier run
* Added support for opening CosmosDB Account without clicking database tab
* Reverting change in settings.json
* Prettier run
* Added check if the link closed
* Added check if the link didn't closed
* Check if VS Code was opened, if not popup with download button link
* Prettier run
* Redirect to Download VS Code if not opened
* Added error message to VS Code timeout and redirect
* Fixing baseUrl from testing
* Increased timeout for when user is asked to open VS Code
* switched to iframe for redirects
* Fixed VS Code url
* Removed insider url
* Added log messages
* Added link to vCore data explorer dashboard
* Increased timeout to 2.5 secs to see if that helps with VS Code open popup
* Changed to dialog box
* Changed param name
* Increase startTime for extra popup
* Changed to dialog box only when no VS Code detected
* Fixed vscode url
* Changed title back to Open CosmosDB in VS Code
* Added text on required extensions
* Removed text on required extensions as it will prompt by default
* Fixed wording and Primary Button timeout
* Spelled out VS Code
* Removed console log of timeout
* Updated snapshots and lowered timeout
* Remove VS Code button from Gremlin
* Prettier run on CommandBarComponentButtonFactory
* Changed from referencing location to a link
* Prettier run
* Reverting back to popup for opening
* Updated unit test snapshots
* Added vscode: to Content Security Policy
* Reverting back to popup only if opening times out
* Corrected misspelled url
* Corrected url
* Added event listener to check if DE is in focus or not, to prevent showing dialog when VS Code is opened
* Prettier and url fix
* Moved closeDialog before removing event listener
* Changed handleFocus to a const rather than function
* Changed listener to document
* Decreased timeout time
* Reverting back to popup by default as too many factors are present using a timeout
* [accessibility-2278267]:[Supporting the platform - Azure Cosmos DB - Data Explorer]: All the controls present under 'Data Explorer' page are truncated after setting the viewport to 320*256 pixel.
* feat: implement zoom level hook and update components for responsive design.
* Format fixed.
* feat: add conditionalClass utility and refactor className assignments for improved readability.
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* master pull
* Reverting .npmrc file
* Removed logging userContext
* Prettier run
* Added support for opening CosmosDB Account without clicking database tab
* Reverting change in settings.json
* Prettier run
* Added check if the link closed
* Added check if the link didn't closed
* Check if VS Code was opened, if not popup with download button link
* Prettier run
* Redirect to Download VS Code if not opened
* Added error message to VS Code timeout and redirect
* Fixing baseUrl from testing
* Increased timeout for when user is asked to open VS Code
* switched to iframe for redirects
* Fixed VS Code url
* Removed insider url
* Added log messages
* Added link to vCore data explorer dashboard
* Increased timeout to 2.5 secs to see if that helps with VS Code open popup
* Changed to dialog box
* Changed param name
* Increase startTime for extra popup
* Changed to dialog box only when no VS Code detected
* Fixed vscode url
* Changed title back to Open CosmosDB in VS Code
* Added text on required extensions
* Removed text on required extensions as it will prompt by default
* Fixed wording and Primary Button timeout
* Spelled out VS Code
* Removed console log of timeout
* Updated snapshots and lowered timeout
* Remove VS Code button from Gremlin
* Prettier run on CommandBarComponentButtonFactory
* Changed from referencing location to a link
* Prettier run
* Reverting back to popup for opening
* Updated unit test snapshots
* Added vscode: to Content Security Policy
* Reverting back to popup only if opening times out
* Corrected misspelled url
* Corrected url
* master pull
* Reverting .npmrc file
* Removed logging userContext
* Prettier run
* Added support for opening CosmosDB Account without clicking database tab
* Reverting change in settings.json
* Prettier run
* Added check if the link closed
* Added check if the link didn't closed
* Check if VS Code was opened, if not popup with download button link
* Prettier run
* Redirect to Download VS Code if not opened
* Added error message to VS Code timeout and redirect
* Fixing baseUrl from testing
* Increased timeout for when user is asked to open VS Code
* switched to iframe for redirects
* Fixed VS Code url
* Removed insider url
* Added log messages
* Added link to vCore data explorer dashboard
* Increased timeout to 2.5 secs to see if that helps with VS Code open popup
* Changed to dialog box
* Changed param name
* Increase startTime for extra popup
* Changed to dialog box only when no VS Code detected
* Fixed vscode url
* Changed title back to Open CosmosDB in VS Code
* Added text on required extensions
* Removed text on required extensions as it will prompt by default
* Fixed wording and Primary Button timeout
* Spelled out VS Code
* Removed console log of timeout
* Updated snapshots and lowered timeout
* Remove VS Code button from Gremlin
* Prettier run on CommandBarComponentButtonFactory
* Changed from referencing location to a link
* Prettier run
* Reverting back to popup for opening
* Updated unit test snapshots
* Added vscode: to Content Security Policy
* Reverting back to popup only if opening times out
* master pull
* Added unique keys in Settings for SQL api
* Revert settings.json
* Reverting other PR changes that haven't merged
* Adding space back in
* Added unit tests
* fix: Add overflow property and set minimum heights for flex and sidebar containers
* fix: Update overflow and minimum height properties for tab panes and containers
* Add vector index shard key
* npm run format
* rename shard key to vector index shard key
* add tooltip for quantization byte size
* change text for GSI and container in VectorEmbedding Policy
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* updated the Migrate data link
* updated the Migrate data link (removed en-us)
---------
Co-authored-by: Sakshi Gupta <sakshig+microsoft@microsoft.com>
* Hide entire Accordion of options in Settings Pane
* In PartitionKeyComponent hide "Change partition key" label when read-only.
* Create sample data container with correct pkey
* Add unit tests to PartitionKeyComponent
* Fix format
* fix unit test snapshot
* Add Fabric message to open Settings to given tab id
* Improve syntax on message contract
* Remove "(preview)" in partition key tab title in Settings Tab
* remove old portal backend endpoints
* format
* fix tests
* remove Materialized Views from createResourceTokenTreeNodes
* add portal FE back to defaultAllowedBackendEndpoints
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Implement dialog to import sample data
* Fix format
* Cosmetic fixes
* fix: update help link to point to the new documentation URL
---------
Co-authored-by: Sevo Kukol <sevoku@microsoft.com>
* fix partition key missing not being able to load the document
* Implement E2E tests for documents with different partitionkeys
* Implement E2E tests for documents with different partitionkeys
* Implement E2E tests for documents with different partitionkeys
* Updated snapshot
* Updated tests for MongoRU and add create/delete tests
* Fixing system partition key showing up in Data Explorer
* Add standin region selection to settings menu.
* Retrieve read and write regions from user context and populate dropdown menu. Update local storage value.
Need to now connect with updating read region of primary cosmos client.
* Change to only selecting region for cosmos client. Not setting up separate read and write clients.
* Add read and write endpoint logging to cosmos client.
* Pass changing endpoint from settings menu to client. Encountered token issues using new endpoint in client.
* Rough implementation of region selection of endpoint for cosmos client. Still need to:
1 - Use separate context var to track selected region. Directly updating database account context throws off token generation by acquireMSALTokenForAccount
2 - Remove href overrides in acquireMSALTokenForAccount.
* Update region selection to include global endpoint and generate a unique list of read and write endpoints.
Need to continue with clearing out selected endpoint when global is selected again.
Write operations stall when read region is selected even though 403 returned when region rejects operation.
Need to limit feature availablility to nosql, table, gremlin (maybe).
* Update cosmos client to fix bug.
Clients continuously generate after changing RBAC setting.
* Swapping back to default endpoint value.
* Rebase on client refresh bug fix.
* Enable region selection for NoSql, Table, Gremlin
* Add logic to reset regional endpoint when global is selected.
* Fix state changing when selecting region or resetting to global.
* Rough implementation of configuring regional endpoint when DE is loaded in portal or hosted with AAD/Entra auth.
* Ininitial attempt at adding error handling, but still having issues with errors caught at proxy plugin.
* Added rough error handling in local requestPlugin used in local environments. Passes new error to calling code.
Might need to add specific error handling for request plugin to the handleError class.
* Change how request plugin returns error so existing error handling utility can process and present error.
* Only enable region selection for nosql accounts.
* Limit region selection to portal and hosted AAD auth. SQL accounts only. Could possibly enable on table and gremlin later.
* Update error handling to account for generic error code.
* Refactor error code extraction.
* Update test snapshots and remove unneeded logging.
* Change error handling to use only the message rather than casting to any.
* Clean up debug logging in cosmos client.
* Remove unused storage keys.
* Use endpoint instead of region name to track selected region. Prevents having to do endpoint lookups.
* Add initial button state update depending on region selection.
Need to update with the API and react to user context changes.
* Disable CRUD buttons when read region selected.
* Default to write enabled in react.
* Disable query saving when read region is selected.
* Patch clientWidth error on conflicts tab.
* Resolve merge conflicts from rebase.
* Make sure proxy endpoints return in all cases.
* Remove excess client logging and match main for ConflictsTab.
* Cleaning up logging and fixing endpoint discovery bug.
* Fix formatting.
* Reformatting if statements with preferred formatting.
* Migrate region selection to local persistence. Fixes account swapping bug.
TODO: Inspect better way to reset interface elements when deleteAllStates is called. Need to react to regional endpoint being reset.
* Relocate resetting interface context to helper function.
* Remove legacy state storage for regional endpoint selection.
* Laurent suggestion updates.
* fix partition key missing not being able to load the document
* Implement E2E tests for documents with different partitionkeys
* Implement E2E tests for documents with different partitionkeys
* Implement E2E tests for documents with different partitionkeys
* Updated snapshot
* Hide connection strings and keys by default. Move URI above pivot since common across tabs. Matches frontend. Need to add scrolling of keys when window is small. Possibly reduce URI width.
* Add vertical scrolling when window size reduces.
* Adding missing semicolon at end of connection strings.
* Fix input element pattern matching and add validation reporting for
cases where the element is not within a form element.
* Update test snapshots.
* Remove old code and fix trigger error message.
* Move id validation to a util class.
* Add unit tests, fix standalone function, rename constants.
* Moved button to upper right
* Reverted background color
* Updated test snapshot
* Added hidding refresh button on overflow
* Ran prettier and updated snapshot
* assign default throughput based on workload type
* combined common logic
* fix unit tests
* add tests
* update tests
* npm run format
* Set default RU throughput for Production workload accounts to be 10k
* remove unused method
* refactor
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* For all control plane operations, do not use ARM for Fabric. Enable "delete container" for fabric native.
* Fix unit test
* Fix tre note tests with proper fabric config. Add new fabric non-readonly test.
* Implement fabric native path
* Fix default values to work with current fabric clients
* Fix Fabric native mode
* Fix unit test
* export Fabric context
* Dynamically close Home tab for Mirrored databases in Fabric rather than conditional init (which doesn't work for Native)
* For Fabric native, don't show "Delete Database" in context menu and reading databases should return the database from the context.
* Update to V3 messaging
* For data plane operations, skip ARM for Fabric native. Refine the tests for fabric to make the distinction between mirrored key, mirrored AAD and native. Fix FabricUtil to strict compile.
* Add support for refreshing access tokens
* Buf fix: don't wait for refresh is async
* Fix format
* Fix strict compile issue
---------
Co-authored-by: Laurent Nguyen <languye@microsoft.com>
* Default to new backend endpoint if the endpoint in current context does not match existing set in constants.
* Remove some env references.
* Added comments with reasoning for selecting new backend by default.
* Update comment.
* Remove all references to useNewPortalBackendEndpoint now that old backend is disabled in all environments.
* Resolve lint issues.
* Removed references to old backend from Cassandra and Mongo Apis
* fix unit tests
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Added throughput bucketing
* fix bugs
* enable/disable per autoscale selection
* Added logic
* change query bucket to group
* Updated to a tab
* Fixed unit tests
* Edit package-lock
* Compile build fix
* fix unit tests
* moving the throughput bucket flag to the client generation level
* assign default throughput based on workload type
* combined common logic
* fix unit tests
* add tests
* update tests
* npm run format
* Update ci.yml
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Removed NPS Survey from DE since it has been moved to the Overview Blade
* Added ExplorerBindings back
* Moved applyExplorerBindings back to original place
* [accessibility-3556824] : [Programmatic Access - Azure Cosmos DB- Data Explorer]: Keyboard focus indicator is not visible on controls inside the settings.
* Snapshots updated.
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* [accessibility-3560073]: [Keyboard Navigation - Cosmos DB Query Copilot - Query Faster with Copilot>Enable Query Advisor]: Keyboard focus order is not logical after selecting the 'Copy code' button.
* [Keyboard Navigation - Cosmos DB Query Copilot - Query Faster with Copilot>Enable Query Advisor]: Keyboard focus order is not logical after selecting the 'Copy code' button.
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* [accessibility-3549715]: [Screen reader - Cosmos DB Query Copilot - Query Faster with Copilot>Enable Query Advisor]: Screen reader does not announce status information which appears on invoking the 'Send' button.
* [accessibility-3549715]:[Screen reader - Cosmos DB Query Copilot - Query Faster with Copilot>Enable Query Advisor]: Screen reader does not announce status information which appears on invoking the 'Send' button.
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* Changes to DE preview site to support managed identity. Changes to
infrastructure to use new preview site.
* Fix formatting.
* Potential fix for code scanning alert no. 56: Server-side request forgery
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Use different secrets for subscription/tenant/client id's.
* Revert new id names.
* Update Az CLI config.
* Update to Node 18 and update security vulnerable dependencies.
---------
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Specify actual package names in upload artifacts task.
* Revert path change, use unique names for upload task.
* Fix the right properties.
* Revert condition change
* Reset hasDataPlaneRbacSettingChanged back to false after cosmos client is refreshed with new settings.
Dispose of old client before new one is created.
* Update client refresh variable after settings change.
* Only refresh client when related settings are changed.
* Update comparisons in settings menu.
* Remove unnecessary comments.
* Update refresh variable naming.
* Attempting to sync package.json and package-lock.json in CI.
* Remove npm install from CI after successful CI run.
* Only show retry settings with those APIs using the cosmos client -> NoSQL, Table, Gremlin
* Rename MongoProxy development endpoint constant to be consistent with other
endpoints.
* Update Playwright version to latest release due to test setup break.
* Persist query multiple query texts
* Save multiple query tab histories
* Save and restore states for QueryTab and DocumentsTab for SQL and Mongo
* Enable Collection Scale/Settings restore
* Persist documents tab current filter
* Fix DocumentsTab conflict resolve mistake
* Remove unused variable
* Fix e2e test
* Fix e2e localStorage reference
* Try clearing local storage via playwright page
* Clear local storage after opening page
* Move restore flag behind feature flag. Whitelist restorable tabs in for Fabric. Restore e2e tests.
* Fix typo
* Fix: avoid setting undefined for preferredSize for the <Allotment.Pane>
* Add comments
* Move restore tabs after knockout configure step from Explorer constructor (which could be called multiple times)
* Replaced monaco editor on Container Vector Policy tab with controls same as on create container ux
* Adds vector embedding policy to container management. Adds FullTextSearch to both add container and container management.
* Fixing unit tests and formatting issues
* More fixes
* Updating full text controls based on feedback
* Minor updates
* Editing test to fix compile issue
* Minor fix
* Adding paths for jest to ignore transform due to recent changes in upstream dependencies
* Adding mock to temporarily get unit tests to pass
* Hiding FTS feature behind the new EnableNoSQLFullTextSearch capability
* Rework Input and dropdown in DocumentsTab
* Improve input: implement Escape and add clear button
* Undo body :focus outline, since fluent UI has a nicer focus style
* Close dropdown if last element is tabbed
* Fix unit tests
* Fix theme and remove autocomplete
* Load theme inside rendering function to fix using correct colors
* Remove commented code
* Add aria-label to clear filter button
* Fix format
* Fix keyboard navigation with tab and arrow up/down. Clear button becomes down button.
---------
Co-authored-by: Laurent Nguyen <languye@microsoft.com>
* Force useMongoProxyEndpoint to always return true if valid endpoint provided. Enables new Mongo proxy in all environments.
* Checking MP endpoint in config context.
* Enabling cassandra proxy in all environments. Requires later cleanup.
* Simplifying and removing endpoint validation since run when config context is generated.
* Enabling one MP API at a time globally.
* Revent to existing CP selection logic.
* Creating list of globally enable CP apis.
* Add list of mongo and cassandra APIs to config and only enable if environment outside existing list of environments.
* Remove environment checks. If API globally enabled, return true.
* Adding config initialization for mongo unit tests.
* Default to empty enable list to minimize possible impact. Config.json overrides can be used for testing.
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Remove unnecessary code
* Remove unnecessary code
* Add code to fix VCoreMongo/PG bug
* Address feedback
* Add more logs for RBAC feature
* Add more logs for RBAC features
* Add AAD endpoints for all environments
* Add AAD endpoints
* Run npm format
* Support multi-tenant switching for Data Plane RBAC
* Remove tenantID duplicates
---------
Co-authored-by: Senthamil Sindhu <sindhuba@microsoft.com>
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Remove unnecessary code
* Remove unnecessary code
* Add code to fix VCoreMongo/PG bug
* Address feedback
* Add more logs for RBAC feature
* Add more logs for RBAC features
* Add AAD endpoints for all environments
* Add AAD endpoints
* Run npm format
* Support multi-tenant switching for Data plane RBAC
* Run npm format
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* [accessibility-2262594]: [Keyboard Navigation - Azure Cosmos DB - Data Explorer]: Keyboard focus is not retaining back to 'more' button after closing 'Delete container' dialog.
* Optimize closeSidePanel: add timeout cleanup to prevent memory leaks and ensure proper focus behavior
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* Add a silent parameter to acquireTokenWithMsal
If true, the function won't retry to sign in using a Popup if silent token acquisition fails.
* Improve Login for Entra ID RBAC button logic
Try to reuse an existing signed-in MSAL account to get the AAD token
and fall back to full sign-in otherwise.
Also move the logic to AuthorizationUtils
* Try to acquire an Entra ID token silently on startup.
When running in Portal MSAL should be able to reuse the
MSAL account from Portal and allow us to silently get
the RBAC token. If it fails we'll show the Login for Entry ID RBAC
button as usual.
* Small code improvements
* Remove the RBAC notice from settings pane
and try to acquire RBAC token silently after enabling RBAC.
* Use msal.ssoSilent with an optional login hint
to avoid more sign-in popups.
msal.loginPopup will be used as a backup option if ssoSilent fails.
Ideally the parent environment (Portal/Fabric) should send
a loginHint with the username of the currently signed in user that
can be passed to the token acquisition flow.
* Improve RBAC error wording, clarifying where to find the Login button.
* Introduce common function for shared throughput default and set to
false.
* Add new file.
* Adjust E2E tests to not set throughput for database create.
* Remove the "Ctrl+Alt+[" and "Ctrl+Alt+]" shortcuts, as they conflict on non-US keyboard layouts
* Use "BracketLeft" and "BracketRight" to re-enable shortcut for US keyboards
* change 'Database id' to 'Database name' in Delete Database confirm prompt
* put 'name' in a parenthetical instead of replacing 'id'
* update test snapshots
* Migrate copilot persistence to AppState
* Migrate persistence of toggle and history to new infra
* Save toggle value as boolean
* Fix compile bug
* Fix unit tests
* allow DE to provide clearer error messages for certain conditions
* allow rendeering a "help" link for an error
* use TableCellLayout where possible
* remove RU Threshold banner, now that we have a clearer error
* refmt
* fix QueryError test
* change "RU Threshold" to "RU Limit"
* Implement retry on throttling for nosql
* Clean up code
* Produce specific error for throttling error in mongoProxy bulk delete. Clean up code.
* Fix throttling doc url
* Fix mongo error wording
* Fix unit test
* Unit test cleanup
* Fix format
* Fix unit tests
* Fix format
* Fix unit test
* Fix format
* Improve comments
* Improve error message wording. Fix URL and add specific URL for Mongo and NoSql.
* Fix error messages. Add console errors.
* Clean up selection of various delete fct
* Fix error display
* Reapply "Enable column selection and sorting in DocumentsTab (with persistence) (#1881)" (#1960)
This reverts commit fe9730206e6e7a63f23ec2e2fb51bedd53fe66b5.
* Fix logic bug: always include defaultQueryFields in query.
* Show resize column option outside of feature flag
* Improve prevention of no selected columns
* Add more unit tests
* Fix styling on table
* Update test snapshots
* Remove "sortable" property on table which makes the header cell focusable (user sorts by selecting menu item, not by clicking on cell)
* Initial implementation of saving split value to local storage
* Make table columns generic (no more id and partition keys)
* Save column width
* Add column selection from right-click
* Implement new menu for column selection with search.
* Switch icons and search compare with lowercase.
* Search uses string includes instead of startsWith
* Only allow data fields that can be rendered (string and numbers) in column selection
* Accumulate properties rather than replace for column definitions
* Do not allow deselecting all columns
* Move table values under its own property
* Update choices of column when creating new or updating document
* Rework column selection UI
* Fix table size issue with some heuristics
* Fix heuristic for size update
* Don't allow unselecting last column
* Implement column sorting
* Fix format
* Fix format, update snapshots
* Add reset button to column selection and fix naming of openUploadItemsPanePane()
* Fix unit tests
* Fix unit test
* Persist column selection
* Persist column sorting
* Save columns definition (schema) along with selected columns.
* Merge branch 'master' into users/languy/save-documentstab-prefs
* Revert "Merge branch 'master' into users/languy/save-documentstab-prefs"
This reverts commit e5a82fd356666011397db96ea35c2e0abc178c4e.
* Disable column selection for Mongo. Remove extra refresh button
* Update test snapshots
* Remove unused function
* Fix table width
* Add background color to "..." button for column selection
* Label to indicate which field is a partition key in Column Selection Pane
* Update unit test snapshot
* Move column selection and sorting behind feature flag enableDocumentsTableColumnSelection
* Cleanup checkbox styles
* Use accordion in settingsPane
* Fix format
* Fix format for retry interval
* Fix unit tests
* Cosmetic changes
* Move info tips into accordion section
* Update snapshot
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Remove unnecessary code
* Remove unnecessary code
* Add code to fix VCoreMongo/PG bug
* Address feedback
* Add more logs for RBAC feature
* Add more logs for RBAC features
* Add AAD endpoints for all environments
* Add AAD endpoints
* Run npm format
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Infrastructure to save app state
* Save filters
* Replace read/save methods with more generic ones
* Make datalist for filter unique per database/container combination
* Disable saving middle split position for now
* Fix unit tests
* Turn off confusing auto-complete from input box
* Disable tabStateData for now
* Save and restore split position
* Fix replace autocomplete="off" by removing id on Input tag
* Properly set allotment width
* Fix saved percentage
* Save splitter per collection
* Add error handling and telemetry
* Fix compiling issue
* Add ability to delete filter history. Bug fix when hitting Enter on filter input box.
* Replace delete filter modal with dropdown menu
* Add code to remove oldest record if max limit is reached in app state persistence
* Only save new splitter position on drag end (not onchange)
* Add unit tests
* Add Clear all in settings. Update snapshots
* Fix format
* Remove filter delete and keep filter history to a max. Reword clear button and message in settings pane.
* Fix setting button label
* Update test snapshots
* Reword Clear history button text
* Update unit test snapshot
* Enable Settings pane for Fabric, but turn off Rbac dial for Fabric.
* Change union type to enum
* Update src/Shared/AppStatePersistenceUtility.ts
Assert that path does not include slash char.
Co-authored-by: Ashley Stanton-Nurse <ashleyst@microsoft.com>
* Update src/Shared/AppStatePersistenceUtility.ts
Assert that path does not contain slash.
Co-authored-by: Ashley Stanton-Nurse <ashleyst@microsoft.com>
* Fix format
---------
Co-authored-by: Ashley Stanton-Nurse <ashleyst@microsoft.com>
* Implement bulk delete documents for Mongo
* Fix unit test
* Adding bulkdelete to new mongo apis
* Fix error message
* Fix typo
* Improve error message wording
* Fix format
* Fix format
* Put back old delete for older container with system partition key
* activate mongo proxy in mpac
* activate mongo proxy in mpac
* activate mongo proxy in prod
* fixed parition key unit test
* remove three part partition key value test
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* [accessibility-2280341]:[Keyboard Navigation - Azure Cosmos DB - Graph]: Keyboard focus order is not logical after selecting any tab control.
* updated module structure.
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Remove unnecessary code
* Remove unnecessary code
* Add code to fix VCoreMongo/PG bug
* Address feedback
* Add more logs for RBAC feature
* Add more logs for RBAC features
* Fix login for Entra ID text
* Address comments
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Remove "Go to Symbol..." menu option by default in monaco. Add option to toggle word wrap.
* Remove code that removes "Go to symbol" as it is not a public API
* Move WordWrap context menu item to its own section. Remove unnecessary parameters.
* Fix format
* start redesign work
* add left padding to all tree nodes
* fiddling with padding
* align tab bar line with first item in resource tree
* final touch ups
* fix a strange password manager autofill prompt
* add keyboard shortcuts
* revert testing change
* nudge messagebar to layout row height
* tidy up
* switch to Allotment to stop ResizeObserver issues with monaco
* refmt and fix lints
* fabric touch-ups
* update snapshots
* remove explicit react-icons dependency
* reinstall packages
* remove background from FluentProvider
* fix alignment of message bar
* undo temporary workaround
* restore refresh button
* fix e2e tests and reformat
* fix compiler error
* remove uiw/react-split
* uncomment selection change on expand
* [accessibility-3100032]:[Programmatic Access - Azure Cosmos DB - Data Explorer]: Close button does not have discernible text under 'Data Explorer' pane.
* [accessibility-3100032]:[Programmatic Access - Azure Cosmos DB - Data Explorer]: Close button does not have discernible text under 'Data Explorer' pane.
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* Upgrade typescript to 4.9.5
* Fix compile issue and put back files in tsconfig.strict.json
* Update test snapshots
* Fix jest tests by upgrading jest and other related packages.
* Attempt to fix playwright test
* Revert "Attempt to fix playwright test"
This reverts commit 8293f34c9ce3901eb160a56526c59e3d3e1e343e.
* 2nd attempt to fix example test
* fix waitFor in playwright
* Remove unused describe section
* Attempt to fix e2e test
* Revert "Attempt to fix e2e test"
This reverts commit 9745bcd2efccf92e33e62e4563349cb76e6236de.
* Upgrade playwright to latest
* Revert "Upgrade playwright to latest"
This reverts commit e2ea1d01895f9db157a92a5167a7865b7cc43266.
* Error test on e2e
* Revert "Error test on e2e"
This reverts commit 124e3764f72fff70df9cc1a2e93d12faa7b507e9.
* Try to select dropdown item by xpath selector
* Revert "Try to select dropdown item by xpath selector"
This reverts commit 8eb42a64e23cee589a7c0a809c039ecc7867b7ba.
* Attempt to wait until page is fully loaded
* Revert "Attempt to wait until page is fully loaded"
This reverts commit bb43fcea6e71e593f7d1a3e374e9f1d57052ab70.
* Use playwright selectOption to select dropdown option
* Revert "Use playwright selectOption to select dropdown option"
This reverts commit daa8cd09304f68093df2d94f4bd1139cb367465a.
* Select dropdown option with playwright api instead of manual click
* c7ab4c7ecf7b05f32a85568bce1a667ad8c62703Revert "Select dropdown option with playwright api instead of manual click"
This reverts commit c7ab4c7ecf7b05f32a85568bce1a667ad8c62703.
* Wait for 5s after dropdown click
* Revert "Wait for 5s after dropdown click"
This reverts commit 847e9ad33fbfac99a947fc088e1c8c1c14c57853.
* Try forcing click
* Revert "Try forcing click"
This reverts commit 29b9fa1bda18dd3aba7853b20c6215d971bc826a.
* Force click on the dropdown and set viewport size bigger.
* Force click on the dropdown and set viewport size bigger.
* try force clicking option
* Skip container test on webkit
* Add branded browsers to e2e tests
---------
Co-authored-by: Ashley Stanton-Nurse <ashleyst@microsoft.com>
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Remove unnecessary code
* Remove unnecessary code
* Add code to fix VCoreMongo/PG bug
* Address feedback
* Add more logs for RBAC feature
* Add more logs for RBAC features
* Add readOnlyKeys call for accounts with Reader role
* Resolve conflicts
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Remove unnecessary code
* Remove unnecessary code
* Add code to fix VCoreMongo/PG bug
* Address feedback
* Add more logs for RBAC feature
* Add more logs for RBAC features
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Set AllowPartialScopes flag to true (#1900)
* add partial scopes flag
* add partial scopes flag
* add partial scopes flag
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Adding CRI fixes to pre RBAC commit (#1902)
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Add Data Plane RBAC functionality (#1878)
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Address errors and checks
* Cleanup DP RBAC code
* Run format
* Fix unit tests
* Remove unnecessary code
* Run npm format
* Fix enableAadDataPlane feature flag behavior
* Fix enable AAD dataplane feature flag behavior
* Address feedback comments
* Minor fix
* Add new fixes
* Fix Tables test
* Run npm format
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Fix LMS regression when using old backend (#1890)
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Address RBAC local storage default setting issue (#1892)
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Address errors and checks
* Cleanup DP RBAC code
* Run format
* Fix unit tests
* Remove unnecessary code
* Run npm format
* Fix enableAadDataPlane feature flag behavior
* Fix enable AAD dataplane feature flag behavior
* Address feedback comments
* Minor fix
* Add new fixes
* Fix Tables test
* Run npm format
* Address Local storage default setting issue
* Run npm format
* Address lint error
* Run format
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Fix bug in viewing tables account databases (#1899)
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Address errors and checks
* Cleanup DP RBAC code
* Run format
* Fix unit tests
* Remove unnecessary code
* Run npm format
* Fix enableAadDataPlane feature flag behavior
* Fix enable AAD dataplane feature flag behavior
* Address feedback comments
* Minor fix
* Add new fixes
* Fix Tables test
* Run npm format
* Address Local storage default setting issue
* Run npm format
* Address lint error
* Run format
* Address bug in fetching data for Tables Account
* Add fetchAndUpdate Keys
* Add fix for MPAC Tables account issue
* Fix issue with Cosmos Client
* Run np format
* Address bugs
* Remove unused import
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
---------
Co-authored-by: Asier Isayas <asier.isayas@gmail.com>
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
Co-authored-by: sindhuba <122321535+sindhuba@users.noreply.github.com>
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Address errors and checks
* Cleanup DP RBAC code
* Run format
* Fix unit tests
* Remove unnecessary code
* Run npm format
* Fix enableAadDataPlane feature flag behavior
* Fix enable AAD dataplane feature flag behavior
* Address feedback comments
* Minor fix
* Add new fixes
* Fix Tables test
* Run npm format
* Address Local storage default setting issue
* Run npm format
* Address lint error
* Run format
* Address bug in fetching data for Tables Account
* Add fetchAndUpdate Keys
* Add fix for MPAC Tables account issue
* Fix issue with Cosmos Client
* Run np format
* Address bugs
* Remove unused import
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Address errors and checks
* Cleanup DP RBAC code
* Run format
* Fix unit tests
* Remove unnecessary code
* Run npm format
* Fix enableAadDataPlane feature flag behavior
* Fix enable AAD dataplane feature flag behavior
* Address feedback comments
* Minor fix
* Add new fixes
* Fix Tables test
* Run npm format
* Address Local storage default setting issue
* Run npm format
* Address lint error
* Run format
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Fix API endpoint for CassandraProxy query API
* activate Mongo Proxy and Cassandra Proxy in Prod
* Add CP Prod endpoint
* Run npm format and tests
* Revert code
* fix bug that blocked local mongo proxy and cassandra proxy development
* Add prod endpoint
* fix pr check tests
* Remove prod
* Remove prod endpoint
* Remove dev endpoint
* Support data plane RBAC
* Support data plane RBAC
* Add additional changes for Portal RBAC functionality
* Address errors and checks
* Cleanup DP RBAC code
* Run format
* Fix unit tests
* Remove unnecessary code
* Run npm format
* Fix enableAadDataPlane feature flag behavior
* Fix enable AAD dataplane feature flag behavior
* Address feedback comments
* Minor fix
* Add new fixes
* Fix Tables test
* Run npm format
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* Disable Delete button and document selection when partitionKey.systemKey = true for noSql.
* Update unit tests
* Always show delete button. Use single delete API for systemKey containers
* [accessibility-3048277]:[Programmatic Access - Azure Cosmos DB - Data Explorer>New Container]: Ensures ARIA attributes are allowed for an element's role
* updated PartitionKeyPane
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* allow query result view to be toggled from command bar
also provides a default results view option that's stored in the
browser's local storage
* update SettingsPane test snapshot
* Initial implementation of shift and ctrl click to select
* Implement shift-ctrl selection
* Fix snapshot, update selectionHelper comment
* Fix missing type
* Properly disable cursor selection
* Update snapshots
* Do not enable (multiselect) if readonly
* Consider meta key for mac and ctrl for everything else
* [3100036]: [Programmatic Access - Azure Cosmos DB - Data Explorer]: Close button is nested under 'Home' tab control under 'Data Explorer' pane.
* Fabric-Less updated.
* Added specific width for contentWrapper.
* less update.
* Fixed out-scope space issue
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* Update message de->fabric to v3
* Reinstate get authorization token path which doesn't get called every 5 minutes anymore
* Remove obsolete comment
* Add missing types
* Fix format
* Fix build issue
* Revert "Reinstate get authorization token path which doesn't get called every 5 minutes anymore"
This reverts commit a3f3511043201c8824989df04fd2ad813b88bd9e.
* Keep 3 old fabric message types enums for compatibility with the portal
* Re-add warning comment about not changing existing message type enums
---------
Co-authored-by: Laurent Nguyen <languye@microsoft.com>
* Document page now loads list of docs and displays selection
* DocumentsTabV2 now properly loads documents, show partition keys and display first doc with proper selection behavior. Move it to its own folder.
* Extract table in a separate component
* Resizable columns on the document table
* Fix selection behavior and some layout issue
* Adding table scrolling
* Fix NaN height issue
* Fix NaN height issue
* Fix column sizing + cell selection
* Improvement in width size. Add Load More
* Add react editor and pass column headers
* Dynamic columns for pk
* Fix initial columns size
* Add nav buttons
* Editing content updates buttons state
* Discard and save buttons working
* Fix save new document. Implement delete.
* Remove debug display
* Fix unexpand filter and reformat
* Fix compil issues
* Add refresh button
* Update column header placeholder style
* Implement delete multiple docs
* Fix multi delete
* Fix show/hide delete button
* Fix selection behavior
* Fix UX with buttons behavior and editor display
* Fix UX issue with not discarding edit changes
* Add some TODO's
* Remove debugging info and reformat
* Add mongo support
* Fix build issues
* Fix table header. Remove debug statement
* Restore broken nosql
* Fix mongo save new document/update document
* Fix bugs with clicking on newly created documents
* Fix comment
* Fix double fetch issue when clicking on an item
* Auto-select last document when saving new document
* Fix resourceTokenPartitionKey code
* Fix format
* Fix isQueryCopilotSampleContainer flag
* Fix unused code
* Call tab when updating error flag
* Destructure props to make useEffect dependencies work
* Fix loadStartKey
* minor update
* Fix format
* Add title to table
* Fix table coming off its container with unwanted horizontal scrollbar
* Increase table width. Fix eslint issue.
* Move refresh documents button from table back to DocumentsTabV2
* Fix load more text centering
* Don't show Load More if nothing to show
* Fix columns min width
* Add keyboard shortcuts
* Add keyboard handlers to load more and refresh button
* Add keyboard support to select table row
* Disable eslint issue from fluent library
* Connect cancel query button
* Add Fluent V9 theme for Fabric (#1821)
* Clean up dependencies and memoize internal functions and object. Move methods and object that don't depend on state outside of component.
* Fix filter disappearing when clicking Apply Filter
* Fix typo and format
* Implement bulk delete for nosql
* Replace filter ui components with fluent ui
* Remove jquery calls
* Migrate unit test to DocumentsTabV2
* Remove DocumentsTab and MongoDocumentsTab. Fix build issues.
* Properly handle activetab
* Remove comments and unused code
* Port keyboard shortcuts from commitId 1f4d0f2
* Port item editor shortcuts to improved Items tab branch (#1831)
* set filter focus on Ctrl+Shift+F
* implement filter enter/esc keybinds
* remove debugging
* Collapse filter when query is executed
* Fix monaco editor not happy when parent is null
* Fix how bulk delete operation gets called when no partition key
* Fix update id list after delete
* Fix deleteDocuments
* Fix build issue
* Fix bug in mongo delete
* Fix mongo delete flow
* Proper error handling in mongo
* Handle >100 bulk delete operations
* Add unit tests for DocumentsTableComponent
* More improvements to table unit tests
* Fix import. Disable selection test for now
* Add more DocumentsTab unit react tests
* Remove selection test
* Add more unit tests. Add lcov coverage report to display in vscode
* Move unit tests to correct file
* Add unit test on command bar
* Fix build issues
* Add more unit tests
* Remove unneeded call
* Add DocumentsTab for Mongo API
* Fix linting errors
* Update fluent ui v9 dependency. Color columns separation. Fix refresh button placement to not interfere with header cell width.
* Revert @fluentui/react-components to a safe version that compiles
* Add confirmation window when documents have been deleted
* Fix mongo unit tests
* Fix format
* Update src/Common/dataAccess/deleteDocument.ts
Co-authored-by: Ashley Stanton-Nurse <ashleyst@microsoft.com>
* Update src/Common/dataAccess/deleteDocument.ts
Co-authored-by: Ashley Stanton-Nurse <ashleyst@microsoft.com>
* Update src/Common/dataAccess/deleteDocument.ts
Co-authored-by: Ashley Stanton-Nurse <ashleyst@microsoft.com>
* Fix bug with markup. Simplify code.
* Protect against creating React editor without parent node
* Replace rendering tests with snapshot match
* Add test screenshot to troubleshoot e2e test
* Revert "Add test screenshot to troubleshoot e2e test"
This reverts commit 1b8138ade00571972c0e9bce77846e8fe4a3446a.
* Attempt 2 at troubleshooting failing test
* Revert "Attempt 2 at troubleshooting failing test"
This reverts commit 3e51a593bf2001d44b6e5316d4865e6e861c21c3.
* Delete button now shows if one or more rows are selected
---------
Co-authored-by: Vsevolod Kukol <sevoku@microsoft.com>
Co-authored-by: Ashley Stanton-Nurse <ashleyst@microsoft.com>
* [accessibility-3100026]: [Screen Reader - Azure Cosmos DB - Add Table Row]: Screen Reader does not announce status message after invoking 'Add Row' control under 'Add Table Row' pane.
* Fixed format.
* Snap update.
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* [accessibility-3102916]:[Keyboard Navigation - Azure CosmosDB - Data Explorer]: Keyboard focus is moving to non-interactive control after checkbox control of Advanced button.
* Updated Snap.
---------
Co-authored-by: Satyapriya Bai <v-satybai@microsoft.com>
* Update d3, webpack-dev-server, typedoc dependencies.
* Fix unit test failures.
* Revert change to snapshot as it doesn't seem required when running in
github.
* LMS Mongo Proxy support
* change stirng to url for get mongo shell url
* fix tests
* enable feature flag
* fixed unit test
* add mongoshell to path
* remove LMS feature flag
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* LMS Mongo Proxy support
* change stirng to url for get mongo shell url
* fix tests
* enable feature flag
* fixed unit test
* add mongoshell to path
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* LMS Mongo Proxy support
* change stirng to url for get mongo shell url
* fix tests
* enable feature flag
* fixed unit test
---------
Co-authored-by: Asier Isayas <aisayas@microsoft.com>
* fix bug in trigger tab that takes over the command bar while open
* clear context buttons when a react tab is active
* restore unintentionally removed code
* reformat
* keyboard shortcuts using tinykeys
* refmt and fix lints
* retarget keyboard shortcuts to the body instead of the root element of the React component tree
* refmt
* Update src/Explorer/Menus/CommandBar/CommandBarUtil.tsx
Co-authored-by: Laurent Nguyen <laurent.nguyen@microsoft.com>
* add Save binding to New Item command bar
---------
Co-authored-by: Laurent Nguyen <laurent.nguyen@microsoft.com>
* Use Az login with OpenID connection to get test credentials.
* Set subscription id environment variable.
* Update testExplorer and cleanup job.
* Retrieve access token in test case and pass to testExplorer.
* Add debug tracing for tests.
* Set up other mongo test to use Az CLI creds.
* Revert subscription id retrieval.
* Add CLI credentials retrieval to rest of tests.
* Fix missing imports.
* Clean up redundant code.
* Remove commented import statement.
* 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
* 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
* focus indicator outline invisbile on higher contrast themes
* Update fulldatatables.less
* Update queryBuilder.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 RightPaneForm.tsx
* Update AddTableEntityPanel.tsx
* Update SplashScreen.tsx
* Update QuickstartCarousel.tsx
* Update AddTableEntityPanel.test.tsx.snap
* 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 39a7765aef807de5c1e7c82b094765072a10924c
---------
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>
* 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 5a660551c6289d475b6298f90abc9d149146772e.
* 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 5a660551c6289d475b6298f90abc9d149146772e.
* 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 5a660551c6289d475b6298f90abc9d149146772e.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c6f127cd17033995c919867285d897e.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c43d0fe994fc9a0749b084ae427397e.
* 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 5a660551c6289d475b6298f90abc9d149146772e.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c6f127cd17033995c919867285d897e.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c43d0fe994fc9a0749b084ae427397e.
* 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 5a660551c6289d475b6298f90abc9d149146772e.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c6f127cd17033995c919867285d897e.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c43d0fe994fc9a0749b084ae427397e.
* 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 5a660551c6289d475b6298f90abc9d149146772e.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c6f127cd17033995c919867285d897e.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c43d0fe994fc9a0749b084ae427397e.
* 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 5a660551c6289d475b6298f90abc9d149146772e.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c6f127cd17033995c919867285d897e.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c43d0fe994fc9a0749b084ae427397e.
* 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 5a660551c6289d475b6298f90abc9d149146772e.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c6f127cd17033995c919867285d897e.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c43d0fe994fc9a0749b084ae427397e.
* 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 5a660551c6289d475b6298f90abc9d149146772e.
* alt text for decorative images
* sev2 accessibilitydefects in data explorer
* Revert "sev2 accessibilitydefects in data explorer"
This reverts commit b84d5b572c6f127cd17033995c919867285d897e.
* Sev2 accessibilitydefects
* Revert "Sev2 accessibilitydefects"
This reverts commit a4e60f106c43d0fe994fc9a0749b084ae427397e.
* 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 5a660551c6289d475b6298f90abc9d149146772e.
* 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 9383609a2205b2c407ceb41fc01009eb0d816998.
* html,css changes corected after reversion
* Revert "html,css changes corected after reversion"
This reverts commit 712e0e0c1e9f46da07b65d34140059c477b3248a.
* 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 ca9833e20860e66b8a46993c23e8b76f76cb645f.
* commit for tooltip in defect 1704149
* Revert "commit for tooltip in defect 1704149"
This reverts commit 44766e82134d3591ff43c5434218f9c703414b6c.
* 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 23a05ef18e7cce21fc1aa3aef1c1cbcca257d303.
* 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
* Update subscription for preview PRs
* Fix command line args
* Replace subid for sub name
* Remove --subscription from az storage commands
* revert other changes
* 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 f7e724001047d5dab3405db0b94442c1e41b7af7.
* Revert "Fix ally database panel open issue (#1120)"
This reverts commit ed1ffb692f270cc4705e7c61c1b4f053de7629c2.
* resolve_eslint_NodePropertiesComponent
* address commit
* Open new screen: Screen reader does not pass the 'Copied' information after selecting 'Copy' button.
* resolve lint error
* Close tab fixes
Ensure that when promoting a new tab to being the 'active' tab
(as a consequence of, say, closing the active tab) that the newly
promoted tab has a chance to install its buttons and what not.
* Set new active tab even if undefined
* Allocation of container only on demand
* git notebook click emits connect to container and refresh notebooks
* git cleanup local repo
* Reconnect rename and memory heartbeat change
* Fix new notebook click event in case of git login
* Mongo proxy test replace with master file
* code refactor
* format check
* compile errors resolved
* address review comments
* rename environment to workspace
* Added content html rendering in Dialog
* format issue
* Added contentHtml in the dialog which renders jsx element
[Preview this branch](https://cosmos-explorer-preview.azurewebsites.net/pull/EDIT_THIS_NUMBER_IN_THE_PR_DESCRIPTION?feature.someFeatureFlagYouMightNeed=true)
[Preview this branch](https://dataexplorer-preview.azurewebsites.net/pull/EDIT_THIS_NUMBER_IN_THE_PR_DESCRIPTION?feature.someFeatureFlagYouMightNeed=true)
- The default webpack dev server configuration will proxy requests to the production portal backend: `https://main.documentdb.ext.azure.com`. This will allow you to use production connection strings on your local machine.
- The default webpack dev server configuration will proxy requests to the production portal backend: `https://cdb-ms-mpac-pbe.cosmos.azure.com`. This will allow you to use production connection strings on your local machine.
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
## Reporting Security Issues
**Please do not report security vulnerabilities through public GitHub issues.**
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
* Full paths of source file(s) related to the manifestation of the issue
* The location of the affected source code (tag/branch/commit or direct URL)
* Any special configuration required to reproduce the issue
* Step-by-step instructions to reproduce the issue
* Proof-of-concept or exploit code (if possible)
* Impact of the issue, including how an attacker might exploit the issue
This information will help us triage your report more quickly.
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
## Preferred Languages
We prefer all communications to be in English.
## Policy
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
This adds a mock module for `canvas`. Nteract has a ignored require and undeclared dependency on this module. `cavnas` is a server side node module and is not used in browser side code for nteract.
Installing it locally (`npm install canvas`) will resolve the problem, but it is a native module so it is flaky depending on the system, node version, processor arch, etc. This module provides a simpler, more robust solution.
Remove this workaround if [this bug](https://github.com/nteract/any-vega/issues/2) ever gets resolved
<li>The default webpack dev server configuration will proxy requests to the production portal backend: <code>https://main.documentdb.ext.azure.com</code>. This will allow you to use production connection strings on your local machine.</li>
<li>The default webpack dev server configuration will proxy requests to the production portal backend: <code>https://cdb-ms-mpac-pbe.cosmos.azure.com</code>. This will allow you to use production connection strings on your local machine.</li>
<pathstyle=" stroke:none;fill-rule:nonzero;fill:url(#radial0);"d="M 24.1875 5.1875 C 23.777344 3.792969 22.496094 2.832031 21.039062 2.832031 L 20.078125 2.832031 C 18.496094 2.832031 17.140625 3.960938 16.855469 5.519531 L 15.175781 14.625 L 15.628906 13.066406 C 16.039062 11.664062 17.320312 10.703125 18.777344 10.703125 L 24.335938 10.703125 L 26.667969 11.613281 L 28.917969 10.703125 L 28.261719 10.703125 C 26.804688 10.703125 25.523438 9.746094 25.113281 8.347656 Z M 24.1875 5.1875 "/>
<pathstyle=" stroke:none;fill-rule:nonzero;fill:url(#radial1);"d="M 10.152344 28.796875 C 10.558594 30.199219 11.839844 31.167969 13.300781 31.167969 L 15.359375 31.167969 C 17.128906 31.167969 18.578125 29.765625 18.636719 27.996094 L 18.941406 19.011719 L 18.371094 20.945312 C 17.960938 22.339844 16.679688 23.296875 15.226562 23.296875 L 9.613281 23.296875 L 7.613281 22.210938 L 5.449219 23.296875 L 6.09375 23.296875 C 7.554688 23.296875 8.839844 24.261719 9.246094 25.664062 Z M 10.152344 28.796875 "/>
<pathstyle=" stroke:none;fill-rule:nonzero;fill:url(#linear0);"d="M 20.898438 2.832031 L 9.535156 2.832031 C 6.289062 2.832031 4.339844 7.121094 3.042969 11.410156 C 1.503906 16.492188 -0.507812 23.289062 5.316406 23.289062 L 10.222656 23.289062 C 11.6875 23.289062 12.972656 22.320312 13.375 20.910156 C 14.230469 17.929688 15.722656 12.722656 16.898438 8.761719 C 17.496094 6.75 17.992188 5.019531 18.753906 3.941406 C 19.183594 3.339844 19.894531 2.832031 20.898438 2.832031 Z M 20.898438 2.832031 "/>
<pathstyle=" stroke:none;fill-rule:nonzero;fill:url(#linear1);"d="M 20.898438 2.832031 L 9.535156 2.832031 C 6.289062 2.832031 4.339844 7.121094 3.042969 11.410156 C 1.503906 16.492188 -0.507812 23.289062 5.316406 23.289062 L 10.222656 23.289062 C 11.6875 23.289062 12.972656 22.320312 13.375 20.910156 C 14.230469 17.929688 15.722656 12.722656 16.898438 8.761719 C 17.496094 6.75 17.992188 5.019531 18.753906 3.941406 C 19.183594 3.339844 19.894531 2.832031 20.898438 2.832031 Z M 20.898438 2.832031 "/>
<pathstyle=" stroke:none;fill-rule:nonzero;fill:url(#radial2);"d="M 13.101562 31.167969 L 24.464844 31.167969 C 27.710938 31.167969 29.660156 26.878906 30.957031 22.589844 C 32.496094 17.507812 34.507812 10.710938 28.6875 10.710938 L 23.78125 10.710938 C 22.3125 10.710938 21.027344 11.679688 20.625 13.089844 C 19.769531 16.074219 18.277344 21.277344 17.101562 25.238281 C 16.503906 27.253906 16.007812 28.980469 15.246094 30.058594 C 14.816406 30.660156 14.105469 31.167969 13.101562 31.167969 Z M 13.101562 31.167969 "/>
<pathstyle=" stroke:none;fill-rule:nonzero;fill:url(#linear2);"d="M 13.101562 31.167969 L 24.464844 31.167969 C 27.710938 31.167969 29.660156 26.878906 30.957031 22.589844 C 32.496094 17.507812 34.507812 10.710938 28.6875 10.710938 L 23.78125 10.710938 C 22.3125 10.710938 21.027344 11.679688 20.625 13.089844 C 19.769531 16.074219 18.277344 21.277344 17.101562 25.238281 C 16.503906 27.253906 16.007812 28.980469 15.246094 30.058594 C 14.816406 30.660156 14.105469 31.167969 13.101562 31.167969 Z M 13.101562 31.167969 "/>
uuid:require.resolve("uuid"),// Force module uuid to resolve with the CJS entry point, because Jest does not support package.json.exports. See https://github.com/uuidjs/uuid/issues/451
},
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.