Repository navigation
feat(frontend): refine agent editor UI and resource-picker dialogs - #4093
Open
bernard1234 wants to merge 7 commits into
Open
bernard1234 wants to merge 7 commits into
bernard1234 wants to merge 7 commits into
Conversation
…ker design Switch test form from horizontal labelCol/wrapperCol to vertical layout, replace span labels with ParamLabel (info icon + tooltip), and replace full-width antd Button with TestRunLink component to match the new ToolConfigModal shell.
…er design Replace legacy Modal+Form layout in ToolConfigModal and SkillConfigModal with the shared ParamDialog shell (480px centered, 2px corners, vertical ParamField layout, standard two-button footer). Move boolean parameters from antd Switch to ParamSwitch (blue toggle) with vertical label-above-control arrangement. Add BooleanSwitchInput adapter in ToolConfigModal to bridge Form.Item value/onChange to ParamSwitch checked/onChange. Also includes resource-picker drawer updates (AddAgent/AddModel/AddSkill/AddTool/AddResource) and minor agent-capability/agent-prompt adjustments to wire the new components.
…with the design spec ParamDialog: add optional description, variant-scoped CSS (tool/skill/model), StandardCloseButton, Button-based footer, fixed chevron icon, and restyled 28px inputs; shrink ParamSwitch to 38x20. Extract ParamDialog.module.css. Resource pickers: extract shared ResourcePickerDrawer.module.css with data-picker-part hooks, add width/bodyClassName props to AddResourceDrawer, and redesign agent/skill/tool/knowledge rows (768px drawer, HarmonyOS fonts, agent cards 148px with gradient selection, skill/tool rows 59px, knowledge rows 104px). Tool config: variant='tool' with two-line description, collapsible test section and auto-scroll reveal; skill config uses variant='skill'. Model params: switch accent to #0067D1, larger knob, updated hint typography. Fix zh locale labels (MCP服务, 分块).
- Add three-color gradient default avatar with shared SVG artwork - Migrate version publish modal to ParamDialog with publish variant - Simplify new tool/skill entry actions and fix locale-aware routing - Toggle dev assistant visibility on configure/debug mode switch - Enlarge prompt textarea and unify composer font sizes to 14px - Fix agent conversation switching and back navigation
bernard1234
requested review from
Dallas98,
WMC001,
YehongPan,
hhhhsc701 and
jeffwu-1999
as code owners
October 14, 2026 08:16
Resolve avatar conflicts by preserving the design-aligned sphere artwork and shared upload rendering. Keep local test authorization changes out of this commit. Validation: staged diff check passed. Frontend type-check remains blocked by workspace type errors and missing test dependencies; component regression could not run because Vitest is unavailable.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
智能体编辑页与资源选择器(resource-picker)的 UI 精细化改造。
主要变更
getDefaultAgentAvatarSvg)。Modal迁移到ParamDialog(新增publishvariant,支持confirmLoading/cancelDisabled/destroyOnHidden)。