Skip to content

Commit b558f3a

Browse files
author
DavidQ
committed
PLAN_PR: enhance sample detail pages with metadata-driven UI
1 parent 43d6b0a commit b558f3a

6 files changed

Lines changed: 34 additions & 28 deletions

File tree

docs/dev/CODEX_COMMANDS.md

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,13 @@ MODEL: GPT-5.4-codex
22
REASONING: high
33

44
COMMAND:
5-
Execute BUILD_PR_SAMPLES_FILTER_AND_SEARCH
6-
7-
ENVIRONMENT:
8-
- Windows
9-
- Use Node.js or vanilla JS only
10-
- No npm install
11-
- No node_modules
5+
Create PLAN_PR_SAMPLES_DETAIL_PAGE_ENHANCEMENT
126

137
RULES:
14-
- Do not change canonical paths
15-
- Do not modify gameplay
16-
- Keep changes minimal
17-
18-
VALIDATION:
19-
- filters work
20-
- search works
21-
- 1316–1318 load correctly
8+
- Docs only
9+
- No implementation code
10+
- No gameplay changes
11+
- No engine changes
2212

2313
ZIP:
24-
<project folder>/tmp/BUILD_PR_SAMPLES_FILTER_AND_SEARCH.zip
14+
<project folder>/tmp/PLAN_PR_SAMPLES_DETAIL_PAGE_ENHANCEMENT.zip

docs/dev/COMMIT_COMMENT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
BUILD_PR: add filtering and search to samples index
1+
PLAN_PR: enhance sample detail pages with metadata-driven UI
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Add phase filter, tag filter, and search to samples index
1+
Define improvements for sample pages including headers, previews, and navigation
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
MODIFIED:
2-
- samples/index.html
3-
41
ADDED:
5-
- minimal filter/search JS
2+
- docs/pr/PLAN_PR_SAMPLES_DETAIL_PAGE_ENHANCEMENT.md
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
[ ] phase filter works
2-
[ ] tag filter works
3-
[ ] search works
4-
[ ] combined filtering works
5-
[ ] links resolve (1316–1318)
6-
[ ] no console errors
1+
[ ] header enhancement defined
2+
[ ] preview support defined
3+
[ ] related samples defined
4+
[ ] navigation defined
5+
[ ] no path changes
76
[ ] zip exists
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# PLAN_PR_SAMPLES_DETAIL_PAGE_ENHANCEMENT
2+
3+
## Objective
4+
Define enhancements for individual sample pages to improve usability, clarity, and navigation.
5+
6+
## Scope
7+
- Add sample header enhancements (title, description)
8+
- Add optional preview/screenshot support
9+
- Add "related samples" links based on metadata
10+
- Add navigation (next/previous sample)
11+
12+
## Out of Scope
13+
- gameplay changes
14+
- engine changes
15+
- directory structure changes
16+
17+
## Acceptance
18+
- sample pages remain functional
19+
- enhancements are metadata-driven
20+
- navigation links resolve correctly

0 commit comments

Comments
 (0)