From 1b171c333567f49faa60c21eeed632024436e9bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Sat, 29 Aug 2026 09:28:39 +0100 Subject: [PATCH] the media preview steps through the folder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit passes `onNavigate` to the viewer, which turns on the platform's new carousel: arrows, a thumbnail strip and left/right/escape. `?view=` is an absolute path in this panel, so the step is written straight back — the name-relative-to-folder conversion the Files screen does is that screen's own convention rather than a rule the viewer imposes. Co-Authored-By: Claude Opus 5 --- manifest.ts | 2 +- web/MediaPanel.tsx | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/manifest.ts b/manifest.ts index cfe695f..0c1e823 100644 --- a/manifest.ts +++ b/manifest.ts @@ -35,7 +35,7 @@ import type { PluginManifest } from '@@/plugins/manifest'; */ export const manifest: PluginManifest = { publisher: 'officerdev', - version: '2026.08.29.25', + version: '2026.08.29.26', platform: '>=1.0.0', label: 'Fofos', diff --git a/web/MediaPanel.tsx b/web/MediaPanel.tsx index 6458a7f..0b98b46 100644 --- a/web/MediaPanel.tsx +++ b/web/MediaPanel.tsx @@ -128,6 +128,13 @@ export const MediaPanel = () => { { + const params2 = new URLSearchParams(params); + params2.set('view', next); + setParams(params2); + }} onClose={() => { const next = new URLSearchParams(params); next.delete('view');