the banner actually goes this time, and the crumb says Media
the previous commit claimed to remove the explanatory line and did not. prettier had reflowed that JSX onto one line, my multi-line match missed, and the commit carried only the version bump — which I then reported as done. the banner was still on fofos and the owner saw it. same shape as the git-add failure earlier today: a command that did not do what I asked, and no check afterwards. verified by grep this time before committing — 0 occurrences. and the breadcrumb now reads Media rather than originals, through `rootLabel` on the platform's FileBrowserApp. the folder's name on disk is how this plugin lays out a root; the person looking at it never chose that word. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ import type { PluginManifest } from '@@/plugins/manifest';
|
||||
*/
|
||||
export const manifest: PluginManifest = {
|
||||
publisher: 'officerdev',
|
||||
version: '2026.08.29.21',
|
||||
version: '2026.08.29.22',
|
||||
platform: '>=1.0.0',
|
||||
|
||||
label: 'Fofos',
|
||||
|
||||
+12
-15
@@ -81,23 +81,20 @@ export const MediaPanel = () => {
|
||||
|
||||
const base = `${settings.rootRelative === '/' ? '' : settings.rootRelative}/${ORIGINALS}`;
|
||||
|
||||
return (
|
||||
<div className="flex size-full flex-col overflow-hidden">
|
||||
{/* Said once, at the top, because the whole point of this panel is that it shows ONE of the two
|
||||
folders. Without it, somebody who knows `derived/` exists would think it had been lost. */}
|
||||
<p className="shrink-0 border-b border-border px-4 py-2 text-xs text-muted-foreground">
|
||||
Uploads live here. The converted copies in <code>derived/</code> are made from these and are not edited by hand.
|
||||
</p>
|
||||
/*
|
||||
Just the browser. No banner explaining `derived/`.
|
||||
|
||||
The people using this upload photographs; the two-folder split is the machine's business, not
|
||||
theirs. A line at the top of every visit is a permanent tax paid by everyone to answer a question
|
||||
almost nobody asks — and it is written properly in the affordance and the plugin's docs.
|
||||
|
||||
`rootLabel` so the breadcrumb reads "Media" rather than "originals": the folder's name on disk is
|
||||
an implementation detail of how this plugin lays out a root, and the section is called Media.
|
||||
|
||||
<div className="min-h-0 flex-1">
|
||||
{/*
|
||||
`panelId` so the folder somebody is in survives a reload — without it every refresh drops them
|
||||
back at the top of originals, however deep they were.
|
||||
*/}
|
||||
<FileBrowserApp basePath={base} panelId="fofos-admin-media" />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
back at the top, however deep they were.
|
||||
*/
|
||||
return <FileBrowserApp basePath={base} rootLabel="Media" panelId="fofos-admin-media" />;
|
||||
};
|
||||
|
||||
const Notice = ({ icon: Icon, children }: { icon: typeof FolderOpen; children: React.ReactNode }) => (
|
||||
|
||||
Reference in New Issue
Block a user