Commit Graph

1330 Commits

Author SHA1 Message Date
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
Ashley Stanton-Nurse
f533eeb0fc
add support for react dev tools in the cosmos explorer (#1788) 2024-04-04 09:16:23 -07:00
sunghyunkang1111
3c5d899e47
add the new message to the bottom to avoid contract breaking (#1786) 2024-04-02 17:54:53 -05:00
Ashley Stanton-Nurse
b44778b00a
fix #3061738 by unclobbering some Monaco styles we clobber (#1784) 2024-04-02 10:51:19 -07:00
sunghyunkang1111
1464745659
Add activate/close tab contracts and add to queryTab (#1783) 2024-04-02 11:49:33 -05:00
Asier Isayas
18cc2a4195
Activate Mongo and Cassandra Proxies in MPAC (#1776)
* 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>
2024-04-02 09:34:58 -07:00
sindhuba
86f2bc171f
Remove notebooks UI (#1779)
* Fix API endpoint for CassandraProxy query API

* Remove notebooks UI components

* Fix tests

* Address comments

* Fix unit tests

* Remove commented code
2024-04-01 08:44:42 -07:00
jawelton74
cabedf4a29
Enable new backend endpoint to be passed to Data Explorer via message. (#1782) 2024-04-01 07:54:04 -07:00
sunghyunkang1111
5aa6b0abe1
fix opening collections (#1780)
* fix opening collections

* fix opening collections

* fix opening collections

* fix opening collections
2024-03-28 12:10:32 -05:00
Laurent Nguyen
a4b07aed7a Remove debugging info and reformat 2024-03-28 16:47:27 +01:00
Vsevolod Kukol
f24b0bcf1b
Show the Feedback button in Portal only (#1775)
This feature is not supported on any other platform incl. Hosted.
2024-03-28 16:05:38 +01:00
Laurent Nguyen
37940fb297 Add some TODO's 2024-03-28 11:45:26 +01:00
Laurent Nguyen
98c4d31717 Fix UX issue with not discarding edit changes 2024-03-28 11:43:04 +01:00
Laurent Nguyen
8d099b9c1b Fix UX with buttons behavior and editor display 2024-03-28 10:43:12 +01:00
Laurent Nguyen
5f92a62e4f Fix selection behavior 2024-03-28 08:11:59 +01:00
Laurent Nguyen
c4b659cdf7 Fix show/hide delete button 2024-03-27 18:51:22 +01:00
Laurent Nguyen
91633ee85c Fix multi delete 2024-03-27 18:42:38 +01:00
Laurent Nguyen
2f85c4f84a Implement delete multiple docs 2024-03-27 18:23:17 +01:00
Laurent Nguyen
b686501df8 Update column header placeholder style 2024-03-27 14:27:40 +01:00
Laurent Nguyen
eef9a7c1a2 Add refresh button 2024-03-27 11:56:16 +01:00
Laurent Nguyen
55ee3854aa Fix compil issues 2024-03-27 10:52:31 +01:00
Laurent Nguyen
fb6be32166 Fix unexpand filter and reformat 2024-03-27 10:42:27 +01:00
Laurent Nguyen
72ec5e891e Remove debug display 2024-03-27 10:38:16 +01:00
Laurent Nguyen
c442a5a20d Fix save new document. Implement delete. 2024-03-27 10:20:00 +01:00