Skip to content

v1.2.7.14 β€” dDRM viewer + market UX patches (PDF DPR, zoom, 3D feed, creator label, channel icon)

Choose a tag to compare

@SashaMIT SashaMIT released this 07 May 05:23

What's new

Five user-visible bug fixes surfaced from testing feedback. Pure patch release β€” no protocol or schema changes, no companion launcher version required.

dDRM viewer

  • PDFs now sharp on 4K / HiDPI displays. Render bitmap at scale Γ— devicePixelRatio (capped 3Γ— for memory bounds) instead of a fixed 1.5Γ—; CSS keeps width: 100% with an explicit aspect-ratio so the canvas doesn't cause layout jumps while loading. Fixes PDFs looking soft / pixelated on Retina + 4K monitors.
  • Zoom-in no longer scrolls the page downward. setZoom() now recenters the viewport on every level change (oldLevel > 0) instead of only when oldLevel !== 1, so zooming in from 100% behaves the same as zooming in from any other level.

Elacity Market

  • 3D tab no longer flickers under narrow filters. When the API returns an empty page, mark the feed exhausted (browseTotal = browseOffset) so IntersectionObserver doesn't keep re-firing through setupFeedObserver recreations and showing skeleton loaders in a loop.
  • "Creator" label no longer appears under every channel name. Removed props.labelType as a fallback for channelName in catalogItemToNft β€” labelType is a metadata role tag (always literal "Creator" for assets minted via elacity-creator) and was leaking into the channel-name slot for any channel without a cached display name. The downstream GENERIC_NAMES handler resolves the real channel name on-chain via fetchChannelName, so the empty-string fallback is the correct behavior.
  • Channel icons now render on feed cards. Cards now enrich missing channel info via getOwnerAvatar(ch) β€” the same resolver the channels directory has used successfully β€” instead of a brittle ad-hoc imageURL || image pattern that produced unresolvable URLs for some channels.

Companion launcher release

None required. This is a test-app patch only; the pc2-node service binary and launcher are unchanged from v1.2.7.13.

Backward compat

Full backward compat. Patch-level version bumps for the affected apps:

  • `ddrm-viewer` 0.1.0 β†’ 0.1.1
  • `elacity-market` 0.2.0 β†’ 0.2.1

Files changed

  • `pc2-node/data/test-apps/ddrm-viewer/viewer.js` β€” PDF DPR scaling + zoom recenter
  • `pc2-node/data/test-apps/ddrm-viewer/app.json` β€” version bump
  • `pc2-node/data/test-apps/elacity-market/app.js` β€” feed exhaust guard + getOwnerAvatar enrichment
  • `pc2-node/data/test-apps/elacity-market/api.js` β€” drop labelType fallback
  • `pc2-node/data/test-apps/elacity-market/app.json` β€” version bump

Diffstat: 7 files / +111 / -12 (commit `52682c4fb`).