Repository navigation
Show the native result history on the Research page - #9335
loopx-agent wants to merge 4 commits into
Conversation
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
Request changes conclusion (author-owned PR; GitHub blocks formal self-review)
- [P2] 在密集曲线上持续标记保留项和无效项。 增加第 25 条时,图上只把最后一条渲染成按钮。此前的保留项和无效项被合入同一种普通点,直到手动选中才有各自标识。 桌面和 390 px 同样复现。在两种密度模式下始终用独立样式显示保留项和无效项,保留选择器用于定位。 曲线分支
- [P2] 避免重叠点打开另一条记录。 在 390 px 的 24 条稀疏记录中,坐标上点击第 1 点会打开第 20 条证据。键盘直接激活第 1 项仍能读回第 1 条。 样例的索引为 1–23、500,前段有效值相同。按实际点间距检测重叠,提供可区分的选择器或显式消歧;保持键盘和鼠标选择同一固定记录引用。 点位与引用
动机 / Motivation
在 Research 页定位实际保留项、无效提交及其原始证据的用户。 两组捕获仅相差第 25 条记录,保留项和无效项保持相同。再查看 24 条含大缺口的捕获。 完整捕获已能在既有 Research 详情显示,数据多于 24 条或分布稀疏时,图表仍无法正确保持标记或指向证据。 本轮验证源码、隔离 HTTP 和真实 Chromium 桌面与窄屏的组件。正式安装和远端 CI 未核验。
改动思路 / Approach
复用已有 pack、读回和绑定引用 owner。选定详情核对冻结文件摘要及 typed projection,再传出原生样本。只读注册、目录与分析键沿用原契约。旧来源发生变化时,原有摘要仍可以按历史捕获读回。 原生读回
具体改动 / Changes
对照 49881d5a3ac25adf8c105b2dbfdb109716cefbcb 审阅 afa190bb355c46efa9186f91de68c377879f42af 的九个文件,+181/−18。沿既有 docs/reference/trajectory-assessment.md 复核保留事实与原始摘录。retained-mark 与 bound-point-evidence 两项界面验收未通过。保留与无效样式均应独立于选择器的当前选项。前端按真实提交号设置横坐标,非法或缺失索引使折线路径断开。问题出现在分支只按总条数切换处理,并用重叠按钮接收点击。 契约 · 新增展示说明
对主干的风险 / Risks
语义与 CI 对齐
51 项 TypeScript 及 83 项 Python 测试通过,含原生 HTTP 摘录和源文件变化后保留摘要。 组件用正式 CSS 与合成已验样本复现两个用户可见问题,真实 HTTP 摘录单独测试。图表点位的点击接受了错误的证据引用。未启用新 provider,真实部署的 CI 状态未知。
我的整体评价 / Verdict
1200 px 与 390 px 的默认图表均缺少保留标记。独立验证以源码组件和真实样式为界,未重跑打包 App。
让密集模式保留状态标记,为重叠的点提供明确选择路径,并用固定提交索引核对鼠标和键盘读出的来源。加入跨 24 条阈值和大索引间隔两种边界样例后,再用实际入口复验。
English verdict: REQUEST_CHANGES at afa190b. Keep retained and invalid states visible at higher density and prevent overlapping chart controls from opening evidence for a different submission.
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
Request changes conclusion (author-owned PR; GitHub blocks formal self-review)
[P2] 改选提交后关闭原文时恢复图表焦点。 关闭时重新解析仍可用的证据按钮。原按钮已卸载时,把焦点交回稳定的提交选择器并保留当前选择。 按所选项挂载按钮 · 关闭原文的焦点逻辑
动机 / Motivation
在 Research 页面逐条读原始测量并比较相邻提交的用户,需要在读完摘录后继续用键盘定位。 上一提交 afa190bb355c46efa9186f91de68c377879f42af 的两项求改均在本次通过。第 24/25 条切换时保留结果 11 和无效提交 6 的标记均保留。390 px 下压缩索引 1–23 与 500 由选择框打开正确原文。把宽屏直接点击后的阅读面板缩到 390 px,关闭后正常回到提交 1。
在 390 px 的 25 条图表中选第 1 条,按 Enter 查看原文。原文保持打开时从定位框改选第 13 条,再在原文区按 Escape。 原文仍绑定第 1 条,但切换选项会卸载第 1 条的证据按钮。关闭后焦点落到 body,随后 Tab 跳到「来源与用量」,脱离提交选择。 使用精确源码构建的 Chat bundle、真实 Chromium 和隔离 SQLite/HTTP 合成捕获。
改动思路 / Approach
复用已注册 pack、冻结摘要校验和原文读取。原生测量状态独立于点击控件绘制。空间足够时可直接点击,间距不足时用提交选择框和旁边的证据按钮。该设计使压缩的横轴仍按实际提交号显示。当前可把焦点修正留在已有读取控件中。 原生投影 · 来源读回
具体改动 / Changes
完整核对 34c90116d89c1dc3127c2aca17cf1ffa403895b6 对 49881d5a3ac25adf8c105b2dbfdb109716cefbcb 的 10 个文件,+271/−20。本轮增量涉及作图、选择器、样式、浏览器回归与文档。后端核对冻结摘要与现有投影一致后才返回逐项样本,旧包的摘要、目录和分析键保持。无效值为 null,缺号与无效值使折线断开。有效的源文件被修改后,历史摘要保持可读,详细样本和新增摘录范围随即撤回。
沿 docs/reference/trajectory-assessment.md 复核,retained-mark 保留与无效标记、bound-point-evidence 证据绑定均通过。关于 focus-return-after-picker-change 的反例仍待修正,切到窄屏与改选提交分别验证。 契约 · 浏览器回归
对主干的风险 / Risks
语义与 CI 对齐
51 项 TypeScript、83 项 Python 通过。精确提交的 Chat bundle 通过 Chromium 与隔离 SQLite/HTTP 的 7 次原文读取,包含 1440、390、320 px、鼠标、触控和键盘。 真实读取覆盖第 1 条及压缩序列第 500 条,夹具核对零写请求及原始来源未改动。改选后关闭的焦点缺口发生在同一包与同一来源。
我的整体评价 / Verdict
1440 和 390 px 的保留圆点、无效叉和断线均可辨认。390 px 改选后关闭原文会丢失键盘位置。 正式安装和真实归档未独立复跑。未查询 CI。
请用同一 25 条捕获补上「打开 1 → 改选 13 → Escape」回归。验收时按 Tab 继续浏览,应留在同一图表的证据操作路径。并保留宽屏直接点选、窄屏定位及冻结来源失效的现有回归。
English verdict: REQUEST_CHANGES at 34c9011. The marker and overlap fixes pass. Restore keyboard focus when changing the submission unmounts the original evidence button.
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
Request changes conclusion (author-owned PR; GitHub blocks formal self-review)
动机 / Motivation
研究页应让用户读到同一个原生捕获中的每次提交和原文,并在关闭原文后继续键盘核对。此前的密集标记和压缩命中区问题已修复。25 条固定窄屏中,打开第 1 条后改选 13,Escape 聚焦选择框并保留 13,Tab 和 Enter 打开第 13 条。 这次改动的边界是既有包的逐条只读核对。研究执行、授权和安装验收沿用各自流程。
打开已有原生捕获的用户需要快速定位一次提交及其原文。 最新修订恢复了固定窄屏的回焦。阅读中展开到逐点模式时,焦点仍会丢失。 真实打包 Research 复核内容身份和固定宽度回焦;跨布局回焦存在 P2 缺口。 布局切回逐点按钮后的键盘焦点仍需恢复。
基准版本的轨迹验收契约 覆盖 capture-binding、retained-truth 和 historical-readback。
改动思路 / Approach
已注册捕获继续提供提交顺序、有效性、保留结果和引用身份。读图控件随点距切换,引用仍绑定打开时的提交。此提交用函数延后解析触发控件,对固定宽度下被改选卸载的按钮回退到选择框。当前两种布局的控件都可能在同一阅读过程中替换。
保留原有捕获、摘要和引用的决定权;新增序列是已验证文件的派生读回,点位避让只属于网页布局。 既有只读包的逐条读回与前端模式切换,焦点承接需补完。
具体改动 / Changes
关键代码讲解
- 原生提交曲线与点距决策 根据绘图空间选择逐点按钮或选择框,失效与保留标记来自同一捕获。
- 选择框及其焦点解析 读取快照时保存触发按钮,关闭时尝试该按钮或当前选择框。
- 原文面板关闭 使引用失效后在下一帧解析并聚焦触发控件。
[P2] 展开曲线后关闭原文会丢失键盘焦点
以可切换布局的 24 条记录为例。连续 24 条在 390 px 打开第 1 条,再选第 13 条,原文仍显示第 1 条。视口扩大到 1280 px 时切换为 24 个点控件,Escape 后焦点落到 BODY。 新布局中的第 1 和第 13 个按钮都已挂载。旧的按钮已在改选时卸载,宽屏又移除了选择框,导致回焦回调返回空值。建议把回焦解析放在当前曲线中,通过提交身份搜索当前已挂载的可聚焦控件。在现有打包 Research 浏览器场景加入 24 条 390→1280 px 路径,核对原始第 1 条、Escape 后曲线焦点及下一次提交的准确原文。
对主干的风险 / Risks
用户调整窗口或旋转设备后,Tab 会从页面起点重新导航,需要重新找到结果曲线。缺陷限于当前曲线在同一引用会话中更换选中按钮和布局的组合。引用身份、读取权限与历史摘要仍由原路径控制。当前头 Chat 和桌面构建成功,51 项 TypeScript 和 29 项 Python 测试通过。真实 SQLite 打包 Chat 的跨宽度键盘回归仍失败。 预合并检查状态为 manual_review_required。 浏览器复验使用隔离的 SQLite 和固定合成包,正式安装验收另行完成。
我的整体评价 / Verdict
独立核对当次精确打包 Chat 的 1280 和 390 px 视口及 390 px 原文展开。 合成捕获和真实隔离 SQLite,未验正式安装或生产来源。
固定宽度回归通过。下一步应覆盖连续 24 条记录跨布局关闭原文时的焦点承接,并验证键盘可直接打开下一条记录。原文与打开时的提交继续保持同一绑定。这个局部改动可以用现有浏览器场景验证,再复审此提交。
English verdict: REQUEST_CHANGES at 7f87e2d. The fixed-width picker path passes. Restore focus to a mounted chart control when the picker disappears after changing the selection and widening the viewport.
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
动机 / Motivation
查阅已有原生捕获的研究用户需要连续核对各次提交及其原文。 主干的摘要只给少量入口,拥挤处逐条定位也影响后续证据核对。连续 24 条在 390 px 打开第 1 条,改选第 13 条后扩大到 1280 px。上次审查头按 Escape 后焦点落到 BODY,当前提交聚焦第 13 条的点按钮,再按 Enter 打开第 13 条的原文。 两种布局读取同一注册包。改选或改变窗口宽度时,已经打开的原文仍绑定第 1 条。 该改动的范围是只读研究结果页及对应浏览器回归。分析执行、授权和正式安装验收各有自己的流程。
主干验收契约 覆盖 capture-binding、retained-truth 和 historical-readback。
改动思路 / Approach
沿用原有捕获、历史摘要和引用的归属校验,响应式布局继续由 Research 组件决定。 当前提交交付逐条原生读回和响应式键盘回焦,复用原有的包、引用和失败恢复入口。 界面以当前图的 DOM 控件恢复焦点。原触发按钮消失时先尝试选择框,展开到逐点布局后从当前选中的点恢复。以同一个合成包对照上次与当前打包版本,可以隔离这条交互差异。
具体改动 / Changes
关键代码讲解
- 原生序列来源 从已经绑定的包提供逐次记录,仅在详情或证据入口读取样本,原有历史摘要可以继续读回。
- 当前选中点和回焦决策 在直接点和密集选择器之间切换时,将 ref 保持在当前选中的按钮。触发按钮卸载后用仍存在的控件续接键盘。
- 原文关闭处理 延迟到下一帧解析控件,并检查引用代际,避免过期请求夺回焦点。
新提交比上一个已审提交改动三处,涉及组件回焦、公开说明和真实浏览器回归。包检查、引用读回和摘要逻辑在这两个提交之间没有改动。 独立验证还覆盖 24 条由宽变窄、25 条固定窄屏改选,以及索引 1–23 和 500 的压缩序列。最后一组可精确打开第 1 条且保留 24 个可选项。
对主干的风险 / Risks
焦点解析只作用于现有引用面板的关闭路径。旧包仍沿用已注册的源身份和只读权限,来源丢失时保留历史摘要。Chat 和桌面构建通过,51 项 TypeScript 和 29 项 Python 测试通过。预合并的 6 项直接和 17 项选中检查均无失败,benchmark_sensitive 仍需维护者人工复核。 这批改动的交互风险集中在控件卸载与重建,维护中的浏览器场景固定了决定性反例。
我的整体评价 / Verdict
已独立检查当前打包 Chat 的 1280 px 和 390 px 视口。宽屏第 13 个点出现焦点框,窄屏操作相邻,展开的原文显示行 13。 独立浏览器复验使用合成包与隔离真实 SQLite,正式安装与生产负载尚未验收。 上一个提交的 P2 在同一实际入口已复验关闭,可以推进当前提交的评审。回焦修复和原文绑定均满足本次验收。
English verdict: APPROVE at a06d3ff. The packaged Research page keeps the first excerpt pinned and returns focus to submission 13 after the narrow-to-wide layout change, with correct inverse, dense, and compressed cases.
User outcome
Open Research in a Goal with a verified native capture to see every recorded submission. Open a point to read its original evidence. When points overlap or the series is dense, use the submission picker and its adjacent evidence action. Closing the excerpt returns focus to the original action. When the selection changes while the excerpt is open, closing it returns to the picker and preserves the new selection.
A larger filled dot identifies the retained result. Crosses mark invalid submissions. The curve breaks at invalid or missing indices. The existing assessment owner supplies the sequence for the selected pack. Historical captures keep the saved summary if the verified artifact becomes unavailable.
Visual evidence
Packaged Chat at
a06d3ffce898fffcd796f5a2b9afa27f0843130fusing the isolated SQLite Research backend and public synthetic fixtures. The first viewport shows the measured sequence and retained result at desktop and narrow widths.Keyboard return after widening the chart
In the 24-submission capture, opening submission 1 and selecting submission 13 preserves the first excerpt. At 1280 px, Escape focuses point 13 and Enter opens the bound line 13.
The earlier comparison at
7f87e2dffa6f03446e64029822bc926a5127389candafa190bb355c46efa9186f91de68c377879f42afuses the same 25-submission fixture. Submission 6 is invalid and submission 11 is retained.Before the review fixes and the compressed-interval evidence read
The independent review reproduced overlapping hit areas in a 24-record capture with indices 1–23 and 500. At 390 px the old chart opened submission 20 at submission 1’s visible coordinate. The new chart uses the picker to open precisely line 1.
Keyboard continuation after changing the selection
Open submission 1 and select submission 13 while reading. The open excerpt stays bound to submission 1. Escape returns focus to the picker, then Tab and Enter open submission 13. The previous head dropped focus to the page body.
Verification
The maintained read-only regression fails on
7f87e2dfand passes ona06d3ffc. It checks the original line after selecting another submission, keyboard focus across 390 → 1280 px, and opening line 13 with Enter. The direct-to-picker, fixed-width, dense, and compressed-index cases also pass.The current system WKWebView run covered seven layout cases. The 24-submission case recovered a 503, preserved line 1 across the resize, focused submission 13 on Escape, and read the exact line 13 bytes from the same pack. Both widths still read the 13-submission archive, and its digest stayed unchanged.
Both current frontend bundles built. The standard pre-merge run reported zero automated check failures and a manual review hold. Independent review of this commit and formal installed acceptance are pending.
Packaged Research uses the real SQLite and HTTP reader in isolated fixtures. The maintained browser scenario checks 24 and 25 submissions and a compressed index range, including click, touch, keyboard, narrow resize and focus return.
The focused regression reproduces lost keyboard focus on the previous head and passes on the current head. The test checks that the open excerpt keeps its original line and the next action opens the changed submission.
A separate authorized archival read returned all 113 research events and 13 original measurements at desktop and 390 px. Submission 11 was retained and submission 3 opened its bound original excerpt. The registered pack identity and source digest were preserved. No analysis or evaluation job ran.
The capture reader retains the saved summary after source withdrawal and recovers the same sequence when the exact artifact returns. The earlier real backend regression and the current cross-input browser checks cover separate parts of the same read path.
The macOS 26.4 system WKWebView opened the exact evidence and restored focus on Escape in all three runs at 1200 and 390 px. The isolated test window used the 13-result archive and two synthetic cases with 24 and 25 results. At 390 px each case also recovered an injected 503 through the original retry action. Changing the selection after a retry restored focus to the picker in the dense case. Browsing attempted no writes.
The earlier fixed-width candidate also passed 51 TypeScript and 83 Python tests.