- split into nav (vertical section menu) + view panels via soulseek:section channel - search view: history list + input, opens results subpanel for a past search - search results load stored responses (no re-run), session-cached, ranked - remove client from effect/callback deps (useClient is a fresh object per render) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
12 lines
357 B
TypeScript
12 lines
357 B
TypeScript
import type { LayoutNode } from 'officerdev';
|
|
|
|
export const defaultLayout: LayoutNode = {
|
|
type: 'group',
|
|
id: 'soulseek-root',
|
|
direction: 'horizontal',
|
|
children: [
|
|
{ node: { type: 'panel', id: 'soulseek-nav', appType: 'soulseek-nav' }, size: 22 },
|
|
{ node: { type: 'panel', id: 'soulseek-view', appType: 'soulseek-view' }, size: 78 },
|
|
],
|
|
};
|