Skip to content

Conversation

@nvuillam
Copy link
Member

No description provided.

@github-actions
Copy link

github-actions bot commented Jan 18, 2026

MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 4 0 0 0.44s
⚠️ BASH bash-exec 1 1 0 0.03s
✅ BASH shellcheck 1 0 0 0.04s
✅ BASH shfmt 1 0 0 0 0.11s
❌ COPYPASTE jscpd yes 1 no 7.52s
✅ JAVASCRIPT prettier 26 6 0 0 3.21s
✅ JSON jsonlint 7 0 0 0.16s
✅ JSON npm-package-json-lint yes no no 0.34s
✅ JSON prettier 7 0 0 0 0.45s
✅ JSON v8r 7 0 0 5.54s
⚠️ MARKDOWN markdownlint 5 0 4 0 1.84s
✅ MARKDOWN markdown-table-formatter 5 0 0 0 0.41s
✅ REPOSITORY checkov yes no no 12.68s
✅ REPOSITORY gitleaks yes no no 1.45s
✅ REPOSITORY git_diff yes no no 0.09s
✅ REPOSITORY grype yes no no 34.06s
✅ REPOSITORY secretlint yes no no 1.09s
✅ REPOSITORY syft yes no no 2.53s
✅ REPOSITORY trivy yes no no 5.91s
✅ REPOSITORY trivy-sbom yes no no 2.67s
✅ REPOSITORY trufflehog yes no no 3.04s
❌ SPELL cspell 130 1 0 8.91s
⚠️ SPELL lychee 36 20 0 87.69s
✅ TYPESCRIPT prettier 63 5 0 0 5.64s
✅ YAML prettier 6 0 0 0 0.5s
✅ YAML v8r 6 0 0 4.64s
⚠️ YAML yamllint 6 7 0 0.38s

Detailed Issues

❌ SPELL / cspell - 1 error
src/webviews/lwc-ui/index.js:149:25    - Unknown word (unthemed)   -- // Avoid flash of unthemed content by applying
	 Suggestions: [untamed, unrhymed, unshamed, unthawed, unshed]
CSpell: Files checked: 129, Issues found: 1 in 1 file.


You can skip this misspellings by defining the following .cspell.json file at the root of your repository
Of course, please correct real typos before :)

{
    "version": "0.2",
    "language": "en",
    "ignorePaths": [
        "**/node_modules/**",
        "**/vscode-extension/**",
        "**/.git/**",
        "**/.pnpm-lock.json",
        ".vscode",
        "package-lock.json",
        "megalinter-reports"
    ],
    "words": [
        "unthemed"
    ]
}


You can also copy-paste megalinter-reports/.cspell.json at the root of your repository

🤖 AI-Powered Fix Suggestions for SPELL_CSPELL (by google gemini-2.5-flash-lite)

1. Summary of Issues:

The primary issue is an "Unknown word (unthemed)" found in src/webviews/lwc-ui/index.js on line 149. CSpell flags "unthemed" as a potential misspelling.

2. How to Fix:

  • Check for Typos: The most likely cause is a simple typo. Carefully review the word "unthemed" in the specified line for any spelling errors.

  • Add to Dictionary: If "unthemed" is a legitimate and intended word in your project's context (e.g., a technical term), you can add it to your CSpell dictionary. This prevents CSpell from flagging it in the future. You can do this by modifying your .cspell.json configuration file. Add "unthemed" to the words or ignoreWords array.

    Example Fix (adding to dictionary):

    {
      // ... other configurations
      "words": [
        // ... other words
        "unthemed"
      ]
      // ...
    }
❌ COPYPASTE / jscpd - 1 error
Clone found (javascript):
 - src/webviews/lwc-ui/modules/s/dataWorkbench/dataWorkbench.js [154:9 - 170:5] (16 lines, 93 tokens)
   src/webviews/lwc-ui/modules/s/filesWorkbench/filesWorkbench.js [88:9 - 104:5]

