Skip to content

Commit decd371

Browse files
authored
PR_26171_044 Idea Board Game Hub project flow
Wire Idea Board Create Project into the Game Hub project flow.
2 parents 83fa8ad + 485e96c commit decd371

13 files changed

Lines changed: 1669 additions & 4428 deletions

File tree

Lines changed: 52 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,54 @@
1-
# git status --short
2-
M docs_build/dev/reports/codex_changed_files.txt
3-
M docs_build/dev/reports/codex_review.diff
4-
M docs_build/dev/reports/coverage_changed_js_guardrail.txt
5-
M docs_build/dev/reports/playwright_v8_coverage_report.txt
6-
M tests/playwright/tools/TextToSpeechFunctional.spec.mjs
7-
M tests/tools/Text2SpeechShell.test.mjs
8-
M toolbox/text-to-speech/index.html
9-
M toolbox/text-to-speech/text2speech.js
10-
?? docs_build/dev/reports/PR_26171_067-instruction-compliance-checklist.md
11-
?? docs_build/dev/reports/PR_26171_067-manual-validation-notes.md
12-
?? docs_build/dev/reports/PR_26171_067-message-tts-contract-checklist.md
13-
?? docs_build/dev/reports/PR_26171_067-parent-child-table-checklist.md
14-
?? docs_build/dev/reports/PR_26171_067-tts-profile-emotion-table-foundation.md
15-
?? docs_build/dev/reports/PR_26171_067-validation.md
1+
PR_26171_044-idea-board-game-hub-project-flow
162

17-
# git ls-files --others --exclude-standard
18-
docs_build/dev/reports/PR_26171_067-instruction-compliance-checklist.md
19-
docs_build/dev/reports/PR_26171_067-manual-validation-notes.md
20-
docs_build/dev/reports/PR_26171_067-message-tts-contract-checklist.md
21-
docs_build/dev/reports/PR_26171_067-parent-child-table-checklist.md
22-
docs_build/dev/reports/PR_26171_067-tts-profile-emotion-table-foundation.md
23-
docs_build/dev/reports/PR_26171_067-validation.md
3+
Changed files:
4+
- docs_build/pr/PR_26171_044-idea-board-game-hub-project-flow/PLAN_PR.md
5+
- docs_build/pr/PR_26171_044-idea-board-game-hub-project-flow/BUILD_PR.md
6+
- docs_build/pr/PR_26171_044-idea-board-game-hub-project-flow/APPLY_PR.md
7+
- docs_build/dev/reports/codex_review.diff
8+
- docs_build/dev/reports/codex_changed_files.txt
9+
- src/dev-runtime/persistence/tool-repositories/game-workspace-mock-repository.js
10+
- tests/playwright/tools/GameWorkspaceMockRepository.spec.mjs
11+
- tests/playwright/tools/IdeaBoardTableNotes.spec.mjs
12+
- tests/playwright/tools/ToolboxRoutePages.spec.mjs
13+
- toolbox/game-workspace/game-workspace.js
14+
- toolbox/game-workspace/index.html
15+
- toolbox/idea-board/index.html
16+
- toolbox/idea-board/index.js
2417

