style: make new files lint-clean (prettier + eqeqeq + remove unused eslint-disables)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
tao.chen
2026-07-23 10:52:10 +08:00
co-authored by Claude Fable 5
parent fe45c80dd2
commit 47a774f237
5 changed files with 49 additions and 19 deletions
@@ -11,12 +11,12 @@
## 已确认的决策
| 问题 | 决策 |
|---|---|
| 可见性语义 | 跟随原生 toolbar:只在 **active cell** 右上角显示(与上移/下移按钮行为严格一致) |
| 底部 footer | **删除**,三个按钮全部上移 |
| 点击交互 | 本次不变:`🪄 编辑` 仍用 `window.prompt`;结果仍走 `Notification`;inline prompt box / diff 面板留待后续 |
| 作用范围 | 仅 `CodeCell`;Markdown 等 cell 不显示 AI 按钮(现状 footer 挂在所有 cell 上,属顺带修正) |
| 问题 | 决策 |
| ----------- | ----------------------------------------------------------------------------------------------------- |
| 可见性语义 | 跟随原生 toolbar:只在 **active cell** 右上角显示(与上移/下移按钮行为严格一致) |
| 底部 footer | **删除**,三个按钮全部上移 |
| 点击交互 | 本次不变:`🪄 编辑` 仍用 `window.prompt`;结果仍走 `Notification`;inline prompt box / diff 面板留待后续 |
| 作用范围 | 仅 `CodeCell`;Markdown 等 cell 不显示 AI 按钮(现状 footer 挂在所有 cell 上,属顺带修正) |
## 机制(JupyterLab 4.6 真实扩展点,已核实源码)