Skip to content

Comments

Refacto theme + DarkMode#331

Draft
nvuillam wants to merge 10 commits intomainfrom
feat/theme-darkmode
Draft

Refacto theme + DarkMode#331
nvuillam wants to merge 10 commits intomainfrom
feat/theme-darkmode

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.09s
⚠️ BASH bash-exec 1 1 0 0.05s
✅ BASH shellcheck 1 0 0 0.07s
✅ BASH shfmt 1 0 0 0 0.21s
✅ COPYPASTE jscpd yes no no 6.03s
✅ JAVASCRIPT prettier 28 7 0 0 4.08s
✅ JSON jsonlint 7 0 0 0.21s
✅ JSON npm-package-json-lint yes no no 0.86s
✅ JSON prettier 7 0 0 0 1.08s
✅ JSON v8r 7 0 0 6.99s
⚠️ MARKDOWN markdownlint 5 1 4 0 2.25s
✅ MARKDOWN markdown-table-formatter 5 1 0 0 0.54s
✅ REPOSITORY checkov yes no no 21.75s
✅ REPOSITORY gitleaks yes no no 2.54s
✅ REPOSITORY git_diff yes no no 0.14s
✅ REPOSITORY grype yes no no 41.55s
✅ REPOSITORY secretlint yes no no 1.95s
✅ REPOSITORY syft yes no no 2.37s
✅ REPOSITORY trivy yes no no 9.2s
✅ REPOSITORY trivy-sbom yes no no 5.26s
✅ REPOSITORY trufflehog yes no no 7.85s
❌ SPELL cspell 135 1 0 8.84s
⚠️ SPELL lychee 38 20 0 11.22s
✅ TYPESCRIPT prettier 64 8 0 0 5.89s
✅ YAML prettier 6 0 0 0 0.99s
✅ YAML v8r 6 0 0 6.59s
⚠️ YAML yamllint 6 7 0 0.72s

Detailed Issues

❌ SPELL / cspell - 1 error
src/webviews/lwc-ui/index.js:151:25    - Unknown word (unthemed)   -- // Avoid flash of unthemed content by applying
	 Suggestions: [untamed, unrhymed, unshamed, unthawed, unshed]
CSpell: Files checked: 134, 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)

Issue: unthemed is flagged as an unknown word.

Explanation: The spell checker cspell doesn't recognize "unthemed" as a valid word in its dictionary. This often happens with technical jargon or specific phrasing.

Fix: Add "unthemed" to your .cspell.json configuration file under the words or ignoreWords section.

Example Fix (in .cspell.json):

{
  "words": [
    "unthemed",
    // other words...
  ]
}
⚠️ BASH / bash-exec - 1 error
Results of bash-exec linter (version 5.3.3)
See documentation on https://megalinter.io/beta/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
[403] https://nicolas.vuillamy.fr/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b | 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://nicolas.vuillamy.fr/what-devops-experts-want-to-know-about-salesforce-ci-cd-with-sfdx-hardis-q-a-1f412db34476 | 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-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd | 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
[403] https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238 | Network error: Forbidden
[IGNORED] javascript:void(0); | Unsupported: Error creating request client: builder error for url (javascript:void(0);)
[ERROR] https://my.msteams.webhook.url/ | Network error: error sending request for url (https://my.msteams.webhook.url/) Maybe a certificate error?
[ERROR] file://src/webviews/lwc-ui/modules/s/metadataRetriever/%7BimgFeatureLogo%7D | Cannot find file
[ERROR] file://src/webviews/lwc-ui/modules/s/pipeline/%7BgitProviderIconUrl%7D | Cannot find file
[ERROR] file://src/webviews/lwc-ui/modules/s/pipeline/%7BticketProviderIconUrl%7D | Cannot find file
[ERROR] https://apple.force.com/ | Network error: error sending request for url (https://apple.force.com/) Maybe a certificate error?
[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?
[404] https://raw.githubusercontent.com/worldcompany/shared-config/main/.sfdx-hardis.yml | Network error: Not Found
[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
📝 Summary
---------------------
🔍 Total..........204
✅ Successful.....171
⏳ Timeouts.........0
🔀 Redirected.......0
👻 Excluded........12
❓ Unknown..........0
🚫 Errors..........20

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

Errors in resources/sfdx-hardis.jsonschema.json
[404] https://myclient.force.com/ | Network error: Not Found
[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?
[403] https://some.sharepoint.com/file.xlsx | Network error: Forbidden
[ERROR] https://my.msteams.webhook.url/ | Network error: error sending request for url (https://my.msteams.webhook.url/) Maybe a certificate error?
[404] https://raw.githubusercontent.com/worldcompany/shared-config/main/.sfdx-hardis.yml | Network error: Not Found

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 src/webviews/lwc-ui/modules/s/pipeline/pipeline.html
[ERROR] file://src/webviews/lwc-ui/modules/s/pipeline/%7BgitProviderIconUrl%7D | Cannot find file
[ERROR] file://src/webviews/lwc-ui/modules/s/pipeline/%7BticketProviderIconUrl%7D | Cannot find file

Errors in README.md
[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-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac | 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://nicolas.vuillamy.fr/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd | Network error: Forbidden
[403] https://www.npmjs.com/package/@vscode/extension-telemetry | Network error: Forbidden
[403] https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3 | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238 | Network error: Forbidden
⚠️ 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 mega-linter-runner@beta --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
Show us your support by starring ⭐ the repository

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

@KaspOu KaspOu self-assigned this Jan 18, 2026
@KaspOu KaspOu force-pushed the feat/theme-darkmode branch 5 times, most recently from 126f3b5 to aa2a93d Compare February 4, 2026 13:55
@KaspOu KaspOu force-pushed the feat/theme-darkmode branch 11 times, most recently from 1dc5829 to e2e72f9 Compare February 11, 2026 20:37
@KaspOu KaspOu force-pushed the feat/theme-darkmode branch 4 times, most recently from aefaac7 to 8b4de68 Compare February 15, 2026 15:05
@KaspOu KaspOu force-pushed the feat/theme-darkmode branch 3 times, most recently from 04c266d to 914a355 Compare February 23, 2026 22:27
KaspOu and others added 2 commits February 24, 2026 14:11
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 914a355 to 6dc8cea Compare February 24, 2026 13:12
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.

2 participants