You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compare: the run list opens at the window's left edge, not under its Choose a run button #387
low. The surface only: Compare's script and the table toolkit's menu script.
Components
app/nullius (backend)
app/web (routes)
templates and static files
docs and the site
catalogue (benchmarks, agents, capabilities)
the standard (ports, kits, relay, runs)
CI, workflows and skills
Evidence
Measured in Chromium at 1280 x 800 on main, Compare with two columns:
The second column's "Choose a run" button is at x = 926. Its run list opens at x = 0, at the left edge of the window, over the sidebar.
The list's inline style keeps top and width but has no left.
The list is 471 px high and starts at y = 349, so its bottom is at y = 820 on an 800 px window. The last runs cannot be reached without scrolling the page.
After a scroll, the list moves back under its button.
Cause: app/static/compare/columns.js lines 94-98 set the list's left in a click handler registered before NulliusTable.menu(btn, menu) (line 99). That function's own click handler then clears it: menu.style.left = menu.style.right = '' (app/static/tables.js, line 142, from #249). The list is position: fixed (app/static/compare/comparison.css, line 30), so the base .menu rule puts it at the window's left edge.
The other menus that NulliusTable.menu drives (Columns, Filter, Sort by, Compare's Order and the chart menus) do not set their own position and open under their buttons.
Screenshot
Reproduction
Open Compare with a workspace that has runs.
Click "Choose a run" in the second column.
Expected
The run list opens under its button, inside the window. When there is not enough room below the button, it opens above it, or its height is limited to the room left.
Acceptance
The run list opens under its "Choose a run" button in every column, at 1280 and 390 px.
The run list stays inside the window: it opens above its button, or limits its height, when there is not enough room below.
The other menus of the table toolkit still open under their buttons.
Dependencies and related
The position is cleared by the menu code added in #249. Compare's columns come from #206.
Activity
fix(compare): open the run list under its button, inside the window (T…