perf(panel): cached info and history paint first, lazy markdown up the thread, background prefetch
This commit is contained in:
@@ -132,6 +132,7 @@
|
||||
}
|
||||
|
||||
const refresh = () => index.load().catch(() => undefined);
|
||||
const warm = (id: string) => index.prefetch([id]);
|
||||
|
||||
// What the agent did on its own that day: digests and scheduled runs.
|
||||
function quietSummary(group: DayGroup): string {
|
||||
@@ -208,6 +209,7 @@
|
||||
{now}
|
||||
onChanged={refresh}
|
||||
onclick={onOpen}
|
||||
onWarm={warm}
|
||||
{row}
|
||||
/>
|
||||
{/each}
|
||||
@@ -283,6 +285,7 @@
|
||||
{now}
|
||||
onChanged={refresh}
|
||||
onclick={onOpen}
|
||||
onWarm={warm}
|
||||
row={group.master}
|
||||
/>
|
||||
{/if}
|
||||
@@ -295,6 +298,7 @@
|
||||
{now}
|
||||
onChanged={refresh}
|
||||
onclick={onOpen}
|
||||
onWarm={warm}
|
||||
{row}
|
||||
/>
|
||||
{/each}
|
||||
@@ -307,6 +311,7 @@
|
||||
{now}
|
||||
onChanged={refresh}
|
||||
onclick={onOpen}
|
||||
onWarm={warm}
|
||||
{row}
|
||||
/>
|
||||
{/each}
|
||||
@@ -319,6 +324,7 @@
|
||||
{now}
|
||||
onChanged={refresh}
|
||||
onclick={onOpen}
|
||||
onWarm={warm}
|
||||
{row}
|
||||
/>
|
||||
{/each}
|
||||
@@ -347,6 +353,7 @@
|
||||
{now}
|
||||
onChanged={refresh}
|
||||
onclick={onOpen}
|
||||
onWarm={warm}
|
||||
{row}
|
||||
/>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user