fix: event-loop freezes, plugin-install boot crash, tmux attach/scrollbar, Codex transcripts
- GET /api/workflows: one LEAD() window pass in a read worker (read-pool.js, workflow-stats.js); idx_events_session restored, idx_events_tool added - compat-sqlite gains function/pluck/readonly so a plugin install without a better-sqlite3 build boots again; antigravity-usage uses db.js's Database - install-hooks adds no checkout hooks while the agenthub plugin is enabled (events were doubled) - terminal attach runs the live tmux server's own binary; the pane scrollbar gets a visible 2-column style, and claude panes start with CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1 so tmux keeps history to scroll - Codex sessions' conversation in GET /api/sessions/:id/transcript - Codex/Antigravity sessions claimed by their workspace without hooks - UI-audit follow-ups, docs and OpenAPI
This commit is contained in:
@@ -751,7 +751,9 @@ export function LaneDiffView({
|
||||
const [anchor, setAnchor] = useState<{ top: number; left: number } | null>(null);
|
||||
const place = useCallback(() => {
|
||||
const r = anchorEl.current?.isConnected ? anchorEl.current.getBoundingClientRect() : null;
|
||||
if (r) setAnchor({ top: r.bottom + 2, left: r.left });
|
||||
// A long diff unmounts rows scrolled out of its window, the clicked number
|
||||
// with them: the box docks under the diff rather than float over other lines.
|
||||
setAnchor(r ? { top: r.bottom + 2, left: r.left } : null);
|
||||
}, []);
|
||||
useEffect(() => {
|
||||
if (commentAt == null) return;
|
||||
@@ -764,7 +766,6 @@ export function LaneDiffView({
|
||||
? {
|
||||
open: (line: number, el?: HTMLElement) => {
|
||||
anchorEl.current = el ?? null;
|
||||
setAnchor(null);
|
||||
place();
|
||||
setCommentAt(line);
|
||||
setUndelivered(false);
|
||||
|
||||
Reference in New Issue
Block a user