Files
react-website/CHANGELOG.md
Mehboob Khan 63a36e0dca Initial commit: BlackDice site rebuild with integrated CMS
Rebuilds content management around a single admin route (/admin —
"BlackDice Studio"), replacing blackdice-studio.html. Publishing writes
one JSON content document instead of regenerating HTML files, so it can
no longer overwrite hand-made site changes the way the old tool did.

- /admin: click-to-edit copy/images, article CRUD with a Word-safe rich
  text editor, demo clip management, per-page SEO, enquiry log, publish
  history with rollback
- Real per-page URLs for all pages and articles, each with its own
  meta/canonical/OG/JSON-LD
- Newsroom + article pages driven by the CMS post library, seeded from
  the old studio's export (17 articles) plus a drafted GSMA Open Gateway
  press release awaiting approval
- Demo sections on Mobile SDK and Halo CPE, interactive by default and
  upgradable to an uploaded clip per slot
- Dependency-free Node API server (auth, publish, uploads, snapshots,
  leads, live sitemap)
- Deployment configs for Node/nginx/IIS, Vercel and Netlify

See docs/ARCHITECTURE.md, docs/PROJECT-STRUCTURE.md, docs/CMS-GUIDE.md
and docs/DEPLOYMENT.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-12 23:52:44 +05:00

2.8 KiB

Changelog

2026-08-12 — CMS rebuild

Rebuilt the site's content management around a single admin route (/admin — "BlackDice Studio"), replacing blackdice-studio.html.

Added

  • /admin — password-gated CMS with a live preview of the real site: click-to-edit copy and images, animated-stat editing, full article CRUD with a Word/Outlook-safe rich-text editor, demo-clip management, per-page SEO, enquiry-form log with CSV export, and publish history with one-click rollback.
  • server/index.mjs — dependency-free Node API: auth, content publish, uploads, snapshots, leads, and a live /sitemap.xml.
  • Real per-page URLs for all 12 pages and every article (/mobile-sdk, /blog/<slug>, …), each with its own title, meta description, canonical/OG tags and JSON-LD, working browser back/forward, and HubSpot virtual pageviews.
  • Newsroom + article pages driven by the CMS post library — the same 17 articles imported from the old studio's export, plus a drafted press release announcing the GSMA Open Gateway channel partnership (awaiting approved quotes and dates before publishing).
  • Demo sections on Mobile SDK (scam call, scam SMS, SIM swap, per-device DNS, permissions checking — interactive by default, upgradable to an uploaded clip per slot with no code change) and Halo CPE (Retina + Angel walkthrough slots).
  • data-cms / data-cms-img / data-cms-num hooks injected into the page markup by scripts/inject-cms-ids.mjs (idempotent, 652 fields) — this is what makes every piece of copy independently editable.
  • scripts/seed-content.mjs — imports a blackdice-studio.json draft, extracting and downscaling base64 hero images and sanitising Word-pasted body HTML.
  • Enquiry forms across the site (Talk to us / Book a demonstration / mailto links) now record submissions server-side in addition to opening the visitor's mail client, addressed to a CMS-configurable recipient.
  • Deployment configs for Node/nginx/IIS, Vercel and Netlify.
  • docs/ARCHITECTURE.md, docs/PROJECT-STRUCTURE.md, docs/CMS-GUIDE.md, docs/DEPLOYMENT.md.

Fixed

  • Publishing could wipe hand-made site changes. The old tool exported whole HTML files on every save, discarding any manual edits to links, forms or SEO tags made outside it. Content is now a separate JSON document that never touches the markup — see docs/ARCHITECTURE.md §2.
  • Articles, product pages and the CMS itself previously had no independent URLs, so they couldn't be shared, bookmarked, or indexed separately by Google.

Changed

  • src/main.tsx now defines one real route per page instead of a single catch-all rendering the whole site.
  • src/site/siteController.js's go() now pushes real history entries via a navigator injected by the router, instead of only toggling page visibility.