Repository navigation
✨ feat: migrate the webpage to nextjs - #9
Merged
Merged
Conversation
Replace the Vite entry point with Next.js App Router pages for the home page and seven documentation topics. Preserve the shared visual design, saved preferences, evidence traces, motion and standalone reports while supporting direct URLs and legacy bookmarks. Add a loopback static preview, repository base-path handling, retained Next.js licensing and byte-checked publication tooling. Normalize the Windows segment export filenames without changing payload bytes, rejecting collisions before any move. Update screenshot tools and cover exported HTML, navigation, runtime requests, preview containment and publication boundaries. Validate with 144 passing Node tests, 73 browser tests at the root and 73 at the repository prefix, unchanged deterministic examples, frozen installation, a clean dependency audit and isolated package installation smoke checks.
Build and validate both the root export and GitHub Pages repository prefix in the existing CI workflow. Configure Pages before building, pass its base path to Next.js and upload only the validated site/out directory. Preserve manual deployment, SHA-pinned Actions and the PostgreSQL service matrix. Remove Dependabot's version-update configuration at the maintainer's request. Automatic security-fix PRs are already disabled remotely; retain frozen dependency installation and vulnerability auditing. Keep these changes in the same PR as the webpage migration and preserve required maintainer approval.
Update setup, contributor instructions and bilingual website documentation for Next.js, direct documentation routes and static GitHub Pages deployment. Explain build-time base paths, the Windows filename correction, manual dependency upgrades and the distinction between JavaScript interactions and exported English content. Record local build, audit, browser, deterministic artifact, packaging and visual review results with their limits. Preserve immutable release assets and historical evaluation evidence; this work does not publish a release or deploy Pages.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The webpage now uses Next.js App Router and exports the home page, documentation overview and seven topics as static HTML for GitHub Pages. Direct documentation URLs survive reloads and contain English content before JavaScript runs. Existing hash bookmarks redirect to the new routes.
Preserve the design, ENG/ESP and theme controls, animations, dependency traces and separate generated reports. Add a safe static preview, normalize Next.js's Windows segment filenames, and verify published pages, payloads, bundles, curated inputs and licenses against their sources. Pages builds with its configured base path and publishes only
site/out; CI tests both root and repository paths.Remove Dependabot's update configuration at the maintainer's request. Automatic security-fix PRs were already disabled. Keep dependency auditing, the frozen lockfile, SHA-pinned Actions and maintainer approval requirements. All changes are in this one PR.
Validation on Windows with Node.js 24.15.0 and pnpm 12.10.1:
/Database-Dependency-Migration-Visualizer, including exported HTML, navigation/reload, preferences, motion, report exports, licenses and failed-prefetch/hydration detection.f413dbb57068d5c1e662cb6e6db8c3697f0038c6: the offline job and all five PostgreSQL catalog jobs. Linux CI also passed both complete browser suites and distribution smoke checks.See migration validation and Pages instructions. Translation, saved preferences and interactive controls require JavaScript. Base paths require rebuilding; independent Next.js builds are not claimed to produce identical runtime bytes. No deployment or new release is included. Removing the update configuration takes effect after merge.