v1.1.2
LatestTry My Little CRM in a browser: a disposable WebAssembly demo.
Added
- Browser demo (#30): My Little CRM now runs in a browser, compiled to
WebAssembly (
flutter build web --release --wasm --dart-define=DEMO_MODE=true). The demo uses an in-memory SQLite database seeded with sample parties, interactions and follow-ups. Everything works as normal, and a banner says that changes are discarded on refresh. Nothing is stored in the browser, and no backend or account is needed. Seedocs/WEB-DEMO.md. DEMO_MODEbuild flag: the same throwaway, seeded demo on any platform. It never opens the real ledger.scripts/web-demo.shbuilds the demo and serves it locally with the hosting headers it needs. A newWeb demo (Wasm)CI job builds it and uploads the static site as an artifact.scripts/web-demo.sh packagezips the demo for uploading to your own web server (--base-href /path/for a sub-folder). The site includes an.htaccessfor Apache/cPanel and a_headersfile for Cloudflare Pages and Netlify.docs/WEB-DEMO.md#publishcovers uploading, nginx, Caddy, IIS and CDN headers, and how to check the result.
Fixed
- Running in Chrome no longer shows a blank screen (#30).
scripts/run.sh chromeandscripts/run.ps1 chromenow start the demo instead of refusing web targets. - The Cloudflare Pages demo no longer starts blank with "expected magic word
00 61 73 6d" (#61). A bare
flutter build webleaves outsqlite3.wasm, and Pages servedindex.htmlin its place.scripts/web-demo.sh deploynow builds with the demo script, refuses to upload unlesssqlite3.wasmis real WebAssembly, publishes with Wrangler and checks the live site. The Release workflow runs it after publishing the GitHub release (web-demo-deploy.yml).
Changed
- Opening the database now goes through separate native and web openers,
so the web build never loads
dart:io,dart:ffior the native sqflite plugin. The PDF report usescompute, which falls back to the page's thread in browsers.