Commit Graph

92 Commits

Author SHA1 Message Date
Hardikkumar Nai 0bbf9de963
Resolve ESLint Errors (#934) 2021-07-15 08:53:07 -05:00
Tanuj Mittal 416358f540
Cleanup Schema Analyzer feature flag (#938) 2021-07-15 06:42:14 +05:30
t-tarabhatia 887618e77e
UX Changes for Default Partition Key A/B Experiment (#928) 2021-07-14 14:10:45 -05:00
Steve Faulkner 239c7edf7b
Fix Incorrect Image Links (#892) 2021-06-14 20:52:02 -05:00
Steve Faulkner 735a81db47
Remove Explorer.setFeaturesFromFlights (#801) 2021-05-19 18:58:44 -05:00
Zachary Foster 2bc298fef1
[Hosted] AAD implementation for item operations (#643) 2021-05-18 17:59:09 -05:00
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
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
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
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 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 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
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
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
Tanuj Mittal 14fd9054dd
Sandbox all outputs in iFrame (#624) 2021-04-12 08:59:18 -07:00
Jordi Bunster b150e53814
Remove (unused) dbsettings tab (#607) 2021-04-05 13:51:44 -07:00
Jordi Bunster 813dbfee5b
Defensively set feature flags from window.parent (#594)
This doesn't really fix the fact that portal feature flags are not
being set, but it does re-enable feature flags in hosted mode.
2021-03-30 14:01:30 -07:00
victor-meng ca7cd139ba
Use window instead of window.parent in extractFeatures function (#577) 2021-03-23 17:21:41 -07:00
Jordi Bunster f33ec09040
Remove Explorer.features (#563)
In addition this makes the URL-passed feature flags type safe
2021-03-22 19:04:06 +00:00
Steve Faulkner 8629bcbe2d
Move "Open Full Screen" to React Panel (#449) 2021-02-24 19:04:28 -06:00
Steve Faulkner 4be53284b5
Prettier 2.0 (#393) 2021-01-20 09:15:01 -06:00
Steve Faulkner 2b2de7c645
Migrated Hosted Explorer to React (#360)
Co-authored-by: Victor Meng <vimeng@microsoft.com>
Co-authored-by: Steve Faulkner <stfaul@microsoft.com>
2021-01-19 16:31:55 -06:00
Steve Faulkner dfb1b50621
Explorer.ts Cleanup (#341)
Co-authored-by: victor-meng <56978073+victor-meng@users.noreply.github.com>
2020-12-16 20:00:39 -06:00
victor-meng 5f1f7a8266
Refactor error handling part 2 (#313) 2020-11-03 13:40:44 -08:00
victor-meng 5741802c25
refactor error handling part 1 (#307)
- created `getErrorMessage` function which takes in an error string or any type of error object and returns the correct error message
- replaced `error.message` with `getErrorMessage` since `error` could be a string in some cases
- merged sendNotificationForError.ts with ErrorHandlingUtils.ts
- some minor refactoring

In part 2, I will make the following changes:
 - Make `Logger.logError` function take an error message string instead of an error object. This will reduce some redundancy where the `getErrorMessage` function is being called twice (the error object passed by the caller is already an error message).
 - Update every `TelemetryProcessor.traceFailure` call to make sure we pass in an error message instead of an error object since we stringify the data we send.
2020-10-30 22:09:24 +00:00
victor-meng 24b5b754ca
Fix error handling in DE (#294)
- Replaced `JSON.stringify(error)` with `error.message`
- Created `ErrorHandlingUtils` and moved all error logging actions in there
2020-10-21 21:28:30 +00:00
Steve Faulkner 821f665e78
Remove window.dataExplorerPlatform (#279)
More cleanup for #253 
- Remove window.dataExplorerPlatform
- Remove explorer factories
2020-10-15 03:25:13 +00:00
Steve Faulkner cfb9a0b321
Refactor NotificationsClient (#270) 2020-10-12 22:10:28 -05:00
Steve Faulkner 14cdf19efb
Remove Explorer.isEmulator (#256) 2020-10-09 11:18:50 -05:00
Jordi Bunster 0cc38868a6
Remove one indirection for ConfigContext
Things like ConfigContext.BACKEND_ENDPOINT are dynamically changed, and assigning them statically like this only bypasses that mechanism :(

Co-authored-by: Steve Faulkner <471400+southpolesteve@users.noreply.github.com>
2020-10-06 15:30:24 -07:00
Vignesh Rangaishenvi 08ee86ecf1
Fix connection string renew token pane (#136)
* Fix IcM issue + conn string parsing

* format code

* Undo fix for IcM issue
2020-08-06 16:15:31 -07:00
Steve Faulkner 0011007d5f
Refactor Global state into Context Files (#128) 2020-08-06 14:03:46 -05:00
Steve Faulkner 2904a1a60d
Move Delete Container call to use ARM when logged in with AAD (#110) 2020-08-03 17:11:07 -05:00
Steve Faulkner fea321cd68
More ViewModel cleanup (#116) 2020-07-27 16:05:25 -05:00
Steve Faulkner 2e49ed45c3
Refactor DocumentClientUtilityBase to not be a class (#115) 2020-07-27 12:58:27 -05:00
Steve Faulkner 6d142f16f9
Refactor Data Access Utility (#112) 2020-07-24 16:45:48 -05:00
Vignesh Rangaishenvi 0f4ff0e49f
Support readers (#105) 2020-07-21 11:57:23 -07:00
Steve Faulkner eab6506940
Remove Explorer Stub and ViewModel.Explorer (#101) 2020-07-20 12:59:40 -05:00
Steve Faulkner 269ea6a349
Add Additional Lint Rules (#55) 2020-06-23 10:45:51 -05:00
Steve Faulkner 36581fb6d9 Initial Move from Azure DevOps to GitHub 2020-05-25 21:30:55 -05:00