Skip to content

Conversation

@Den1552
Copy link
Contributor

@Den1552 Den1552 commented Dec 2, 2025

Adds:

  • Ability to set a VCDB as default and include in the default CFG
  • Ability to set VCDB option when creating new Projects / CFG files
  • Redesigned new Project / new CFG webviews

@codecov
Copy link

codecov bot commented Dec 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (04ab430) to head (721b23e).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #307   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines         1658      1658           
  Branches       194       194           
=========================================
  Hits          1658      1658           
Flag Coverage Δ
Unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

panel.webview.onDidReceiveMessage(
async (msg) => {
switch (msg.command) {
case "submit": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sonarqube does have a point - why have a switch on a single condition?

<br><small id="dbPathLabel" style="font-size: 11px; color: #888;"></small>
</label>
<label class="vscode-toggle" for="useDefaultDB">
<span class="toggle-switch">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Worth addressing this finding

<small id="defaultCFGPath"></small>
</label>
<label class="vscode-toggle" for="useDefaultCompiler">
<span class="toggle-switch">
Copy link
Collaborator

Choose a reason for hiding this comment

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

worth addresing

}

// First create new CFG and return path
const compilerPath = await createNewCFGFromCompiler(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe I am overseeing something, but are we completely duplicating the code for CFG creation that's done in the context of manage already

Copy link
Collaborator

@Zbigor Zbigor left a comment

Choose a reason for hiding this comment

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

No major issues, but it'd make sense to look at the following:

  • Sonar findings, not many and they seem to make sense
  • Potential code duplication (we might have a reason why we want to duplicate?)
  • Is it possible to add any unit tests for the new logic?
    • And/Or some e2e at least

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants