|
| 1 | +# PR_26152_036 Root Account Pages Migration Validation |
| 2 | + |
| 3 | +## Scope |
| 4 | + |
| 5 | +- Migrated approved Account pages to the repository root: |
| 6 | + - `/account.html` |
| 7 | + - `/profile.html` |
| 8 | + - `/preferences.html` |
| 9 | + - `/security.html` |
| 10 | +- Removed the old `GameFoundryStudio/account/` copies of those pages. |
| 11 | +- Updated shared partial routing so Account links resolve to the root page locations. |
| 12 | +- Kept Account pages on Theme V2. |
| 13 | +- Did not migrate Admin, Tools, Games, or Samples. |
| 14 | +- Did not change any CSS files. |
| 15 | + |
| 16 | +## Changed Files |
| 17 | + |
| 18 | +- `account.html` added |
| 19 | +- `profile.html` added |
| 20 | +- `preferences.html` added |
| 21 | +- `security.html` added |
| 22 | +- `GameFoundryStudio/account/index.html` removed |
| 23 | +- `GameFoundryStudio/account/profile.html` removed |
| 24 | +- `GameFoundryStudio/account/preferences.html` removed |
| 25 | +- `GameFoundryStudio/account/security.html` removed |
| 26 | +- `GameFoundryStudio/assets/js/gamefoundry-partials.js` updated for root Account route handling |
| 27 | + |
| 28 | +## Validation Commands |
| 29 | + |
| 30 | +- PASS: `node --check GameFoundryStudio/assets/js/gamefoundry-partials.js` |
| 31 | +- PASS: `rg -n --pcre2 "<script(?![^>]*\bsrc=)|<style|\son[a-z]+\s*=" index.html about.html vision.html mission.html roadmap.html release-notes.html account.html profile.html preferences.html security.html` |
| 32 | + - No inline script blocks, style blocks, or inline event handlers found. |
| 33 | +- PASS: `rg -n "base href" account.html profile.html preferences.html security.html about.html vision.html mission.html roadmap.html release-notes.html index.html` |
| 34 | + - Root index, root Company pages, and root Account pages contain `<base href="GameFoundryStudio/">`. |
| 35 | +- PASS: `rg -n "assets/css/theme/v2/theme\.css" account.html profile.html preferences.html security.html about.html vision.html mission.html roadmap.html release-notes.html index.html` |
| 36 | + - Root Account pages load Theme V2 assets. |
| 37 | +- PASS: `rg -n "data-partial" account.html profile.html preferences.html security.html about.html vision.html mission.html roadmap.html release-notes.html index.html` |
| 38 | + - Root Account pages keep shared header/footer partial slots. |
| 39 | +- PASS: `rg -n "account.html|profile.html|preferences.html|security.html|rootPageRoutes|isAccountChild|rootPrefix" GameFoundryStudio/assets/js/gamefoundry-partials.js` |
| 40 | + - Shared partial routing points Account routes to root pages. |
| 41 | +- PASS: `git status --short -- GameFoundryStudio/assets/css/theme/v2` |
| 42 | + - No Theme V2 CSS files changed. |
| 43 | +- PASS: `git status --short -- account.html profile.html preferences.html security.html GameFoundryStudio/account/index.html GameFoundryStudio/account/profile.html GameFoundryStudio/account/preferences.html GameFoundryStudio/account/security.html GameFoundryStudio/assets/js/gamefoundry-partials.js GameFoundryStudio/assets/css/theme/v2 docs/dev/commit_comment.txt docs/dev/reports/codex_review.diff docs/dev/reports/codex_changed_files.txt docs/dev/reports/root_account_pages_migration_validation.md` |
| 44 | + - Scoped status shows the expected root page additions, old in-folder page deletions, and partial router update. |
| 45 | + |
| 46 | +## Link Validation |
| 47 | + |
| 48 | +- `gamefoundry-partials.js` now maps: |
| 49 | + - `account` -> `account.html` |
| 50 | + - `account-profile` -> `profile.html` |
| 51 | + - `account-preferences` -> `preferences.html` |
| 52 | + - `account-security` -> `security.html` |
| 53 | +- Account routes are included in `rootPageRoutes`. |
| 54 | +- Root pages use `rootPrefix()` without leaving the `GameFoundryStudio/` base, so partials load from `GameFoundryStudio/assets/partials/`. |
| 55 | +- Root Account links render to root Account pages from the shared header/footer. |
| 56 | + |
| 57 | +## Skipped |
| 58 | + |
| 59 | +- Repo-wide tests were not run by request. |
| 60 | +- Tests outside affected root/GameFoundryStudio paths were not run by request. |
| 61 | +- Full samples smoke test was not run by request. |
| 62 | +- `git diff --stat` was attempted for exact review artifact generation but was intermittently blocked by the Windows sandbox before git could start: |
| 63 | + - `windows sandbox: spawn setup refresh` |
0 commit comments