Commit Graph

1303 Commits

Author SHA1 Message Date
Laurent Nguyen 0ca7120b2f Clean up dependencies and memoize internal functions and object. Move methods and object that don't depend on state outside of component. 2024-04-26 17:50:50 +02:00
Laurent Nguyen 19d3deb199 Connect cancel query button 2024-04-23 15:30:01 +02:00
Laurent Nguyen 27ad311675 Disable eslint issue from fluent library 2024-04-23 15:25:25 +02:00
Laurent Nguyen 2cc771315d Add keyboard support to select table row 2024-04-23 15:14:33 +02:00
Laurent Nguyen a0ade247e9 Add keyboard handlers to load more and refresh button 2024-04-23 14:34:33 +02:00
Laurent Nguyen d273f7ac6e Add keyboard shortcuts 2024-04-23 14:00:15 +02:00
Laurent Nguyen 11f4b4d959 Fix columns min width 2024-04-23 13:44:12 +02:00
Laurent Nguyen 13462646f6 Don't show Load More if nothing to show 2024-04-23 13:35:41 +02:00
Laurent Nguyen b2c05fa784 Fix load more text centering 2024-04-23 13:31:38 +02:00
Laurent Nguyen a4f284dc17 Move refresh documents button from table back to DocumentsTabV2 2024-04-23 12:14:40 +02:00
Laurent Nguyen 786ba0d2ab Increase table width. Fix eslint issue. 2024-04-23 11:13:46 +02:00
Laurent Nguyen 49a9f4d596 Fix table coming off its container with unwanted horizontal scrollbar 2024-04-23 11:04:35 +02:00
Laurent Nguyen 86926f2d7b Add title to table 2024-04-23 09:08:06 +02:00
Laurent Nguyen ff5da7bbd0 Fix format 2024-04-22 17:48:25 +02:00
Laurent Nguyen 804621d275 minor update 2024-04-22 16:36:24 +02:00
Laurent Nguyen fd040fa29c Merge branch 'master' into users/languye/improve-filter-view 2024-04-22 16:36:03 +02:00
Laurent Nguyen 25f63095a3 Fix loadStartKey 2024-04-22 16:23:38 +02:00
Laurent Nguyen 8140f15098 Destructure props to make useEffect dependencies work 2024-04-22 16:17:27 +02:00
jawelton74 c12eced120 Update node-fetch, react-dev-utils and azure/identity dependencies. (#1809) 2024-04-22 07:10:16 -07:00
Laurent Nguyen 746b8c908c Call tab when updating error flag 2024-04-22 15:31:02 +02:00
Laurent Nguyen 8299ca5f9d Fix unused code 2024-04-22 15:22:44 +02:00
Laurent Nguyen 60a3a5ffcf Fix isQueryCopilotSampleContainer flag 2024-04-22 15:06:27 +02:00
Laurent Nguyen 1097e66faa Fix format 2024-04-22 14:45:14 +02:00
Laurent Nguyen cf8533dea6 Fix resourceTokenPartitionKey code 2024-04-22 14:43:57 +02:00
Laurent Nguyen 0de2d6d899 Auto-select last document when saving new document 2024-04-22 14:21:52 +02:00
Laurent Nguyen 5445164d6f Fix double fetch issue when clicking on an item 2024-04-22 13:54:16 +02:00
Laurent Nguyen 869e293a52 Fix comment 2024-04-22 13:44:31 +02:00
Laurent Nguyen 570a67c746 Fix bugs with clicking on newly created documents 2024-04-22 13:43:28 +02:00
Laurent Nguyen 6b3df52185 Fix mongo save new document/update document 2024-04-22 10:57:26 +02:00
Laurent Nguyen 45a64df0a2 Restore broken nosql 2024-04-22 09:17:27 +02:00
jawelton74 2b15a4d43d Update package.json (#1807) 2024-04-19 15:03:11 -07:00
Ashley Stanton-Nurse c220a8b070 [Task 3071878] Tab Navigation Keyboard Shortcuts (#1808)
* [Task 3071878] Tab Navigation Keyboard Shortcuts

* throw in development on duplicate handlers

* refmt
2024-04-19 13:44:30 -07:00
Ashley Stanton-Nurse a5a5a95973 [Task 3061766] Additional Keyboard Shortcuts (#1805)
* [Task 3061766] Additional Keyboard Shortcuts

refmt and fix lints

shortcuts for: discard, new item/sproc/udf/trigger, delete
item/sproc/udf/trigger

copilot shortcut

* remove 'Ctrl+I' due to conflict with Monaco Autocomplete
2024-04-19 09:43:27 -07:00
Laurent Nguyen ffc5bb6e39 Fix table header. Remove debug statement 2024-04-19 12:36:15 +02:00
Asier Isayas e3fab9b5bf Add 'mongoshell' to Legacy Mongo Shell path (#1806)
* 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>
2024-04-18 15:39:13 -04:00
Laurent Nguyen 73d38439ff Fix build issues 2024-04-18 16:49:34 +02:00
Laurent Nguyen 8e7fbe65fa Add mongo support 2024-04-18 12:00:36 +02:00
Asier Isayas 98000a27f0 Legacy Mongo Shell Mongo Proxy support (#1802)
* 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>
2024-04-17 19:01:12 -04:00
Ashley Stanton-Nurse af664326ea Fix issues with the command bar when switching through React and Trigger tabs (#1804)
* 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
2024-04-17 15:57:29 -07:00
Ashley Stanton-Nurse a44ed1f45c [Task 3061766] Global Keyboard Shortcuts, implemented through the Command Bar (#1789)
* 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>
2024-04-17 11:19:09 -07:00
JustinKol e0cb3da6aa Is executing is false (#1801) 2024-04-16 18:47:43 -04:00
JustinKol 6c9673975a Added hyphen to prohibited characters in keyspace name title (#1800) 2024-04-16 09:24:14 -04:00
JustinKol d35e2a325e Cassandra API create table error messages swallowed by the Portal and shown as "undefined". (#1790)
* changed error message variable

* changed other error messages

* Added check in case responseJSON is missing

* created error const
2024-04-15 15:47:58 -04:00
Laurent Nguyen de40c28c1f Merge branch 'master' into users/languye/improve-filter-view 2024-04-15 16:42:48 +02:00
sunghyunkang1111 00a816c488 set the value in the editor for results (#1799) 2024-04-13 15:19:56 -05:00
jawelton74 953bef404b Set backend endpoints in testExplorer to use MPAC. (#1797) 2024-04-11 15:43:46 -07:00
Asier Isayas dfcb771939 Activate Mongo Proxy and Cassandra Proxy in Prod (#1794)
* activate Mongo Proxy and Cassandra Proxy in Prod

* fix bug that blocked local mongo proxy and cassandra proxy development

* fix pr check tests

---------

Co-authored-by: Asier Isayas <aisayas@microsoft.com>
2024-04-09 13:45:36 -07:00
jawelton74 6925fa8e4e Replace Entra app client secret auth with OpenID Connect in E2E tests. (#1792)
* 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.
2024-04-09 10:55:08 -07:00
jawelton74 7f6338b68b Change copilot settings call to use new backend endpoint. (#1781)
* Change copilot settings call to use new backend endpoint.

* Refactor EndpointUtils function for new backend enablement.
2024-04-04 10:18:50 -07:00
Ashley Stanton-Nurse db50f42832 [Task #3061771] Correct render order issues on undo (#1785)
* 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
2024-04-04 09:17:09 -07:00