Skip to content

fix: auto-convert GitHub blob URLs and strip line anchors in #url= handler#150

Open
banerjeesayantan wants to merge 2 commits into
openscad:mainfrom
banerjeesayantan:main
Open

fix: auto-convert GitHub blob URLs and strip line anchors in #url= handler#150
banerjeesayantan wants to merge 2 commits into
openscad:mainfrom
banerjeesayantan:main

Conversation

@banerjeesayantan

@banerjeesayantan banerjeesayantan commented Mar 17, 2026

Copy link
Copy Markdown

Changes

Fix 1 — Fixes #57

Auto-converts GitHub blob URLs in #url= handler:

  • github.com/.../blob/...raw.githubusercontent.com
  • Strips line anchors like #L5 before fetching

Fix 2 — Fixes #106

Replace || with ?? for dropdown values in CustomizerPanel:

  • || fails when value is 0 or false
  • ?? only falls back when value is null or undefined
  • Fixes labeled dropdowns not showing selected value correctly

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.

Labeled dropdown menu doesn't seem to work Support for GitHub file path in link instead of inline model

1 participant