Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Fix VSCode build #48559

Merged
merged 2 commits into from
Mar 2, 2023
Merged

Fix VSCode build #48559

merged 2 commits into from
Mar 2, 2023

Conversation

philipp-spiess
Copy link
Contributor

@philipp-spiess philipp-spiess commented Mar 2, 2023

There were two issues:

Test plan

Screenshot 2023-03-02 at 16 25 55

Always happy to see @muratsu's face again 🙂

App preview:

Check out the client app preview documentation to learn more.

There were two issues:

- One was resolved by following the steps in microsoft/PowerBI-visuals-tools#365 (comment)
- The other one was caused by the .ttf icon in monaco being moved, I changed the rule to now bundle any ttf with the full name (we only have one anyways).
@philipp-spiess philipp-spiess requested review from taras-yemets, abeatrix and a team March 2, 2023 15:36
@philipp-spiess philipp-spiess self-assigned this Mar 2, 2023
@cla-bot cla-bot bot added the cla-signed label Mar 2, 2023
@github-actions github-actions bot added the team/code-exploration Issues owned by the Code Exploration team label Mar 2, 2023
// Monaco Editor Path
const MONACO_EDITOR_PATH = path.resolve(rootPath, 'node_modules', 'monaco-editor')
// Codicons Path
const CODICONS_PATH = path.resolve(rootPath, 'node_modules', '@vscode', 'codicons')
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this used somewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah we inject it manually. Not sure why but it's definitely loaded by the extension :/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@fkling There's no chance that VSCode still uses the old search input right? right?? that one's gone?? so we should be able to rm? :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

I mean the variable seems to have been added but not references in the webpack config file... or am I missing anything?

I removed the Monaco query input implementation so... I guess vscode can't use it anymore 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh sorry, I was confused. You're right this line can be delted I've made it work for all .ttf files now.

@fkling oof lots of cleanup potential for VSCode then. But no time 😢

@philipp-spiess philipp-spiess merged commit 3bc347f into main Mar 2, 2023
@philipp-spiess philipp-spiess deleted the ps/fix-vscode-build branch March 2, 2023 16:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed team/code-exploration Issues owned by the Code Exploration team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants