Skip to content

App: Home, tabs, and a list one level below what is open - #86

Merged
lydakis merged 40 commits into
mainfrom
claude/project-thread-060xsk
Oct 10, 2026
Merged

lydakis merged 40 commits into
mainfrom
claude/project-thread-060xsk

Conversation

@lydakis

@lydakis lydakis commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

Before: the left sidebar showed the whole tree, with each project's tasks folded under it. A click on a row replaced the main pane, and ⤢ swapped a task opened beside into full view.

After: a tab bar with Home and floating tabs runs along the top. The list moves to the right and shows one level below whatever is open:

  • At Home: the projects and the bots in no project.
  • In a project: its threads and swarms.
  • In a thread: what it made.
  • In a swarm: its agents.

A click on a row looks in beside, with its own composer. A double-click, or "Open as tab" in the row's ⋯ menu, opens a tab. Crumbs in the head (Home › project › thread) go back up, and the window title shows the same path. ⌘K opens whatever it finds as a tab.

This is H1 from the shipping plan, built from the v21–v23 prototype. Rich rendering (#81) has landed, so this now targets main; main was merged in at c5736a1.

Home Look in beside Project tab
Thread tab ⌘K Three tabs

How

  • List: each level is cut from the existing fleet tree in one pass over the open agent's subtree. It reuses the existing 300-row window and per-row status patches.
  • Look beside: this is the existing side pane, now in the list's place. Drafts, unseen marks and live updates all carry over.
  • Tabs: tabs are S.ui.tabs in the existing per-store saved state. A deleted agent's tab moves up to what made it.
  • Double-click: a row waits 230 ms before it looks in, so a double-click can claim it first.
  • Focus: a late focus no longer takes the keyboard from an open finder or sheet. The demo hit this when a look-in finished loading while ⌘K was open.
  • Removed: project folding, swap and auto-selecting the first bot. With no compatibility needed, they are deleted rather than kept alongside.
  • Scope: app only. There is no daemon or Rust change and no new dependency.

Performance

Headless Chromium on one synthetic fleet: 40 projects × 25 threads, with one thread per project holding 120 rounds. Five page loads per build. Main is 169cf40; R1 is the rich rendering branch this was measured on.

main R1 this PR
Window ready (attached, rows drawn), p50 802 ms 834 ms 198 ms
DOM nodes after load 3155 3223 572
JS heap 5.2 MB 5.7 MB 5.3 MB
⌘K to a new thread's last message, p50 / p95 26.4 / 37.8 ms 27.4 / 38.3 ms 23.2 / 32.4 ms
⌘K between two visited threads, p50 / p95 25.4 / 39.4 ms 25.0 / 35.5 ms 24.5 / 26.5 ms
Tab click between two visited threads, p50 / p95 n/a n/a 31.7 / 32.1 ms

Ready is faster mostly because Home draws 40 rows where the tree drew a 300-row window. The macOS webview was not measured.

Checks

  • node --test app/tests/state.test.cjs: 187 pass after the main merge.
  • cargo fmt --check: clean.
  • cargo clippy --workspace --exclude agent-app --all-targets -D warnings: clean.
  • cargo test --workspace --exclude agent-app: green.
  • Nothing in Rust changed.

Not done here: an overlay title bar on macOS. The crumbs live in the pane head and in the native window title instead, because drawing into the title bar needs a check on a Mac.

🤖 Generated with Claude Code

claude added 5 commits October 9, 2026 21:06
The libraries the next commit draws messages with, unmodified apart from
dropping source-map comments and wrapping vega-interpreter's ES module to
read vega-util from the vega global, so all of Vega is one lazily loaded
file. Versions and licenses in LICENSES.txt: marked 18.0.13, highlight.js
11.12.0 (common languages), Mermaid 11.17.2, Vega 6.4.0, Vega-Lite 6.4.3,
vega-interpreter 2.3.2.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
Messages draw as Markdown with highlighted code, Mermaid diagrams,
Vega-Lite charts (static SVG, data from the spec only) and ```html blocks
as previews in a sandboxed frame with no network. Streaming draws each
finished block once; the block still being written stays plain text. A
message is parsed once and its HTML kept with the item.

A path in a read, write or edit step, or a message's link to a path,
opens that file in the pane beside, drawn by its kind. The core gains
read_file (first 4 MiB, this machine only) and open_link (http, https and
mailto in the default browser).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
An ```html block in a message now opens as code and runs only when its
preview is clicked: a preview's scripts share the window's thread, so a
page a model wrote must not run merely by appearing. Hiding it removes
the frame. Previews someone ran run again when the pane is redrawn.

Diagrams and charts draw as they come near the screen instead of all at
once, and a reader below one that draws keeps their place. The drawn-SVG
cache is bounded by bytes as well as count, and keys a chart by width.
Drawing a message past the chat's decoded-byte bound now folds the
oldest bodies. CSV files keep quoted fields whole. An open file closes
with the agent or store it came from. read_file reads regular files
only, so a FIFO or device cannot hold a blocking thread.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
A chart in a message now opens as its spec and draws with a click, like
an HTML preview: Vega runs on the window's thread, and a short spec (a
sequence transform to a billion, a billion ticks) can ask for more than
it can draw. A chart drawn once shows again from the cache when its pane
is redrawn, and a chart file someone opens draws at once. Mermaid keeps
drawing near view; it bounds its own work.

A read, write or edit step keeps the path it named, whole, beside its
shortened summary, so its link and the reload after a write use the real
path.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
The list moves to the right and holds one level below the open agent:
Home's projects and loose bots, a project's threads and swarms, a
thread's helpers, a swarm's agents. A click on a row looks in beside
with its own composer; a double-click or "Open as tab" opens a tab.
Tabs float on a bar after Home; crumbs in the head go back up, and the
window title says where it is. ⌘K opens what it finds as a tab. Tabs
are remembered per store; a deleted agent's tab goes up a level.
Project folding and swap are gone.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LUfmHatoC6WnM3AUVJ4JA8
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T03:44:17.076463Z c5736a1 New commits
🔒 Security Review ✅ Completed 2026-10-10T01:13:20.534222Z e725e14 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Mermaid fetches a node's `img:` URL, and a `url()` in its theme CSS, while
it draws, so a diagram in a reply could make a request a model chose. The
window's policy now takes images, fonts, media and stylesheets only from
the app, data: and blob:; such a diagram fails with the reason in its
head and nothing is fetched.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 49c1ca6ee7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/ui/app.js Resolved
Comment thread app/ui/app.js Resolved
Comment thread app/ui/app.js Resolved
Comment thread app/ui/app.js Resolved
Comment thread app/ui/app.js Resolved
claude added 12 commits October 9, 2026 21:52
An ```svg block in a message now opens as code and draws with a click,
like HTML and charts: its filters and animations run on the window's
thread. A data: SVG image in Markdown shows as its text.

A preview is no longer remembered by its source, which ran every block
with the same source after a redraw and kept their text alive; running
is asked of one block, once, and a redraw shows it as code again.

CSV and TSV tables keep at most 256 columns, so a line of separators
costs no more than a wide table. A chat covered by a file beside is off
screen: its finished turn is marked unseen, and seen once the file
closes.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
A link the system opener refuses (no xdg-open, a failed open) now shows
why in a toast instead of doing nothing. The streaming scan remembers how
far an unfinished line was searched, so a long line arriving in pieces
is searched once. A diagram queued behind the same source takes the
first one's result, and a drawing larger than the whole cache budget is
shown but not kept.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
Mermaid lays out on the window's thread and its size limits do not bound
layout work: a 29-byte block-beta diagram with space:500000 holds the
window. Diagrams in a message now open as source like charts, html and
svg, and draw on a click; files opened beside the chat still draw at once.
The scroll watcher is gone.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
…ck the render bench

A raster data: image can decode far larger than its bytes and an animated
one takes CPU while shown, so it now waits for a click like every other
heavy block. A relative image target becomes a file link. The rendering
benchmark behind docs/APP.md's numbers is now app/bench/render.cjs.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
A Mermaid click link is an SVG <a xlink:href> outside .md's anchor guard,
so clicking it navigated the window to the model's URL. Every anchor in
drawn content now opens only through open_link, or not at all.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
…nks; ~name is the folder's

A GFM row is padded to its header's width, so a wide header and short rows
could ask the window for millions of cells; a table past 256 columns or
10,000 cells now shows as its source. The middle-click guard covers every
anchor in drawn content, xlink:href included. Only ~/ means home when
resolving a linked path.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
…only code

A list item or an emphasis is an element from a few bytes, so a message
that would draw past 100,000 tags (or runs past 50,000 lines, unparsed)
shows as its text. When the highlighter loads, only messages whose code
was drawn plain while it loaded are parsed again.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
claude added 3 commits October 9, 2026 23:05
…' into claude/project-thread-060xsk

# Conflicts:
#	app/tests/state.test.cjs
#	app/ui/app.js
A 4 MiB Markdown file of many fences just under 64 KiB each was highlighted
block by block before the tag bound could fall back. Highlighting now stops
at 256 KiB of code per message or file; later blocks are plain.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
… helpers listed, tabs keep identity

- From Home, Down opens the first agent and Up the last; the arrows read the
  rail's cached tree instead of rebuilding it per key.
- A focused tab opens on Enter or Space; its close button keeps its own keys.
- The second click of a double-click (event.detail === 2) opens the tab, so a
  slower double-click that lands on a row the look redrew still opens it. The
  separate dblclick handler is gone.
- An agent of a swarm, left out of the tree, lists what it made from who made
  whom, with counts one further down.
- Saved tabs and the agent beside carry the bot id, and restore drops one whose
  name now belongs to another bot.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LUfmHatoC6WnM3AUVJ4JA8

lydakis commented Oct 9, 2026

Copy link
Copy Markdown
Owner Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 860e0d7498

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 860e0d7498

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/ui/app.js Resolved
Comment thread app/ui/app.js Resolved
Comment thread app/ui/app.js Resolved
Comment thread app/ui/app.js Resolved
claude added 3 commits October 9, 2026 23:17
Each finished block of a streaming reply was checked against the line and
tag bounds alone, so many blocks under them could add up past them. The
blocks now share one budget, and past it the rest streams as plain text.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
…s as observed

A %3A in a linked name is now a colon in the file's name rather than a line
suffix or a URI scheme. docs/APP.md says what Chromium showed for a chart's
href (no link drawn) and that any drawn link uses the guarded opener.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
…ross a stream, cap a table's cells; bench the old renderer with its own stylesheet

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 213def1060

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 213def1060

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/ui/app.js Resolved
Comment thread app/ui/app.js Resolved
…once it loads; a chart asked for redraws at a new width; consent remembered for the last 1,024 blocks; docs say what draws unasked

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
…els, the finder and the arrows

Rows, Home, tabs, crumbs, the finder, keys and the app's own opens all go
through go(name, how), which first cancels a row's pending look, so a later
click or key always wins. A double-click opens the tab from where the
window was before its first click, which covers a look beside and a swarm
opened in place alike. The tree now holds every bot, a swarm's agents and
what they made under its row, and is cached once per fleet shape; the
list's levels, the finder and the arrow keys read it. openOnly, openTab,
closeTab, openBeside, full, closeSide, rowTwice, madeBy and countMade are
gone, and the swarm and hidden-subtree special cases with them.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LUfmHatoC6WnM3AUVJ4JA8

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4c5a80b6de

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/ui/app.js Resolved

lydakis commented Oct 10, 2026

Copy link
Copy Markdown
Owner Author

Navigation redesign in 4c5a80b

  • One path for every move. Rows, Home, tabs, crumbs, the finder, the arrow and Escape keys, and the app's own opens all call go(name, how). It cancels a row's pending look before changing anything.
  • Double-click. It opens the tab from where the window was before the first click.
  • One fleet index. The tree now holds every bot, a swarm's agents and what they made included, cached once per fleet shape. The list's levels, the finder and the arrow keys all read it.
  • Deleted: openOnly, openTab, closeTab, openBeside, full, closeSide, rowTwice, madeBy, countMade, the swarm-only restore and the hidden-subtree walk.

@codex review


Generated by Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 4c5a80b6de

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4c5a80b6de

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/ui/app.js Resolved
… and a redraw; a failed one asks again; the stream bench lays out every delta

A diagram or chart's id is now its turn or file plus a digest of its
source, so the streamed draft, the committed message and a redraw for
highlighting share it. A render that fails forgets its consent. The
stream bench reads and keeps the reader's place on every delta, as the
app's render does, and hydrates what each delta added.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
…' into claude/project-thread-060xsk

# Conflicts:
#	app/tests/state.test.cjs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e725e14ed4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/ui/app.js Resolved
A tab is saved with its bot's id and the id of the level above it, so a
tab whose agent was deleted while the app was closed comes back as its
maker. A live deletion's move up is saved at once. Any move clears a
row's pending look, so a later second click cannot open the old row.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LUfmHatoC6WnM3AUVJ4JA8
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

lydakis commented Oct 10, 2026

Copy link
Copy Markdown
Owner Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 776bd2c3e1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lydakis
lydakis force-pushed the claude/app-rich-rendering-896e1a branch from deab543 to bff8799 Compare October 10, 2026 03:24
Merged against the rich-rendering snapshot this branch last took, so main's final rendering code wins where H1 did not change it (marked.js stays removed, a link's context menu stays guarded).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LUfmHatoC6WnM3AUVJ4JA8
@lydakis
lydakis changed the base branch from claude/app-rich-rendering-896e1a to main October 10, 2026 03:37
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c5736a10f7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/ui/app.js
// - 'beside': beside what is open, with its own composer; the one already beside closes instead.
// - 'close': its tab closes, and an open one hands the window to the tab before it, or Home.
async function go(name, how = 'here') {
clearTimeout(rowLook.timer); rowLook.who = rowLook.before = null;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Cancel the pending row look when opening the finder

Keeping row-look cancellation solely inside go() misses controls that open an overlay without navigating. If a user clicks a row and presses Ctrl/⌘-K within 230 ms, openPicker() leaves the timer armed; it then opens the old row beside and loads its transcript while the user is searching, and cancelling the finder reveals that unexpected pane. Cancel rowLook when the finder (and similar keyboard-opened overlays) claims the interaction, rather than only when a later go() occurs.

Useful? React with 👍 / 👎.

Comment thread app/ui/app.js
Comment on lines +2791 to +2792
const tab = e.target.closest?.('[data-tab]');
if (tab && (k === 'Enter' || k === ' ') && !e.target.closest('[data-act]')) { await go(tab.dataset.tab); e.preventDefault(); return; }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve Space activation on tab close buttons

When focus is on a tab's × button and the user presses Space, this exclusion only skips the custom tab activation; the event then falls through to the printable-key fallback at line 2809, which moves focus to the main textarea during keydown. Native button activation for Space occurs on keyup, now delivered to the textarea, so the close button does not reliably click. Return after recognizing the nested action control, or otherwise avoid redirecting focus for interactive elements.

Useful? React with 👍 / 👎.

@lydakis
lydakis merged commit e3454e3 into main Oct 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants