kcheekuri
7e4f030547
Hidding container connection status behind the feature flag and initi… ( #1019 )
...
* Hidding container connection status behind the feature flag and initializing scratch issue
* maintaining connecting status UX part at notebooks context
* Changing scratch name to temporary and showing only after connected
2021-09-09 14:02:00 -04:00
kcheekuri
95c9b7ee31
Users/kcheekuri/aciconatinerpooling ( #1008 )
...
* initial changes for CP
* Added container unprovisioning
* Added postgreSQL terminal
* changed postgres terminal -> shell
* Initialize Container Request payload change
* added postgres button
* Added notebookServerInfo
* Feature flag enabling and integration with phoenix
* Remove postgre implementations
* fix issues
* fix format issues
* fix format issues-1
* fix format issues-2
* fix format issues-3
* fix format issues-4
* fix format issues-5
* connection status component
* connection status component-1
* connection status component-2
* connection status component-3
* address issues
* removal of ms
* removal of ms
* removal of ms-1
* removal of time after connected
* removal of time after connected
* removing unnecessary code
Co-authored-by: Srinath Narayanan <srnara@microsoft.com>
Co-authored-by: Bala Lakshmi Narayanasami <balalakshmin@microsoft.com>
2021-09-03 23:04:26 -07:00
Hardikkumar Nai
678ca51c77
Update to Webpack 5 ( #964 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-08-16 15:44:40 -05:00
Tanuj Mittal
f8ac36962b
Add Security Warning Bar for untrusted notebooks ( #970 )
...
* Add Security Warning Bar for untrusted notebooks
* Update
* Another update
* Add a snapshot test
* UX updates
* More updates
* Add tests
* Update test snapshot
* Update string
* Update security message
2021-08-10 23:54:26 +05:30
victor-meng
56699ccb1b
Fix new resource tree ( #962 )
2021-07-30 16:23:36 -07:00
victor-meng
042f980b89
Replace window.confirm and window.alert with modal dialog ( #965 )
2021-07-30 10:27:27 -07:00
victor-meng
a8bc821dec
Add initializeGitHubRepos function in useNotebooks store ( #957 )
2021-07-23 18:44:24 -07:00
victor-meng
401660ae15
Fix connect to github ( #951 )
2021-07-21 17:47:55 -07:00
victor-meng
6d46e48490
Migrate resource tree to react ( #941 )
2021-07-20 11:40:04 -07:00
victor-meng
afacde4041
Fix AddTableEntityPanel ( #945 )
...
* Fix AddTableEntityPanel
* Add CSS
* Fix snapshot
2021-07-19 22:00:33 -07:00
vaidankarswapnil
b115bb34ca
Fix GitHub repos panel issues ( #875 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
Co-authored-by: Tanuj Mittal <tamitta@microsoft.com>
2021-07-15 09:44:25 -05:00
Sunil Kumar Yadav
397231dca2
Fixed typescript strict issue of Statusbar, hostedUtils, StringUtils etc ( #785 )
2021-07-15 09:35:51 -05:00
Tanuj Mittal
c665c4bb7a
Fix notebooks not rendering ( #936 )
2021-07-14 16:55:03 -05:00
Hardikkumar Nai
cfce78242c
Remove Explorer.openBrowseQueriesPane ( #889 )
2021-07-12 09:40:43 -05:00
Hardikkumar Nai
e8d320e505
Resolve more ESLint ( #922 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-07-12 00:12:38 -05:00
victor-meng
f8ab0a82e0
Move tabs manager to zustand ( #915 )
2021-07-08 21:32:22 -07:00
victor-meng
db34024259
Move notebook flags to zustand ( #912 )
2021-07-06 15:21:23 -05:00
Laurent Nguyen
6b35ab03f2
Switch notebook editor from Monaco back to Code Mirror ( #901 )
2021-06-23 14:05:52 -05:00
Steve Faulkner
fc9f4c5583
Migrate notebooks workspaces to generated clients ( #876 )
2021-06-09 15:08:10 -05:00
Steve Faulkner
481ff9e7fe
Migrate SidePanel state to Zustand ( #799 )
...
Co-authored-by: hardiknai-techm <HN00734461@TechMahindra.com>
2021-05-27 16:07:07 -05:00
Steve Faulkner
e7e15c54b3
Cleanup Synapse+Spark Logic ( #813 )
2021-05-25 14:46:52 -05:00
Sunil Kumar Yadav
35f8fa8324
Add files to TS Strict ( #803 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-21 19:28:08 -05:00
Sunil Kumar Yadav
d06e27a037
fixed typescript strict of accordianComponent.tsx and schemaAnalyser ( #804 )
2021-05-19 20:11:25 -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
2d506f0312
Add Files to TypeScript Strict Mode ( #777 )
2021-05-12 19:23:10 -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
Hardikkumar Nai
23223cfb23
Upgrade Fluent UI v8 ( #688 )
...
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2021-05-05 18:26:03 -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
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
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
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
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
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
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
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
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
Tanuj Mittal
14fd9054dd
Sandbox all outputs in iFrame ( #624 )
2021-04-12 08:59:18 -07:00
Hardikkumar Nai
d8fe4ed77f
Fix lint file system util ( #481 )
...
Co-authored-by: Steve Faulkner <471400+southpolesteve@users.noreply.github.com>
2021-03-31 22:28:16 -05:00
Tanuj Mittal
316fe7e8bb
Reset cell status after execution is canceled ( #564 )
2021-03-19 22:55:54 +05:30
Sunil Kumar Yadav
641dae30a1
fix-eslint-NTeractUtil.ts ( #493 )
2021-03-09 10:17:02 -06:00
Sunil Kumar Yadav
d85b6285ac
fixed lint issue of StringUtils file ( #480 )
...
* fixed lint issue of StringUtils file
* Fixed null lint issue
2021-03-08 17:20:11 -06:00
Steve Faulkner
10664162c7
Refactor Telemetry to include account name and experience ( #452 )
2021-02-28 15:56:09 -06:00
Srinath Narayanan
cf01ffa957
removed enableGalleryPublish, enableLinkInjection feature flags ( #454 )
...
* removed enableGalleryPublish, enableLinkInjection
* removed ENABLE_GALLERY_PUBLISH
2021-02-26 13:07:44 -08:00
Steve Faulkner
6c90ef2e62
Remove Dialog Adapter ( #446 )
2021-02-24 18:41:28 -06:00