┌────────────┬────────────────┬─────────────┬──────────────┬──────────────┬──────────────────┬───────────────────┐
│ Format     │ Files analyzed │ Total lines │ Total tokens │ Clones found │ Duplicated lines │ Duplicated tokens │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ javascript │ 18             │ 5587        │ 40027        │ 1            │ 16 (0.29%)       │ 93 (0.23%)        │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ typescript │ 47             │ 11783       │ 93357        │ 0            │ 0 (0%)           │ 0 (0%)            │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ markdown   │ 3              │ 714         │ 5028         │ 0            │ 0 (0%)           │ 0 (0%)            │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ yaml       │ 1              │ 31          │ 145          │ 0            │ 0 (0%)           │ 0 (0%)            │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total:     │ 69             │ 18115       │ 138557       │ 1            │ 16 (0.09%)       │ 93 (0.07%)        │
└────────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 1 clones.
HTML report saved to megalinter-reports/copy-paste/html/
ERROR: jscpd found too many duplicates (0.09%) over threshold (0%)
Error: ERROR: jscpd found too many duplicates (0.09%) over threshold (0%)
    at ThresholdReporter.report (/node-deps/node_modules/@jscpd/finder/dist/index.js:612:13)
    at /node-deps/node_modules/@jscpd/finder/dist/index.js:110:18
    at Array.forEach (<anonymous>)
    at /node-deps/node_modules/@jscpd/finder/dist/index.js:109:22
    at async /node-deps/node_modules/jscpd/dist/jscpd.js:351:5

🤖 AI-Powered Fix Suggestions for COPYPASTE_JSCPD (by google gemini-2.5-flash-lite)

The main issue is the detection of duplicated code by jscpd. Specifically, 16 lines (0.29%) of JavaScript code are identical across two files: dataWorkbench.js and filesWorkbench.js. This exceeds the configured threshold of 0% duplicates, causing the linter to fail.

To fix this, refactor the duplicated code into a shared utility function or a common module. This improves maintainability and reduces redundancy.

⚠️ BASH / bash-exec - 1 error
Results of bash-exec linter (version 5.3.3)
See documentation on https://megalinter.io/9.3.0/descriptors/bash_bash_exec/
-----------------------------------------------

❌ [ERROR] dev.sh
    Error: File:[dev.sh] is not executable
⚠️ SPELL / lychee - 20 errors
[ERROR] file://.github/.github/copilot-instructions.md | Cannot find file
[403] https://www.npmjs.com/package/@vscode/extension-telemetry | Network error: Forbidden
[IGNORED] javascript:void(0); | Unsupported: Error creating request client: builder error for url (javascript:void(0);)
[ERROR] file://src/webviews/lwc-ui/modules/s/metadataRetriever/%7BimgFeatureLogo%7D | Cannot find file
[ERROR] file://src/webviews/lwc-ui/modules/s/pipeline/%7BticketProviderIconUrl%7D | Cannot find file
[ERROR] file://src/webviews/lwc-ui/modules/s/pipeline/%7BgitProviderIconUrl%7D | Cannot find file
[ERROR] https://apple.force.com/ | Network error: error sending request for url (https://apple.force.com/) Maybe a certificate error?
[ERROR] https://my.msteams.webhook.url/ | Network error: error sending request for url (https://my.msteams.webhook.url/) Maybe a certificate error?
[403] https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238 | Network error: Forbidden
[403] https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3 | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac | Network error: Forbidden
[404] https://raw.githubusercontent.com/worldcompany/shared-config/main/.sfdx-hardis.yml | Network error: Not Found
[404] https://google.force.com/ | Network error: Not Found
[ERROR] https://tickets.mycompany.com/ticket/%7BticketId%7D | Network error: error sending request for url (https://tickets.mycompany.com/ticket/%7BticketId%7D) Maybe a certificate error?
[403] https://nicolas.vuillamy.fr/what-devops-experts-want-to-know-about-salesforce-ci-cd-with-sfdx-hardis-q-a-1f412db34476 | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd | Network error: Forbidden
[404] http://github.com/hardisgroupcom/sfdx-hardis.json | Network error: Not Found
[404] https://myclient.force.com/ | Network error: Not Found
[403] https://some.sharepoint.com/file.xlsx | Network error: Forbidden
[TIMEOUT] https://www.cloudity.com/ | Timeout
[TIMEOUT] https://leblog.hardis-group.com/portfolio/suspendre-lacces-aux-utilisateurs-lors-dune-mise-en-production-salesforce/ | Timeout
[TIMEOUT] https://cloudity.com/ | Timeout
[TIMEOUT] https://leblog.hardis-group.com/portfolio/exporter-en-masse-les-fichiers-dune-org-salesforce/ | Timeout
[TIMEOUT] https://www.cloudity.com/?ref=sfdxhardis | Timeout
[TIMEOUT] https://leblog.hardis-group.com/portfolio/versions-dapi-salesforce-decommissionnees-que-faire/ | Timeout
[TIMEOUT] https://www.cloudity.com/?ref=sfdxhardis | Timeout
📝 Summary
---------------------
🔍 Total..........202
✅ Successful.....162
⏳ Timeouts.........7
🔀 Redirected.......0
👻 Excluded........12
❓ Unknown..........0
🚫 Errors..........20

