Skip to content

Optimize pretext demos#413

Merged
pearmini merged 3 commits intomainfrom
optimize-pretext-demo
Apr 4, 2026
Merged

Optimize pretext demos#413
pearmini merged 3 commits intomainfrom
optimize-pretext-demo

Conversation

@pearmini
Copy link
Copy Markdown
Member

@pearmini pearmini commented Apr 4, 2026

image

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/pretext as the demo package (and remove the old demo package 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 under demo/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.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 4, 2026

Deploying api with  Cloudflare Pages  Cloudflare Pages

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

View logs

@pearmini pearmini merged commit 6cc4e38 into main Apr 4, 2026
2 checks passed
@pearmini pearmini deleted the optimize-pretext-demo branch April 4, 2026 13:35
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants