Skip to content

fix: 辅助视觉模型编辑器卡死 + 模型下拉框显示 (#1529, #1416)#1536

Open
Andy365-365 wants to merge 2 commits into
EKKOLearnAI:mainfrom
Andy365-365:fix/auxiliary-vision-freeze-cron-sync
Open

fix: 辅助视觉模型编辑器卡死 + 模型下拉框显示 (#1529, #1416)#1536
Andy365-365 wants to merge 2 commits into
EKKOLearnAI:mainfrom
Andy365-365:fix/auxiliary-vision-freeze-cron-sync

Conversation

@Andy365-365

@Andy365-365 Andy365-365 commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

#1529: 编辑视觉模型时界面卡死
原因:.auxiliary-panel 样式中的 overflow: hidden 创建了层叠上下文边界,
裁剪了 NModal 内 NSelect 下拉菜单的渲染区域,导致下拉菜单无法打开、取消按钮
无响应。修复:移除 overflow: hidden。

#1416: 主页面模型下拉框显示为空
原因:selectedDisplayName 在模型不在当前 profile 模型组中时返回空字符串。
修复:回退到 displayModelName 显示原始模型名;同时修复 computed 内
的 side effect 反模式,改用 watch()。

Closes #1529
Closes #1416

@Andy365-365 Andy365-365 changed the title fix: auxiliary model editor freeze + cross-profile cron job listingfix: 辅助视觉模型编辑器卡死 + 跨 profile 定时任务列表 (#1529, #1525) fix: 辅助视觉模型编辑器卡死 + 跨 profile 定时任务 + 模型下拉框显示 (#1529, #1525, #1416) Jun 13, 2026
@suzunn

suzunn commented Jun 14, 2026

Copy link
Copy Markdown

I noticed one cross-profile edge case worth locking down before merge. listJobs(true) now returns jobs from every profile and annotates them with _profile, but the rest of the job actions still look like they operate through the active profile context. That can make an agent-profile job visible in the main task panel while edit, toggle, or delete later targets the wrong profile or fails once the active profile differs from job._profile.

I would either route the job action APIs with the job's _profile when present, or make non-active-profile cards explicitly read-only until those mutations are profile-aware. A regression test that lists jobs from two profiles and then toggles/deletes the non-active-profile job would cover the failure mode well.

- fix(models): remove overflow:hidden from .auxiliary-panel that clipped
  NSelect dropdown in vision model editor modal, causing UI freeze
  (dropdown unopenable, cancel button unresponsive)
…file (EKKOLearnAI#1416)

- fix(models): fallback to displayModelName when selected model is not in
  active profile model groups
- fix(models): replace side effect in computed with proper watch()
@Andy365-365 Andy365-365 force-pushed the fix/auxiliary-vision-freeze-cron-sync branch from bb2d25b to 236dc59 Compare June 14, 2026 14:39
@Andy365-365 Andy365-365 changed the title fix: 辅助视觉模型编辑器卡死 + 跨 profile 定时任务 + 模型下拉框显示 (#1529, #1525, #1416) fix: 辅助视觉模型编辑器卡死 + 模型下拉框显示 (#1529, #1416) Jun 14, 2026
@Andy365-365

Andy365-365 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the review @suzunn! After discussion with the repo maintainers, we decided that cross-profile job listing isn't needed — EKKOLearnAI clarified that different profiles should be viewed by switching profiles, not aggregated in one view. We've removed the entire cross-profile job listing feature from this PR. It now only fixes the vision model editor freeze (#1529) and the model dropdown display issue (#1416).

@Andy365-365 Andy365-365 force-pushed the fix/auxiliary-vision-freeze-cron-sync branch from ffbec35 to 236dc59 Compare June 17, 2026 09:12
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.

[Bug]: 编辑视觉模型总是卡住 [Bug]: 主页面模型下拉框下拉为空

2 participants