Errors in resources/sfdx-hardis.jsonschema.json
[404] http://github.com/hardisgroupcom/sfdx-hardis.json | Network error: Not Found
[ERROR] https://tickets.mycompany.com/ticket/%7BticketId%7D | Network error: error sending request for url (https://tickets.mycompany.com/ticket/%7BticketId%7D) Maybe a certificate error?
[404] https://google.force.com/ | Network error: Not Found
[ERROR] https://apple.force.com/ | Network error: error sending request for url (https://apple.force.com/) Maybe a certificate error?
[404] https://myclient.force.com/ | Network error: Not Found
[404] https://raw.githubusercontent.com/worldcompany/shared-config/main/.sfdx-hardis.yml | Network error: Not Found
[ERROR] https://my.msteams.webhook.url/ | Network error: error sending request for url (https://my.msteams.webhook.url/) Maybe a certificate error?
[403] https://some.sharepoint.com/file.xlsx | Network error: Forbidden

Errors in .github/gemini.md
[ERROR] file://.github/.github/copilot-instructions.md | Cannot find file

Errors in README.md
[403] https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238 | Network error: Forbidden
[TIMEOUT] https://leblog.hardis-group.com/portfolio/suspendre-lacces-aux-utilisateurs-lors-dune-mise-en-production-salesforce/ | Timeout
[TIMEOUT] https://www.cloudity.com/?ref=sfdxhardis | Timeout
[403] https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac | Network error: Forbidden
[403] https://www.npmjs.com/package/@vscode/extension-telemetry | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d | Network error: Forbidden
[403] https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3 | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/what-devops-experts-want-to-know-about-salesforce-ci-cd-with-sfdx-hardis-q-a-1f412db34476 | Network error: Forbidden
[TIMEOUT] https://cloudity.com/ | Timeout
[TIMEOUT] https://leblog.hardis-group.com/portfolio/exporter-en-masse-les-fichiers-dune-org-salesforce/ | Timeout
[TIMEOUT] https://leblog.hardis-group.com/portfolio/versions-dapi-salesforce-decommissionnees-que-faire/ | Timeout
[403] https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b | Network error: Forbidden

Errors in src/webviews/lwc-ui/modules/s/pipeline/pipeline.html
[ERROR] file://src/webviews/lwc-ui/modules/s/pipeline/%7BticketProviderIconUrl%7D | Cannot find file
[ERROR] file://src/webviews/lwc-ui/modules/s/pipeline/%7BgitProviderIconUrl%7D | Cannot find file

