Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor: fix bugs, enable in demo app, update Monaco #10973

Merged
merged 5 commits into from Oct 28, 2019

Conversation

ecraig12345
Copy link
Member

@ecraig12345 ecraig12345 commented Oct 26, 2019

Pull request checklist

Description of changes

Microsoft Reviewers: Open in CodeFlow

@size-auditor
Copy link

size-auditor bot commented Oct 26, 2019

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: d78a5c1de55316f488dd77386ba6cb33ac2da779 (build)

@msft-github-bot
Copy link
Contributor

msft-github-bot commented Oct 26, 2019

Component Perf Analysis

No significant results to display.

All results

Scenario Master Ticks PR Ticks Status
BaseButton 852 854
BaseButton (experiments) 1117 1078
DefaultButton 1075 1076
DefaultButton (experiments) 2155 2251
DetailsRow 3568 3560
DetailsRow (fast icons) 3419 3495
DetailsRow without styles 3283 3362
DocumentCardTitle with truncation 32385 32836
MenuButton 1399 1393
MenuButton (experiments) 3877 3855
PrimaryButton 1263 1261
PrimaryButton (experiments) 2220 2220
SplitButton 3056 2962
SplitButton (experiments) 7673 7517
Stack 518 495
Stack with Intrinsic children 1167 1255
Stack with Text children 4620 4655
Text 402 435
Toggle 918 870
Toggle (experiments) 2486 2465
button 69 56

@ecraig12345 ecraig12345 changed the title Editor: fix loading in Edge, enable in demo app, update Monaco Editor: fix bugs, enable in demo app, update Monaco Oct 27, 2019
@@ -1,8 +0,0 @@
export * from './index';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure this wasn't being used for anything

},
module.exports = resources.createServeConfig(
addMonacoWebpackConfig({
entry: {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addMonacoWebpackConfig requires entry to be an object

@@ -1,5 +1,10 @@
// This file was generated by checking out and building monaco-typescript (https://github.com/Microsoft/monaco-typescript)
// and merging release/esm/*.d.ts together, with minor edits.
// This file may need to be re-generated when updating the monaco-editor version. Steps:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a PR in monaco-typescript to make this slightly easier, but for now it seemed good to specify the full manual process.

@@ -15,11 +15,11 @@
"just": "just-scripts"
},
"devDependencies": {
"monaco-editor": "0.18.1",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

monaco shouldn't be a production dependency since we're copying out all the relevant files and re-publishing

Copy link
Member

@kenotron kenotron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would really prefer not having to add the raw-loader dep but it was already the case until we can do a better implementation with library build time raw-loader via something with node

@ecraig12345 ecraig12345 merged commit d2ddc7b into microsoft:master Oct 28, 2019
@ecraig12345 ecraig12345 deleted the tsx-fix branch October 28, 2019 21:01
@msft-github-bot
Copy link
Contributor

🎉@uifabric/tsx-editor@v0.10.3 has been released which incorporates this pull request.:tada:

Handy links:

@msft-github-bot
Copy link
Contributor

🎉@uifabric/monaco-editor@v0.4.0 has been released which incorporates this pull request.:tada:

Handy links:

@msft-github-bot
Copy link
Contributor

🎉@uifabric/fabric-website-resources@v7.4.0 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants