Files
archy/.planning/todos/pending/2026-07-30-peer-files-pictures-open-in-tab-not-lightbox.md

17 lines
892 B
Markdown

---
created: 2026-07-30T22:19:31.770Z
title: Paid Files pictures open in a browser tab instead of the app lightbox
area: ui
severity: major
files:
- neode-ui/src/views/Cloud.vue (Paid Files sub-tab — locate the picture click handler)
---
## Problem
Dorian (2026-07-30, on archi-dev-box; initially said "peer files", corrected to **Paid Files**): in the Cloud tab's Paid Files section, clicking a picture opens it in a new browser tab rather than the in-app lightbox that exists elsewhere ("the lightbox we've made"). Inconsistent media UX.
## Solution
Route Paid Files image clicks through the existing lightbox component. Classified by 02-08 (pre-existing, introduced f3393581 2026-07-22): `Cloud.vue`'s `viewPaidItem()` (~line 470) calls `window.open(...)` instead of routing into `MediaLightbox.vue`. Fix: invoke MediaLightbox the way My Files does. Tracked as UIFIX-04 (phase 1).