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
BUILD_PR: normalize sample presentation, runtime-derived previews, tags, and engine-class reporting
- create preview SVG assets for all samples from the running sample canvas appearance
- remove preview image blocks from sample pages
- keep H1, description, and tags at the top
- keep Back to Samples and Prev / Next navigation
- move Related Samples below canvas and before Engine Classes Used
- normalize Engine Classes Used references
- normalize tags to classes used excluding engine/theme/system-noise labels
- sync samples/index.html names for 1316/1317/1318 with sample page titles
No gameplay or engine-core scope included
Implement a final, testable normalization wave for sample presentation, preview assets, tag semantics, and engine-class reporting across the samples system.
4
+
Implement a final, testable normalization wave for sample presentation, runtime-derived preview assets, tag semantics, and engine-class reporting across the samples system.
5
5
6
6
This BUILD must apply the following user-approved adjustments:
7
7
8
-
1. create preview SVG for all samples
8
+
1. create preview SVG for all samples based on what the sample canvas looks like when the sample is running
9
9
2. remove tags that are the sample number, phase, or sample name
10
-
3. correct all "Engine classes used" entries so they reference `engine/<class>` consistently
10
+
3. correct all "Engine Classes Used" entries so they reference `engine/<class>` consistently
11
11
4. set tags to classes used, excluding `engine` and `theme`
- normalize sample presentation and sample metadata display consistency
24
+
- normalize sample presentation and sample metadata display consistency using runtime-representative previews
25
25
26
26
## In Scope
27
-
- generate or define preview SVG assets for all samples using a consistent convention
28
-
- ensure sample detail pages no longer show a preview image block above or within the page body where it conflicts with the desired layout
27
+
- create or generate preview SVG assets for all samples using the actual running canvas output as the visual source
28
+
- ensure preview assets visually represent the rendered sample scene rather than generic placeholders
29
+
- ensure sample detail pages no longer show a preview image block in the page body
29
30
- normalize sample page structure so:
30
31
- H1 is at the top
31
32
- description is directly below the H1
@@ -50,16 +51,21 @@ One purpose only:
50
51
- no unrelated performance work
51
52
- no favorites/pinning changes unless directly required to preserve current behavior
52
53
53
-
## Required Behavior
54
-
1. Every sample has a preview SVG asset or a clearly generated preview placeholder under the agreed samples preview convention.
55
-
2. Sample detail pages do not show the preview image block in the final page layout.
56
-
3. H1 and description are the first visible content at the top of the sample page.
57
-
4. Tags remain at the top section of the sample page.
58
-
5. Back to Samples and Prev / Next navigation remain intact.
59
-
6. Related Samples appears below the canvas and before Engine Classes Used.
60
-
7. Engine Classes Used entries are normalized to the `engine/<ClassName>` style or the exact repo-appropriate engine folder/class reference format used consistently across all samples.
61
-
8. Tags reflect classes used and exclude engine/theme/system-noise labels.
62
-
9.`samples/index.html` labels for 1316 / 1317 / 1318 exactly match their sample page titles.
54
+
## Required Preview Behavior
55
+
1. Every sample has a preview SVG asset or a clearly generated preview SVG based on the sample's actual running canvas appearance.
56
+
2. The preview generation path must use the live or representative rendered scene as the source of truth.
57
+
3. The preview SVG should capture the look of the sample canvas, not a generic text-only or placeholder card.
58
+
4. If exact runtime capture cannot be fully automated for a subset of samples, fail fast and report which samples block automation rather than silently substituting generic placeholders.
59
+
60
+
## Required Page Behavior
61
+
1. Sample detail pages do not show the preview image block in the final page layout.
62
+
2. H1 and description are the first visible content at the top of the sample page.
63
+
3. Tags remain at the top section of the sample page.
64
+
4. Back to Samples and Prev / Next navigation remain intact.
65
+
5. Related Samples appears below the canvas and before Engine Classes Used.
66
+
6. Engine Classes Used entries are normalized to the `engine/<ClassName>` style or the exact repo-appropriate engine folder/class reference format used consistently across all samples.
67
+
7. Tags reflect classes used and exclude engine/theme/system-noise labels.
68
+
8.`samples/index.html` labels for 1316 / 1317 / 1318 exactly match their sample page titles.
63
69
64
70
## Expected Targets
65
71
Codex should keep reads narrow and stop if the actual required target list expands materially.
0 commit comments