Conversation
Member
pearmini
commented
Apr 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR restructures the repository’s pnpm workspace to scope demos under demo/pretext and adds a multi-page Vite setup plus new/updated Pretext demo pages (Air Text, U.S. Map Paper, Yin Yang) to support improved demo workflows.
Changes:
- Update pnpm workspace + lockfile to treat
demo/pretextas the demo package (and remove the olddemopackage root). - Add multi-entry Vite build configuration for the Pretext demos and expose root-level scripts to dev/build/preview them.
- Replace the old
demo/landing/config files with new demo pages and assets underdemo/pretext/.
Reviewed changes
Copilot reviewed 7 out of 22 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-workspace.yaml | Workspace now includes demo/pretext instead of demo. |
| pnpm-lock.yaml | Updates importer key and workspace link path for the moved demo package. |
| package.json | Replaces demo:dev with demo:pretext:* scripts. |
| demo/vite.config.js | Removed; Vite config moved under demo/pretext. |
| demo/index.html | Removed old demo index page. |
| demo/pretext/vite.config.js | Adds multi-page Vite build inputs and dependency optimization. |
| demo/pretext/package.json | Adds build/preview scripts for the demo package. |
| demo/pretext/index.html | New demo landing page linking to sub-demos. |
| demo/pretext/yinyang/index.{js,html,css} | New Yin Yang demo page implementation + styling. |
| demo/pretext/us-map-paper/index.{js,html,css} | New U.S. Map Paper demo implementation + styling. |
| demo/pretext/us-map-paper/state-notes.js | Adds embedded per-state Wikipedia extracts used by the map demo. |
| demo/pretext/air-text/index.{js,html,css} | New Air Text demo implementation + styling. |
| demo/pretext/air-text/{helpers.js,content.js} | Adds helpers/content used by Air Text demo. |
| demo/pretext/public/logo.svg | Adds logo asset for the demo landing page. |
| .gitignore | Updates ignored demo lockfile path to demo/pretext/pnpm-lock.yaml. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Deploying api with
|
| Latest commit: |
7f6c144
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6bed20da.charming-a13.pages.dev |
| Branch Preview URL: | https://optimize-pretext-demo.charming-a13.pages.dev |
pearmini
added a commit
that referenced
this pull request
Apr 4, 2026
* Optimize pretext demos * Update index.html * Increase top
pearmini
added a commit
that referenced
this pull request
Apr 4, 2026
* Optimize pretext demos * Update index.html * Increase top
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.