ifcurl/forgejo/custom/public/assets
Bruno Postle a5d14222a5 viewer: show commit-pin badge + branch-switch button when ref is a hash
When an ifc:// URL uses a bare commit hash as the ref the toolbar now
shows an amber badge with the abbreviated hash and (after a Forgejo API
lookup) a '→ heads/main' button that reloads with the branch-tip ref.

Closes ifcurl-gy8.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 19:19:37 +01:00
..
fragments-worker.js viewer: upgrade three/web-ifc/@thatopen to latest — partial CVE fix 2026-04-25 18:59:02 +01:00
viewer-deps.js viewer: upgrade three/web-ifc/@thatopen to latest — partial CVE fix 2026-04-25 18:59:02 +01:00
viewer-url.js Private repo previews, BCF import, SERVICE_TOKEN support 2026-04-24 14:20:17 +01:00
viewer.html viewer: show commit-pin badge + branch-switch button when ref is a hash 2026-04-25 19:19:37 +01:00
web-ifc-mt.wasm viewer: upgrade three/web-ifc/@thatopen to latest — partial CVE fix 2026-04-25 18:59:02 +01:00
web-ifc.wasm viewer: upgrade three/web-ifc/@thatopen to latest — partial CVE fix 2026-04-25 18:59:02 +01:00