Srinath Narayanan
dce52f848c
Fixes for selfserve ( #796 )
...
* fixes
* more edits
* fixed test errors
2021-05-19 09:32:29 +05:30
Hardikkumar Nai
6e9144b068
Remove generic right pane component ( #790 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-18 21:57:31 -05:00
Hardikkumar Nai
030a4dec3c
Migrate Cassandra Add Container to React ( #723 )
2021-05-18 21:30:11 -05:00
Zachary Foster
2bc298fef1
[Hosted] AAD implementation for item operations ( #643 )
2021-05-18 17:59:09 -05:00
fnbalaji
48eeb8419d
Portal changes for DedicatedGateway ( #742 )
...
* src/SelfServe/Example/SelfServeExample.rp.ts.
Portal changes for DedicatedGateway
1. Change Sqlx endpoints to SqlDedicatedGateway endpoint
2. Remove D32s from the SKU list
3. Add telemetry
4. Remove SKU details field per discussion
5. Support dynamic instance scaling.
* format files to ensure format check and lint tests pass
* Lint fixes
* Lint fixes
* Added metrics blade link
* updated conditions for warning banner
* fixed lint error
* Incorporate metrics link and CR feedback
* Lint fixes
* CR feedback and fix links
* CR feedback and fix links
* Link fix
Co-authored-by: Srinath Narayanan <srnara@microsoft.com>
2021-05-17 22:15:26 -07:00
Srinath Narayanan
62e205be6a
Added documentation for Self Serve Model ( #716 )
...
* initial commit for docs
* Added readme
* modified selfServeutil docs
* updated docs
* moved documentation to docs folder
* Updated ReadME for selfserve
* added more comments
* Added more function types
* Update index.html
* Update index.html
* minro edits
* minor edits
* package.json updated
* Added Module decorators
* Added modules
* initial commit for mongo shell refactor
* undid changes
* addressed PR comments
* docs changes
* addressed PR comments
* More changes
* Added selfserveexample types file
* minor edits
* minor edits
* Addressed PR comments
* format changes
* added Metrics blade link
* documentation changes
* updated docs
* Addressed PR comments
* fixed format error
2021-05-18 04:40:15 +05:30
Zachary Foster
a06e213b81
Upgrades to msal-browser ( #781 )
...
* Replaces msal with msal-browser
* Remove unused id, logging in returns the tenant
* format
* Fix tenant switch
* Removes v1 forceRefresh
2021-05-17 14:10:54 -04:00
Laurent Nguyen
4f3b2f7996
Add 'import 'jquery-typeahead' to fix InputTypeahead in GraphExplorer ( #793 )
2021-05-17 10:57:12 -05:00
Steve Faulkner
5d1b659e2f
Revert "Migrate Collapse/Open Resource Tree to React ( #733 )" ( #792 )
...
This reverts commit d7c62ac7f1
.
2021-05-17 10:40:23 -05:00
Hardikkumar Nai
a52a156005
Remove Old Add Database Pane Code ( #784 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-14 12:05:00 -05:00
Steve Faulkner
f9e8b5eaaa
Remove Unused Knockout Components ( #783 )
2021-05-13 18:03:29 -05:00
vaidankarswapnil
a6b82c8340
Migrate graph style panel to react ( #619 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-13 15:45:00 -05:00
Tanuj Mittal
404b1fc0f1
Prep Schema Analyzer for flighting ( #760 )
...
* Prepare for flighting Schema Analyzer
* Rename SchemaAnalyzerComponent -> SchemaAnalyzer
* Only show Schema option if notebooks enabled
2021-05-13 10:34:09 -07:00
Sunil Kumar Yadav
d7c62ac7f1
Migrate Collapse/Open Resource Tree to React ( #733 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-12 20:03:52 -05:00
Sunil Kumar Yadav
8e6d274b11
Add Files to TypeScript Strict ( #776 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-12 19:56:48 -05:00
Sunil Kumar Yadav
2d506f0312
Add Files to TypeScript Strict Mode ( #777 )
2021-05-12 19:23:10 -05:00
victor-meng
d76aaca0dd
Improve lazy load database/collection offer logic ( #768 )
2021-05-12 19:13:15 -05:00
victor-meng
14e58e5519
Batch of small fixes for RightPaneForm and AddDatabasePane components ( #780 )
2021-05-12 19:12:03 -05:00
victor-meng
2f6dbd83f3
Fix throughput input component and add database panel ( #773 )
2021-05-12 13:56:24 -05:00
Steve Faulkner
66281447df
Pass undefined analyticalTTL if Synapse is disabled ( #778 )
2021-05-12 11:49:25 -05:00
victor-meng
c5f76ac2a9
Fix isFixedCollectionWithSharedThroughputSupported flag ( #774 )
2021-05-12 09:16:13 -05:00
Laurent Nguyen
861042c27e
Fix bug publish screenshot ( #762 )
...
[Preview this branch](https://cosmos-explorer-preview.azurewebsites.net/pull/762?feature.someFeatureFlagYouMightNeed=true )
The main change in this PR fixes the snapshot functionality in the Publish pane-related components. Because the code cell outputs are now rendered in their own iframes for security reasons, a single snapshot of the notebook is no longer possible: each cell output takes its own snapshot and the snapshots are collated on the main notebook snapshot.
- Move the snapshot functionality to notebook components: this removes the reference of the notebook DOM node that we must pass to the Publish pane via explorer.
- Add slice in the state and actions in notebook redux for notebook snapshot requests and result
- Add post robot message to take snapshots and receive results
- Add logic in `NotebookRenderer` to wait for all output snapshots done before taking the main one collating.
- Use `zustand` to share snapshot between Redux world and React world. This solves the issue of keeping the `PanelContainer` component generic, while being able to update its children (`PublishPanel` component) with the new snapshot.
Additional changes:
- Add `local()` in `@font-face` to check if font is already installed before downloading the font (must be done for Safari, but not Edge/Chrome)
- Add "Export output to image" menu item in notebook cell, since each cell output can take its own snapshot (which can be downloaded)
![image](https://user-images.githubusercontent.com/21954022/117454706-b5f16600-af46-11eb-8535-6bf99f3d9170.png )
2021-05-11 18:24:05 +00:00
victor-meng
4ed8fe9e7d
Remove old add collection pane ( #767 )
2021-05-10 20:10:48 -05:00
Srinath Narayanan
4c506da7b9
Added metrics blade link and fixed SelfServe bugs ( #764 )
...
* Added metrics blade link
* fixed lint error
2021-05-10 17:36:50 -07:00
Hardikkumar Nai
a81b1a40a3
Use @fluentui/react DocumentCard ( #715 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-10 14:17:37 -05:00
Hardikkumar Nai
9d5c9d6296
Migrate Add Database Panel to React ( #597 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-10 14:02:14 -05:00
Steve Faulkner
7efa8ca58f
Remove unused Switch Directory Pane ( #766 )
2021-05-09 22:37:18 -05:00
Hardikkumar Nai
487fbf2072
Remove genericRightPaneComponent and create RightPaneWrapper with form ( #679 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-09 19:22:44 -05:00
Sunil Kumar Yadav
aa308b3e4d
Enable TypeScript noImplicitThis
( #761 )
2021-05-07 10:25:19 -05:00
victor-meng
d62baf327b
Change create wildcard index default value to false for mongo 3.2 ( #759 )
...
* Change create wildcard index default value to false for mongo 3.2
* Update snapshots
2021-05-06 21:27:47 -05:00
Jordi Bunster
78eafe1aec
Remove NotebookViewerTab ( #749 )
...
[Preview this branch](https://cosmos-explorer-preview.azurewebsites.net/pull/749 )
2021-05-07 00:20:25 +00:00
Sunil Kumar Yadav
a91ea6c1e4
Remove old Add/Edit Table Entity code ( #755 )
2021-05-06 18:51:45 -05:00
victor-meng
5606ef3266
Fix table edit entity bug and add collection panel bug for connection string users ( #757 )
...
* Fix table edit entity bug and add collection panel bug for connection string users
* Remove parseInt for int64
2021-05-06 18:51:22 -05:00
Hardikkumar Nai
23223cfb23
Upgrade Fluent UI v8 ( #688 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-05 18:26:03 -05:00
Steve Faulkner
bd47e5ed49
Remove unused Explorer methods ( #750 )
2021-05-05 17:35:35 -05:00
Hardikkumar Nai
8c05ac740c
Remove Explorer.databaseAccount ( #717 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-05 16:54:50 -05:00
Hardikkumar Nai
fdd12b41c4
Remove Explorer.defaultExperience ( #680 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-05 13:00:01 -05:00
Tanuj Mittal
d1d28885d0
Use CellOutputViewer for SchemaAnalyzer ( #747 )
2021-05-05 11:12:27 +05:30
Tanuj Mittal
181b53c858
Disable HTML in markdown cell for NotebookReadOnlyRenderer ( #746 )
...
[Preview this branch](https://cosmos-explorer-preview.azurewebsites.net/pull/746 )
We have a custom implementation of `Markdown` cell that we use in `NotebookRenderer`. This custom implementation disables HTML rendering in markdown cells. This change uses the same for `NotebookReadOnlyRenderer` which we use for Gallery.
2021-05-04 21:43:39 +00:00
Srinath Narayanan
1fdb339fbf
Enable the "Enable notebooks" button ( #734 )
...
* enable notebooks initial commit
* use only first write location
* addressed PR comments
* Minor edits
2021-05-04 13:06:27 -07:00
vaidankarswapnil
038f3ee684
Move GitHub repos panel to react ( #638 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-03 19:56:47 -05:00
victor-meng
4efacace16
add collection panel improvements ( #630 )
...
Co-authored-by: Jordi Bunster <jbunster@microsoft.com>
2021-04-30 10:23:34 -07:00
victor-meng
9878bf0d5e
Fix table entity boolean and number type property values ( #737 )
2021-04-29 19:23:21 -05:00
Jordi Bunster
5e0523c7d9
Remove GraphExplorerAdapter ( #736 )
2021-04-29 16:46:31 -05:00
Jordi Bunster
9d0bc86197
Remove 'explorer' from a few Panes ( #650 )
...
While working on #549 I realized there were a few places where 'explorer' was only needed to expand the notifications console, so I stripped those out where it was easy.
2021-04-29 10:20:57 -07:00
Sunil Kumar Yadav
531df811da
Remove userContext.defaultExperience ( #730 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-28 14:25:04 -05:00
Steve Faulkner
5a019eb431
Remove Explorer.isPreferredAPIMongo ( #557 )
...
Co-authored-by: hardiknai-techm <HN00734461@TechMahindra.com>
2021-04-27 20:50:01 -05:00
Hardikkumar Nai
8f3cb7282b
Migrate Publish Notebook Pane to React ( #641 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-27 19:40:03 -05:00
Jordi Bunster
154db1dcd5
Get our previously strict files a bit tighter ( #604 )
...
Now they meet noUnusedParameters
2021-04-27 15:27:17 -07:00
Tanuj Mittal
e8b79d6260
Use postRobot to listen for GitHub OAuth messages ( #729 )
2021-04-27 22:22:52 +05:30
Jordi Bunster
10c4dd0f19
This is creating a warning in tests ( #731 )
2021-04-27 09:05:25 -07:00
Jordi Bunster
5cf16d01b5
use ES6 Map if we can ( #602 )
2021-04-27 08:14:21 -07:00
Jordi Bunster
127784abdd
Bypass Knockout and adapters in GalleryTab ( #728 )
2021-04-27 08:14:07 -07:00
Jordi Bunster
c7b9ff6794
Lazy loaded Monaco ( #720 )
...
Lazy loaded Monaco
2021-04-25 21:31:10 -07:00
Hardikkumar Nai
71e7ad4547
Migrate String Input Pane to React ( #678 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-25 20:22:46 -05:00
Sunil Kumar Yadav
67062c18aa
Migration/edit table entity panel to react ( #690 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-25 17:51:27 -05:00
Jordi Bunster
045a28b7a4
Remove 'any' from existing lazy loaded tabs ( #721 )
...
* Typesafe lazy loaded GalleryTab
* Typesafe lazy loaded NotebookViewerTab
* Typesafe lazy loaded NotebookManager
2021-04-23 19:54:21 -07:00
Jordi Bunster
b7c911d19a
Remove Tabs from ComponentRegisterer ( #713 )
...
Now that Tabs are being rendered via Tabs.tsx the knockout component names are not needed either.
2021-04-23 19:53:48 -07:00
Jordi Bunster
5323f6ca4b
Lazy load SchemaAnalyzerTab ( #722 )
2021-04-23 19:52:18 -07:00
Tanuj Mittal
5ecc3d67b0
Add support for Schema Analyzer ( #411 )
...
* New MongoSchemaTab
* Address feedback and updates
* Build fixes
* Rename to SchemaAnalyzer
* Format
Co-authored-by: Laurent Nguyen <laurent.nguyen@microsoft.com>
2021-04-22 21:45:21 -04:00
Tanuj Mittal
448566146f
Add CellOutputViewer for SandboxOutputs ( #686 )
...
* Initial commit
* Optimizations
* Optimize notebookOutputViewer bundle size by lazy loading transforms
* Update package-lock.json
* More optimizations
* Updates
* Fix unit test and other updates
* Address feedback
* Update package-lock.json
* Update test snapshots
* Fix build
* Reduce cellOutputViewer bundle size
* Renaming
2021-04-22 13:37:12 -04:00
vaidankarswapnil
c6766dd69e
Migrate new graph vertex panel to react ( #702 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-22 09:47:59 -05:00
Hardikkumar Nai
9d411c57b0
Remove Explorer.isPreferredApiTable ( #656 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-21 16:41:08 -05:00
Hardikkumar Nai
ff58eb3724
Migrate Copy Notebook Pane to React ( #640 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-21 14:09:19 -05:00
Jordi Bunster
e49bcc524f
Remove deprecated calls to logConsoleMessage ( #608 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-21 13:52:01 -05:00
Hardikkumar Nai
cdd6d32990
Rename index.tsx to {class name}.tsx ( #689 )
...
* Rename index.tsx to {class name}.tsx
* Update tests
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-21 13:35:32 -05:00
Sunil Kumar Yadav
72ce5fc813
Migrate Add Table Entity Pane to React ( #642 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-21 11:33:29 -05:00
victor-meng
a07aff1e8c
resetData should not set isAutoPilotSelected flag ( #708 )
2021-04-21 10:11:33 -05:00
vaidankarswapnil
d58fececac
Move setup notebooks panel to react ( #673 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-20 21:51:03 -05:00
Tanuj Mittal
914e969083
Add a feature flag to override Juno endpoint ( #700 )
...
* Add a feature flag to override Juno endpoint
* Fix build
2021-04-20 06:08:53 +05:30
Jordi Bunster
f2585bba14
TabsManager in react ( #500 )
2021-04-19 13:11:48 -07:00
Jordi Bunster
19cf203606
Misc fixes from #500 ( #701 )
...
* Ensure TabsBase.tabPath is always observable
* In tests, Date.getTime() is not different enough
* Add class name only in the Tab that needs it
2021-04-19 12:58:53 -07:00
Steve Faulkner
7265708c15
Fix Mongo Parition Keys for Connection String mode ( #692 )
2021-04-18 23:21:10 -05:00
Steve Faulkner
a53c203286
Parse Custom sproc parameters ( #693 )
...
* Parse Custom sproc parameters
* Fix PK value parsing too
2021-04-18 23:20:58 -05:00
Jordi Bunster
e0060b12e5
Keep active tab state in one place (manager) ( #683 )
...
With this change TabsBase objects will retain a reference to the TabsManager they belong to, so they can ask it if they're the active tab or not.
This removes the possibility for bugs like activating an unmanaged tab, or having more than one active tab, etc.
2021-04-18 17:48:39 -07:00
Hardikkumar Nai
d74da34742
Remove explorer.is preferred api graph ( #655 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-04-17 16:24:17 -05:00
Hardikkumar Nai
02ea26da71
Remove Explorer.isPreferredCassandraAPI ( #654 )
...
Co-authored-by: Steve Faulkner <471400+southpolesteve@users.noreply.github.com>
2021-04-17 15:54:47 -05:00
Steve Faulkner
a264ea2275
Adds retry logic to Upload JSON ( #684 )
2021-04-16 13:23:03 -05:00
Steve Faulkner
649b6a93b4
Fix Stored Procedures for Non-Partitioned Collections ( #685 )
2021-04-15 22:22:40 -05:00
victor-meng
2bccb7885f
Hide TTL in settings tab for Mongo API ( #677 )
...
* Hide ttl for mongo
* Fix typo
* Refine info message
2021-04-15 18:51:59 -05:00
Steve Faulkner
3f8e394952
Fix Upload Items ( #682 )
...
* Fix Upload Items
* Remove debugger
* Switch to bulk APIs
* Address TODO
Co-authored-by: Jordi Bunster <jbunster@microsoft.com>
2021-04-15 18:25:43 -05:00
Tanuj Mittal
f94f95e788
Hide favorite button from Standalone gallery ( #675 )
2021-04-15 05:27:04 +05:30
Tanuj Mittal
6dba2e4792
Fix height for SandboxFrame ( #676 )
2021-04-15 05:26:53 +05:30
Laurent Nguyen
5d4b193865
Fix Markdown Source style to show editor ( #674 )
2021-04-14 23:51:11 +05:30
Tanuj Mittal
68789c5069
Tighten notebook code cell output sandbox and enable it by default ( #664 )
...
* Tighten notebook code cell output sandbox
* Enable sandboxnotebookoutputs by default
* Address feedback
2021-04-14 23:36:44 +05:30
Hardikkumar Nai
1685b34e2a
Remove Explorer.isPreferredDocumentDB ( #653 )
2021-04-13 20:53:14 -05:00
Hardikkumar Nai
56f430ebd8
Migrate Delete Collection Panel to React ( #628 )
2021-04-13 19:56:58 -05:00
Steve Faulkner
e8033f0bbc
Alpha sort subscriptions and accounts in dropdown ( #663 )
2021-04-13 18:53:59 -05:00
Steve Faulkner
d96cecdfe8
Expose Settings in Hosted Mode ( #660 )
2021-04-13 18:13:24 -05:00
Steve Faulkner
d90a065e63
Fix feature flags in Portal ( #659 )
2021-04-13 15:43:05 -05:00
Jordi Bunster
f449328f26
Remove unused tab finder methods from Explorer ( #549 )
2021-04-13 12:42:00 -05:00
Laurent Nguyen
41800f9ee5
Fix Markdown HTML issue ( #658 )
...
This change enables notebooks to escape HTML (which is a vector for malicious attacks).
We import `MarkdownCell` from the `@nteract/stateful-components` sources so that we can point it to the version of `@nteract/markdown` which contains [this fix](e19c7cc590
).
This is a temporary workaround from upgrading to `@nteract/stateful-components` to `7.0.0` which causes build and runtime issues see #599 ).
2021-04-13 17:07:33 +00:00
Steve Faulkner
7bdc31aa67
Fix for Mongo shard key loaded via ARM ( #657 )
2021-04-13 12:03:25 -05:00
Jordi Bunster
1e6ad113dd
Add rel='noreferrer' ( #651 )
2021-04-12 17:24:11 -07:00
Hardikkumar Nai
05932e1d38
Resolve Lint errors in NotificationConsoleComponent.ts ( #527 )
2021-04-12 18:06:30 -05:00
Hardikkumar Nai
02e6d8442b
Add GraphUtil to Eslint ( #626 )
2021-04-12 18:04:52 -05:00
Sunil Kumar Yadav
8cf09acc19
Migration/table query select pane to react ( #615 )
2021-04-12 17:53:56 -05:00
Jordi Bunster
5cd4e93c65
Fix preview URL branch display, include link in new PRs ( #644 )
...
* Make it easy to include preview links
* Fix display of currently previewed branch
2021-04-12 15:07:37 -07:00
Jordi Bunster
88f5e7485a
Pull request preview URLs ( #625 )
...
* Dynamic link to HEAD of a given PR
* Display pr name and link in notification console
* Pass along query string to Explorer
This means you can write a URL like:
https://cosmos-explorer-preview.azurewebsites.net/pull/123?feature.enableFoo=true
and when Explorer loads it'll have enableFoo set to true in the features
object.
2021-04-12 15:10:31 -05:00
Steve Faulkner
662c03580a
Call readCollections for Mongo using ARM ( #636 )
2021-04-12 11:28:52 -05:00