Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Train fix (#7877): Show less sits below the rows it shows, and logical padding
milind-soniff74968b871a
diff --git a/src/components/SidebarThreadRow.tsx b/src/components/SidebarThreadRow.tsxindex 2469e3ab92..b5e643f222 100644--- a/src/components/SidebarThreadRow.tsx+++ b/src/components/SidebarThreadRow.tsx@@ -152,11 +152,12 @@ export function UngroupedThreadList<T extends ThreadRowTask>({ botId, tasks, act{(heading && tasks.length > 0 || disclosure) && <div className="pl-6 pr-3 pb-1 pt-2 text-[12px] leading-4 text-ink-tertiary">{t("task.list")}</div>}{visible.map(renderThread)}{disclosure && <>+ <div id={listId} role="group" aria-label={t("task.list")} hidden={!expanded}>{expanded && hidden.map(renderThread)}</div>+ {/* Below the rows it shows, so Show less stays at the end of the list. */}<button type="button" data-sidebar-ungrouped-disclosure="" aria-expanded={expanded} aria-controls={listId} onClick={() => setExpanded((value) => !value)}- className="inline-flex h-7 items-center pl-6 text-[13px] font-medium leading-4 text-ink-secondary hover:text-ink">+ className="inline-flex h-7 items-center ps-6 text-[13px] font-medium leading-4 text-ink-secondary hover:text-ink">{expanded ? t("attach.showLess") : t("attach.showMore", { count: hidden.length })}</button>- <div id={listId} role="group" aria-label={t("task.list")} hidden={!expanded}>{expanded && hidden.map(renderThread)}</div></>}</>;}