Root location, above Database
empty like the one below it, and for the same reason: the block settles the shape and says what is coming, while what goes in it is not decided. the order is the order things are needed in — where the site is on this machine, then how to read its data. this is the block list paying for itself. adding the second setting was one entry and moved nothing, which is what the previous commit chose it for. 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.05',
|
||||
version: '2026.08.29.06',
|
||||
platform: '>=1.0.0',
|
||||
|
||||
label: 'Fofos',
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
import { Database } from 'lucide-react';
|
||||
import { Database, FolderRoot } from 'lucide-react';
|
||||
|
||||
/**
|
||||
* Administration — this plugin's own machinery, not the client's site.
|
||||
*
|
||||
* ── It is a list of blocks, and it starts with one ──
|
||||
* ── It is a list of blocks ──
|
||||
*
|
||||
* Not one form. Administration will hold several unrelated settings, and giving each its own titled
|
||||
* block from the start means adding the second one moves nothing — as against a single form that has
|
||||
* to be broken up the first time anything joins it.
|
||||
* Not one form. Administration holds several unrelated settings, and giving each its own titled block
|
||||
* means adding the next one moves nothing — as against a single form that has to be broken up the
|
||||
* first time anything joins it. The second block cost one entry, which is the point.
|
||||
*
|
||||
* The order is the order things are needed in: where the site is on disk, then how to read its data.
|
||||
*
|
||||
* ── What used to be here ──
|
||||
*
|
||||
@@ -45,6 +47,11 @@ const Block = ({
|
||||
|
||||
export const AdministrationPanel = () => (
|
||||
<div className="flex size-full flex-col gap-4 overflow-auto p-5">
|
||||
<Block icon={FolderRoot} title="Root location" hint="Where the fofos site is on this machine.">
|
||||
{/* Empty for the same reason as Database, below. */}
|
||||
<p className="text-xs text-muted-foreground/70">Nothing to set yet.</p>
|
||||
</Block>
|
||||
|
||||
<Block icon={Database} title="Database" hint="Where the fofos site's own data lives.">
|
||||
{/* Deliberately empty. The block exists so the shape is settled and so the screen says what is
|
||||
coming rather than looking like a section nobody finished — but nothing is decided about what
|
||||
|
||||
Reference in New Issue
Block a user