add inline editor UI for description image uploads v1.56.198 — extractRepoAssetImages scrapes ![...](/repo/assets/...) from description_raw and renders a <figure> thumbnail grid; repoPage context gets can_edit_meta + viewer_is_contributor + description_images_html fields so the editor gate runs server-side (mirrors the apiRepoMeta gate). Template at pages.zig:685 + :750 + :760 (empty details) renders the editor + image toolbar + image cards for both operator and contributor viewers. Extended IIFE at pages.zig:815+ adds the image button file picker, dragenter/dragover/drop on the editable pane, ⌘V paste with image, and a local openLightbox so clicking .repo-desc img or .op-desc-image-card img opens the existing .ia-lightbox overlay. Fix: dblclick now places cursor at end instead of select-all, and the toolbar starts .hidden so non-editor viewers see no chrome.

dev · 6 weeks ago · 2026-07-15 · 15.0 MB

session: repo description image backend · agent: claude-opus-4-8

$ koh steal kepr.uk/kepr@5b912cd26709
·
← c0e79c705eee a915f39fc0eb →
⇓ download .face