Errors in src/webviews/lwc-ui/modules/s/welcome/welcome.html
[TIMEOUT] https://www.cloudity.com/?ref=sfdxhardis | Timeout

Errors in src/webviews/lwc-ui/modules/s/metadataRetriever/metadataRetriever.html
[ERROR] file://src/webviews/lwc-ui/modules/s/metadataRetriever/%7BimgFeatureLogo%7D | Cannot find file

Errors in CHANGELOG.md
[TIMEOUT] https://www.cloudity.com/ | Timeout
⚠️ MARKDOWN / markdownlint - 4 errors
.github/copilot-instructions.md:93 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
CONTRIBUTING.md:248 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
README.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "[![sfdx-hardis by Cloudity Ban..."]
README.md:39:5 error MD051/link-fragments Link fragments should be valid [Context: "[Data Import & Export](#data-import-export)"]
⚠️ YAML / yamllint - 7 errors
.github/linters/.checkov.yml
  2:1       warning  missing document start "---"  (document-start)

.github/workflows/deploy-RELEASE.yml
  11:1      warning  truthy value should be one of [false, true]  (truthy)

.github/workflows/deploy-preview.yml
  11:1      warning  truthy value should be one of [false, true]  (truthy)

.github/workflows/mega-linter.yml
  6:1       warning  truthy value should be one of [false, true]  (truthy)

.github/workflows/test.yml
  4:1       warning  truthy value should be one of [false, true]  (truthy)

.mega-linter.yml
  4:1       warning  missing document start "---"  (document-start)
  33:1      error    too many blank lines (1 > 0)  (empty-lines)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx [email protected] --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,BASH_EXEC,BASH_SHELLCHECK,BASH_SHFMT,COPYPASTE_JSCPD,JAVASCRIPT_PRETTIER,JSON_JSONLINT,JSON_V8R,JSON_PRETTIER,JSON_NPM_PACKAGE_JSON_LINT,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_CSPELL,SPELL_LYCHEE,TYPESCRIPT_PRETTIER,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security

Copy link
Member Author

@nvuillam nvuillam left a comment

Choose a reason for hiding this comment

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

Many of recent updates has been removed , probably during a wrong git merge :/

This PR must contain only theme-related stuff but not impact the working ts/js code ^^

cc @KaspOu

});
}

handleShowBranchPRs(branchName) {
Copy link
Member Author

Choose a reason for hiding this comment

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

many of my recent updates has been removed :'(


const processedTypes = rawData.types.map((type) => {
const hasWildcard = type.members && type.members.includes("*");
const rawMembers = hasWildcard ? [] : type.members || [];
Copy link
Member Author

Choose a reason for hiding this comment

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

another example of code that should not have been removed :/

});
}

openMember(event) {
Copy link
Member Author

Choose a reason for hiding this comment

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

my coooooooode :'( he must remain ^^

return count > 0 ? `Open ${prLabel} (${count})` : `Open ${prLabel}`;
}

get currentPRCardTitle() {
Copy link
Member Author

Choose a reason for hiding this comment

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

code should not have been removed

this.error = undefined;
console.log("Mermaid diagram rendered successfully");

// Catch clicks on Nodes
Copy link
Member Author

Choose a reason for hiding this comment

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

same here

@KaspOu KaspOu self-assigned this Jan 18, 2026
@KaspOu KaspOu force-pushed the feat/theme-darkmode branch from 5d6a827 to e80fb17 Compare January 29, 2026 22:47
KaspOu and others added 3 commits January 29, 2026 23:47
Global theme body
ColorThemeMixin for inner theming / refresh
Integration Baptiste D
CSS Updates for DarkMode
@KaspOu KaspOu force-pushed the feat/theme-darkmode branch from e80fb17 to 6a52f0f Compare January 29, 2026 22:47
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