mirror of
https://github.com/PR0M3TH3AN/Artstr-Studio.git
synced 2026-10-28 17:20:42 +00:00
Per-page editor gains a ⚡ Free / ⚡ N sats button that records the user's paywall intent on the manifest entry. Pages overview tiles surface a matching amber chip at the bottom-left so authors can scan paywall coverage at a glance. - openBookPageGatingDialog(entryId) prompts for a price in sats (empty / "0" clears the gating). Records as entry.gating = { mode: 'premium', priceSats, previewWatermark }. - syncBookPageEditBar swaps the button's label, colour, and title based on entry.gating; visible only when editing a page. - renderBookPagesGrid paints a .bookPageTileGateChip on tiles with premium gating. Limitation (deferred): publishBookPageToNostr does not yet route premium pages through _publishPremiumDesign — for v1 we persist the intent on the manifest, and the page event still publishes via the free path. Wiring the encrypted-publish + Reader-Mode unlock CTA lands in a follow-up (H1.2 / H3). Co-Authored-By: Claude Opus 4.7 <[email protected]>