{#if index.live.state === "failed"} index.start()} /> {:else if !index.loaded}

Loading…

{:else if needle}

{found.length === 0 && !searching ? "Nothing matches" : "Conversations"}

{#if found.length > 0}
{#each found as row (row.id)} {/each}
{/if} {#if files.length > 0}

Memory

{#each files as file (file.path)} {/each}
{/if}
{:else} {#each groups.slice(0, DAYS_SHOWN) as group, position (group.day)} {@const shown = isOpen(group, position)}
{#if shown}
{#if group.master} {/if} {#each group.branches as row (row.id)} {/each} {#each group.deep as row (row.id)} {/each} {#each group.others as row (row.id)} {/each} {#if group.forks.length + group.jobs.length > 0} {@const shownQuiet = jobsOpen.has(group.day)} {#if shownQuiet} {#each [...group.forks, ...group.jobs] as row (row.id)} {/each} {/if} {/if}
{/if}
{/each} {#if groups.length === 0}

No conversations yet. Start one, or wait for the morning master.

{/if} {/if}
onOpen?.(id)} bind:open={createOpen} />