* 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 1b8138ade0.
* Attempt 2 at troubleshooting failing test
* Revert "Attempt 2 at troubleshooting failing test"
This reverts commit 3e51a593bf.
* 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>
* 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>
* 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
* 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
* 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