Skip to content

UX/UI/load improvements for web demo - #6

Merged
ppp-one merged 1 commit into
mainfrom
feat/web-compatibility
Sep 21, 2026
Merged

ppp-one merged 1 commit into
mainfrom
feat/web-compatibility

Conversation

@ppp-one

@ppp-one ppp-one commented Sep 21, 2026

Copy link
Copy Markdown
Owner

This pull request significantly improves the web build and deployment process by introducing a manifest (build.json) that tracks resource hashes, optimizing caching, and restructuring how large data files are handled. The changes also update documentation to reflect these improvements, clarify the build process, and describe new and enhanced user interface features.

Build and resource management improvements:

  • Added build.json manifest: Now generates a manifest with the wheel name and a content hash for every file in resources/, enabling cache-busting and allowing resources to be served with long-lived immutable caches. (web/build.py, netlify.toml, web/.gitignore, [1] [2] [3]
  • Moved large grid ingredient files out of the wheel: These files are now staged beside the page and written back into the installed package at runtime, reducing wheel size and enabling parallel downloads for faster initial loads. The Vega spectrum, unused by the page, is now omitted. (web/build.py, [1] [2] [3]
  • Updated Netlify cache headers: The manifest (build.json) is always revalidated, while resources are now served with a one-year immutable cache, leveraging versioned URLs for cache-busting. (netlify.toml, netlify.tomlL21-R34)

Documentation and user experience updates:

  • Enhanced documentation for the build process and deployment: The README.md now describes the new manifest, explains resource versioning, and details the improved download and caching strategy. (web/README.md, [1] [2] [3] [4] [5]
  • Expanded user guide: The README.md now includes detailed explanations of new UI features, such as exposure bounding, custom curve uploads, responsive controls, and how the interface adapts to different screen sizes. (web/README.md, [1] [2] [3] [4]

Build script refactoring:

  • Refactored build.py to orchestrate the new build process: Now stages resources, writes the manifest, and provides clearer output about what is built and staged, including file sizes and counts. (web/build.py, web/build.pyL150-R236)

These changes collectively result in a faster, more robust, and more maintainable web deployment, with clearer documentation and a better user experience.

@netlify

netlify Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for mphot ready!

Name Link
🔨 Latest commit 5dc768f
🔍 Latest deploy log https://app.netlify.com/projects/mphot/deploys/6ab0fa36f80dd60008c70f3b
😎 Deploy Preview https://deploy-preview-6--mphot.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ppp-one
ppp-one merged commit cc13038 into main Sep 21, 2026
5 of 6 checks passed
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.

1 participant