You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Before: samples/index.render.js could call resolveSampleToolLaunchHref with samplePresetPath="" when a runtime sample row had toolHints but no matching roundtripToolPresets entry.
15
+
- Effect: a stale hint-only row could render a link like /tools/3D%20Camera%20Path%20Editor/index.html?sampleId=0201&sampleTitle=Camera+Follow.
16
+
- After: buildRoundtripLinks returns without creating a link when getExplicitRoundtripPresetPath(sample, toolId) returns empty.
17
+
18
+
Related detail-page cleanup
19
+
- samples/shared/sampleDetailPageEnhancement.js had the same hint-only behavior for sample detail pages.
20
+
- It now skips tool links that lack an explicit presetPath.
21
+
- This keeps sample detail pages aligned with the direct JSON contract and prevents stale hint-only links there too.
22
+
23
+
Exact removed behavior
24
+
- Removed renderer behavior that treated toolHints alone as enough to generate an Open <tool> link.
25
+
- Removed detail-page behavior that generated a base tool URL without samplePresetPath.
26
+
27
+
What remains intentionally
28
+
- normalizeToken/normalizePresetPath helpers remain for safe string/path handling.
29
+
- toolHints remains available for sample filter chips and tool filter indexing.
30
+
- roundtripToolPresets remains the explicit source of launch JSON paths.
- samples/**/*.html via targeted known-bad validation script
10
+
11
+
Files changed
12
+
- samples/phase-12/1208/index.html
13
+
14
+
Stale source removed
15
+
- Removed stale hardcoded Open SVG Asset Studio link from samples/phase-12/1208/index.html.
16
+
- The valid 1208 hardcoded links for Tilemap Studio and Parallax Scene Studio remain.
17
+
18
+
Duplicate source assessment
19
+
- samples/index.render.js remains the sample tile renderer.
20
+
- samples/metadata/samples.index.metadata.json remains the sample tile data SSoT.
21
+
- samples/shared/sampleDetailPageEnhancement.js is not a tile source, but it is a runtime consumer of the same metadata, so it was aligned to require explicit presetPath.
22
+
- phase-12 static sample HTML pages are sample detail pages, not tile data sources. Only the known-bad 1208 SVG Asset Studio link was removed in this PR.
23
+
24
+
Deleted files
25
+
- None.
26
+
27
+
Disabled runtime loading
28
+
- None.
29
+
30
+
Why no file deletion
31
+
- No separate generated/static sample tile link data file was found.
32
+
- Existing sample detail HTML files are executable sample pages, not duplicate tile metadata files.
33
+
- Deleting sample pages would violate the PR rule not to delete samples.
0 commit comments