Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

refactor([inline-confirm-row-primitive]): drop unused warning tone, log border-b variant follow-up

[._.]/ Adam Eivy8e4f1318ea87
diff --git a/PLAN.md b/PLAN.md
index 9d2e2fecfb..8925c99b6e 100644
--- a/PLAN.md
+++ b/PLAN.md
@@ -6,6 +6,7 @@ For project goals, see [GOALS.md](./GOALS.md). For completed work, see [.changel
Claimable, well-specified, no decision needed — `/claim`-able. Unordered.
+- [ ] [inline-confirm-row-border-b-variant] **Add a separator-style (`border-b`) variant to `<InlineConfirmRow>` and migrate the four bottom-border confirm rows.** The `[inline-confirm-row-primitive]` extraction covered the five boxed (`border … rounded`) confirm rows, but four more delete-confirm rows use a full-width separator treatment instead — bottom-border only, no rounded box, `text-sm`, wider padding: `client/src/components/brain/tabs/DailyLogTab.jsx:554` (`px-3 sm:px-4 py-2 … border-b … flex-wrap … text-sm`), `client/src/components/brain/tabs/NotesTab.jsx:503` (`px-4 py-2 … border-b … text-sm`), `client/src/components/wiki/tabs/BrowseTab.jsx:258` (same as NotesTab), and `client/src/components/brain/links/BucketCard.jsx:158` (`px-3 py-2 … border-b`, no `text-sm`). These were left out of the primitive PR because they're a genuinely different visual variant (attached separator strip vs standalone boxed row), not just a `className` tweak — migrating them needs a `variant: 'box' | 'separator'` (or `bordered`/`rounded` flags) + a `size`/`text` knob on `InlineConfirmRow` so the strip layout (`border-b`, no rounding, `text-sm`, flex-wrap on DailyLog) is expressible without leaking call-site overrides. Surfaced by the `/simplify` reuse pass on the primitive PR.
- [ ] [rich-text-editor-for-prose-stage-replace-plain] **Rich-text editor for prose stage.** Replace the plain textarea in `ProseStage.jsx`. **Decision (resolved 2026-05-30): reuse the existing Writers Room editor** rather than introducing a new markdown-editor dependency — it already exists, keeps the prose-editing experience consistent across surfaces, and avoids a third editor stack. Extract/share the Writers Room editor component for the prose stage.
- [ ] [scene-level-wardrobe-picking-per-scene] **Scene-level wardrobe picking.** Per-scene `characterAppearances: [{ characterId, wardrobeId? }]` on storyboard scenes with a wardrobe-picker dropdown. **Decision (resolved 2026-05-30): the user picks (no extractor guess), and wardrobe is APPENDED after `physicalDescription` (it does not substitute body fields).** Rationale: wardrobe is a deliberate creative choice — auto-guessing adds noise the user must then correct, and substituting body fields would lose canonical character description. Both are reversible if the extractor-guess path is wanted later.
- [ ] [setup-browser-canary-headless] **Managed-browser headed/headless default.** `data.reference/browser-config.json` ships `"headless": true`, but `browser/server.js`'s header comment says "Default headed" and opting into Canary at setup currently runs it invisibly. **Decision (resolved 2026-05-30): default HEADED.** The whole purpose of the custom-Chrome-binary feature is a *visible, differentiated* browser, so headless-by-default defeats it. Flip the seed to `"headless": false` AND set `config.headless = false` in `scripts/setup-browser.js#applyCanaryToConfig` (this also closes item (c) of `[chrome-canary-followups]`). Ship a one-time migration that flips the seed value only where the installed config still matches the old shipped hash; leave user-customized values alone.
diff --git a/client/src/components/ui/InlineConfirmRow.jsx b/client/src/components/ui/InlineConfirmRow.jsx
index 0d0d55efcf..6ddd6004ef 100644
--- a/client/src/components/ui/InlineConfirmRow.jsx
+++ b/client/src/components/ui/InlineConfirmRow.jsx
@@ -5,15 +5,13 @@
//
// Tones pre-compose full Tailwind class names — the JIT scans for complete
// tokens, so `bg-port-${tone}/10` would NOT generate the utility. Spell it out.
+// Only `error` ships today (every confirm row is destructive); add a map entry
+// when a non-destructive tone is actually needed.
const TONES = {
error: {
wrapper: 'bg-port-error/10 border-port-error/30',
confirm: 'bg-port-error text-white hover:bg-port-error/80',
},
- warning: {
- wrapper: 'bg-port-warning/10 border-port-warning/30',
- confirm: 'bg-port-warning text-black hover:bg-port-warning/80',
- },
};
export default function InlineConfirmRow({
diff --git a/client/src/components/ui/InlineConfirmRow.test.jsx b/client/src/components/ui/InlineConfirmRow.test.jsx
index 161319036d..cbf03e97ec 100644
--- a/client/src/components/ui/InlineConfirmRow.test.jsx
+++ b/client/src/components/ui/InlineConfirmRow.test.jsx
@@ -52,11 +52,10 @@ describe('InlineConfirmRow', () => {
expect(wrapper.className).toContain('bg-port-error/10');
});
- it('applies the warning tone when requested', () => {
- render(<InlineConfirmRow question="x" tone="warning" />);
+ it('falls back to the error tone for an unknown tone value', () => {
+ render(<InlineConfirmRow question="x" tone="bogus" />);
const wrapper = screen.getByText('x').closest('div');
- expect(wrapper.className).toContain('bg-port-warning/10');
- expect(screen.getByRole('button', { name: 'Delete' }).className).toContain('bg-port-warning');
+ expect(wrapper.className).toContain('bg-port-error/10');
});
it('renders buttons as type=button so they never submit a surrounding form', () => {