25-
# git diff --stat
26-
docs_build/dev/reports/codex_changed_files.txt | 75 +-
27-
docs_build/dev/reports/codex_review.diff | 2766 +++++++++-----------
28-
.../dev/reports/coverage_changed_js_guardrail.txt | 9 +-
29-
.../dev/reports/playwright_v8_coverage_report.txt | 27 +-
30-
.../tools/TextToSpeechFunctional.spec.mjs | 42 +-
31-
tests/tools/Text2SpeechShell.test.mjs | 48 +
32-
toolbox/text-to-speech/index.html | 40 +-
33-
toolbox/text-to-speech/text2speech.js | 728 +++++-
34-
8 files changed, 2153 insertions(+), 1582 deletions(-)
18+
Requirement PASS evidence:
19+
- PASS: Create Project appears only for Ready ideas. Evidence: Idea Board actions remain Edit/Create Project/Delete for Ready rows and switch to Open in Game Hub/Archive after creation in targeted Playwright.
20+
- PASS: Create Project uses the shared Game Hub project contract. Evidence: Idea Board calls the existing game-workspace server repository client createGame method; Playwright asserts the createGame repository request occurs.
21+
- PASS: Create Project sets Idea status to Project. Evidence: targeted Playwright asserts the row status becomes Project.
22+
- PASS: Project ideas and notes are read-only. Evidence: targeted Playwright asserts no Edit/Delete/Add Note/note actions remain for the Project row.
23+
- PASS: Project row actions are Open in Game Hub and Archive. Evidence: targeted Playwright asserts exact action labels.
24+
- PASS: Project ideas cannot be edited or deleted while Project. Evidence: Project rows do not render Edit/Delete actions and deletion guard remains active.
25+
- PASS: Project ideas cannot add/edit/delete notes. Evidence: expanded Project notes render without Add Note or note actions.
26+
- PASS: Archived ideas remain hidden by default and show Restore/Delete when visible. Evidence: targeted Playwright archives, shows Archived through the filter, and asserts Restore/Delete.
27+
- PASS: Game Hub shows creator-facing Project Information. Evidence: Game Hub HTML/JS replaces internal record display with Project Information and targeted Game Hub Playwright passes.
28+
- PASS: Game Hub shows read-only Source Idea fields. Evidence: Idea Board-to-Game Hub Playwright asserts Idea, Pitch, and Notes from the source idea render in Game Hub.
29+
- PASS: Game Hub avoids internal IDs, DB/API/mock/debug/seed wording in creator-facing display. Evidence: touched runtime files pass creator-visible text scan and targeted Playwright checks the navigated Game Hub main content.
30+
- PASS: Open in Game Hub navigates to the related project. Evidence: targeted Playwright waits for /toolbox/game-workspace/index.html?game=lantern-reef-* and asserts the linked project renders.
31+
- PASS: No Game Journey expansion beyond existing link/reference. Evidence: implementation does not add Game Journey creation or new journey wiring.
32+
33+
Validation evidence:
34+
- PASS: node --check toolbox/idea-board/index.js
35+
- PASS: node --check toolbox/game-workspace/game-workspace.js
36+
- PASS: node --check toolbox/game-workspace/game-workspace-api-client.js
37+
- PASS: node --check src/dev-runtime/persistence/tool-repositories/game-workspace-mock-repository.js
38+
- PASS: node --check tests/playwright/tools/IdeaBoardTableNotes.spec.mjs
39+
- PASS: node --check tests/playwright/tools/ToolboxRoutePages.spec.mjs
40+
- PASS: node --check tests/playwright/tools/GameWorkspaceMockRepository.spec.mjs
41+
- PASS: npx playwright test tests/playwright/tools/IdeaBoardTableNotes.spec.mjs --project=playwright --workers=1 --reporter=line
42+
- PASS: npx playwright test tests/playwright/tools/ToolboxRoutePages.spec.mjs --project=playwright --workers=1 --reporter=line --grep "Idea Board launches"
43+
- PASS: npx playwright test tests/playwright/tools/GameWorkspaceMockRepository.spec.mjs --project=playwright --workers=1 --reporter=line --grep "Game Hub"
44+
- PASS: npm run test:workspace-v2
45+
- PASS: git diff --check
46+
47+
Git workflow:
48+
- Current branch: codex/pr-26171-044-idea-board-game-hub-project-flow
49+
- Created branch: codex/pr-26171-044-idea-board-game-hub-project-flow
50+
- Commit hash: 2a38796f81aae2dceb4151095b8f89a276cd2d32
51+
- Push result: pushed to origin/codex/pr-26171-044-idea-board-game-hub-project-flow
52+
- PR URL: https://github.com/ToolboxAid/HTML-JavaScript-Gaming/pull/22
53+
- Merge result: to be reported after merge
54+
- Final main commit: to be reported after returning to main and pulling latest

0 commit comments

Comments
 (0)