77 Commits

Author SHA1 Message Date
p
751c953ad3 workspace: use ResourceBrowser widget 2026-08-13 12:02:00 +08:00
p
0805eb219b workspace: use remove+widgetBuild per row, monkey-patch dispatch 2026-08-12 18:50:43 +08:00
p
6f6e31fcf0 workspace: monkey-patch Tree.dispatch for selected 2026-08-12 18:48:11 +08:00
p
0a0260708a workspace: cache-busting fetch URLs 2026-08-12 18:42:16 +08:00
p
1dfaa7a573 fix: getWidgetById with bricks.app scope, initial root load 2026-08-12 18:35:33 +08:00
p
7f29e5c157 fix: getWidgetById with popup scope, no PopupWindow binds 2026-08-12 18:21:07 +08:00
p
8a095c712c workspace: full tree dspy + urlwidget button + PopupWindow binds 2026-08-12 18:09:49 +08:00
p
9ec29726b2 workspace: use closure vars for tree+fp, no getWidgetById 2026-08-12 18:01:44 +08:00
p
7e3424ef37 workspace: button script builds everything, tree.bind directly 2026-08-12 17:49:49 +08:00
p
1856da5bca workspace: button script handles tree bind, popup no binds 2026-08-12 17:31:32 +08:00
p
be93db3a62 workspace: HBox+Tree, entire_url, urlwidget action 2026-08-12 15:02:40 +08:00
p
90af3f67a1 workspace: urlwidget action loading PopupWindow from DSPY 2026-08-12 14:34:49 +08:00
p
35261b8b84 workspace: popupwindow action with inline content 2026-08-12 14:33:51 +08:00
p
f72d422551 workspace: urlwidget script loading popup from DSPY 2026-08-12 14:32:14 +08:00
p
4268d716d6 workspace: use popupwindow action + workspace_popup.dspy 2026-08-12 14:29:53 +08:00
p
43053e9545 fix: workspace script - proper JSON escaping for querySelector 2026-08-12 14:26:56 +08:00
p
3ad3997d05 fix: workspace - container into content_w, then move flexbox into resizebox 2026-08-12 14:20:09 +08:00
p
03ee716c10 fix: workspace - single container into content_w, subwidgets inside 2026-08-12 14:19:27 +08:00
p
f6770304ff revert: restore working index.ui 2026-08-12 14:12:19 +08:00
pipeline
4937b38032 fix: workspace HTML render 2026-08-12 14:10:13 +08:00
pipeline
3cf1d04e36 fix: workspace popup - use HBox+buildWidget pattern like task btn 2026-08-12 14:07:22 +08:00
pipeline
16a51e2c83 fix: workspace popup render - use resizebox instead of content_w 2026-08-12 14:03:15 +08:00
ymq
8908112a65 feat: Tree+dataurl workspace (RAG pattern); shortcut files 2026-08-12 12:40:05 +08:00
ymq
fa9fc76bef fix: replace Tree widget with VScrollPanel dir listing 2026-08-12 12:37:49 +08:00
ymq
c8e597764d feat: workspace browser with tree+file list+Wterm editor 2026-08-12 10:47:58 +08:00
ymq
6b7487d736 feat: switch cockpit UI to v2 agent endpoint 2026-08-11 13:36:58 +08:00
ymq
9bef8e131a fix: AgentIO as main chat area with url+model_dataurl+model_cwidth+placeholder 2026-08-08 23:27:39 +08:00
ymq
b4c9e5dd4c agent_input.js → bricks, AgentIO uses AgentInput internally, index.ui clean AgentIO 2026-08-08 23:23:10 +08:00
ymq
6426e1aa65 fix: AgentInput inputed bind — stream NDJSON via body.getReader() instead of r.json() 2026-08-08 23:18:51 +08:00
ymq
e3148bde6f clean: AgentIO native, no hooks, no patches 2026-08-08 23:14:40 +08:00
ymq
81a6126896 fix: monkey-patch handle_chunk to split on 0x0a — no AgentIO changes 2026-08-08 23:11:06 +08:00
ymq
f4c3ee0d56 fix: clean AgentIO inputed bind, no project_form hook 2026-08-08 23:05:19 +08:00
ymq
acc84707e3 fix: index.ui AgentInput→AgentIO + url + hook in project_form.changed 2026-08-08 22:56:38 +08:00
dbaf2f7b28 refactor: context_bar改为UiCode项目选择器+任务按钮 2026-08-07 17:57:02 +08:00
78e9d6a903 fix: 用Html+script替代失效的datawidget,页面加载时fetch context更新按钮 2026-08-07 17:47:49 +08:00
ba454f84cc fix: context_bar添加render事件,页面加载时fetch context更新按钮标签 2026-08-07 17:46:16 +08:00
64ba5daf92 fix: 先fetch context再判断,避免datawidget返回null 2026-08-07 17:24:45 +08:00
c812e827ea fix: 移除无效的 new bricks.urlwidget,只用 fetch 渲染任务列表 2026-08-07 17:18:26 +08:00
bcd160d38e feat: 当前项目弹窗显示任务列表,点击任务查看详情 2026-08-07 17:11:36 +08:00
ca26bde685 fix: 当前项目按钮始终显示选择器,去掉详情弹窗 2026-08-07 17:04:26 +08:00
7841c3b26c fix: Button用 text_w.set_text 而非 set_text 2026-08-07 16:55:16 +08:00
6efd5d007a fix: setText -> set_text (Bricks snake_case API) 2026-08-07 16:51:11 +08:00
073140d8de fix: fetch回调直接更新按钮标签+setValue,替代无效的datawidget.render() 2026-08-07 16:47:05 +08:00
c07ba94552 fix: 补漏 iteration 按钮的 popup-window -> pw.content_w 2026-08-07 15:47:48 +08:00
c2c9374c1d fix: document.querySelector('.popup-window') -> pw.content_w.dom_element.querySelector('select') 2026-08-07 15:47:34 +08:00
0f39febf94 fix: 删掉确定按钮,下拉选择后自动提交 2026-08-07 15:44:09 +08:00
4ee00bf9cc fix: 按钮触发form.submit(),Form bind用urlwidget提交 2026-08-07 15:40:35 +08:00
e1ac09542a fix: Form submit + urlwidget 替代确定按钮,context_update 返回 widget 自关闭弹窗 2026-08-07 15:26:55 +08:00
82f9fb6764 fix: 当前项目/迭代按钮改为选择器弹窗,无选中时显示列表供选择
- 当前项目按钮:无项目时弹出选择器,有项目时显示详情
- 当前迭代按钮:无迭代时弹出选择器(按项目过滤),有迭代时显示详情
- 新增 cockpit_project_picker.dspy:返回项目列表
- 新增 cockpit_iteration_picker.dspy:返回迭代列表(支持project_id过滤)
- 新增 cockpit_context_update.dspy:保存选择到 pipeline_agent_settings
2026-08-07 15:06:17 +08:00
3f91752d06 fix: bricks.showError -> bricks.show_error (snake_case API)
bricks.js only exposes show_error(), not showError().
Affected: index.ui / index_cockpit.ui — project & iteration
detail popup guards that show error when no context selected.
2026-08-07 13:47:20 +08:00