Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 树组件优化 #7946

Merged
merged 4 commits into from
Nov 27, 2023
Merged

feat: 树组件优化 #7946

merged 4 commits into from
Nov 27, 2023

Conversation

LTtwinkle
Copy link
Collaborator

这个变动的性质是?

  • 新特性提交
  • 日常 bug 修复
  • 站点、文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • TypeScript 定义更新
  • 包体积优化
  • 性能优化
  • 功能增强
  • 国际化语料改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 其他改动(是关于什么的改动?)

优化点

  1. 编辑器-组件,「树选择框」改名为「树组件」;
  2. 编辑器,「树组件」拖入画布的时,默认使用「浮层模式」;
  3. 「树组件」新增 deferField 字段,支持 defer 字段自定义;同时编辑器配置面板,新增 deferField、deferApi 字段的配置;
  4. 「树组件」内嵌模式支持 searchApi;同时编辑器配置面板,开放 searchable、searchApi 字段的配置;
  5. 「树组件」扩展组件特性动作,新增、删除、编辑、刷新等;
  6. 「树组件」change 事件支持获取 items;

更新日志

语言 更新描述
英文
中文 树组件优化

请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@github-actions github-actions bot added bug Something isn't working feat labels Aug 29, 2023
@github-actions
Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

packages/amis/src/renderers/Form/TreeSelect.tsx Outdated Show resolved Hide resolved
packages/amis/src/renderers/Form/TreeSelect.tsx Outdated Show resolved Hide resolved
packages/amis/src/renderers/Form/InputTree.tsx Outdated Show resolved Hide resolved
docs/zh-CN/components/form/input-tree.md Outdated Show resolved Hide resolved
packages/amis-editor/src/tpl/common.tsx Outdated Show resolved Hide resolved
packages/amis-ui/src/components/Tree.tsx Show resolved Hide resolved
packages/amis-editor/src/plugin/Form/InputTree.tsx Outdated Show resolved Hide resolved
docs/zh-CN/components/form/input-tree.md Outdated Show resolved Hide resolved
docs/zh-CN/components/form/input-tree.md Outdated Show resolved Hide resolved
packages/amis-core/src/renderers/Options.tsx Outdated Show resolved Hide resolved
packages/amis-ui/src/components/menu/index.tsx Outdated Show resolved Hide resolved
packages/amis/src/renderers/Form/InputTree.tsx Outdated Show resolved Hide resolved
packages/amis/src/renderers/Form/TreeSelect.tsx Outdated Show resolved Hide resolved
packages/amis/src/renderers/Nav.tsx Outdated Show resolved Hide resolved
packages/amis-editor/src/plugin/Form/InputTree.tsx Outdated Show resolved Hide resolved
packages/amis-editor/src/plugin/Form/InputTree.tsx Outdated Show resolved Hide resolved
@LTtwinkle LTtwinkle force-pushed the pref-tree branch 2 times, most recently from 7cc9679 to 2a81d4c Compare November 15, 2023 11:18
@lurunze1226 lurunze1226 removed the bug Something isn't working label Nov 17, 2023
packages/amis-ui/src/locale/zh-CN.ts Outdated Show resolved Hide resolved
packages/amis/src/renderers/Form/TreeSelect.tsx Outdated Show resolved Hide resolved
packages/amis/src/renderers/Form/TreeSelect.tsx Outdated Show resolved Hide resolved
@lurunze1226 lurunze1226 merged commit 5fe6a2e into baidu:master Nov 27, 2023
3 checks passed
lengqingfeng pushed a commit to lengqingfeng/amis that referenced this pull request Dec 28, 2023
…amis

* 'gjamis' of https://github.com/lengqingfeng/amis: (57 commits)
  feat: 树组件优化 (baidu#7946)
  fix(amis-editor): 渲染错误拦截不展示schema
  docs(amis): 补充custom组件使用vue语法的说明 (baidu#8887)
  fix:兼容schema为空的情况 (baidu#8888)
  fix: 修复页面设计器重复执行onChange的问题
  feat: Switch组件的onText和offText支持Schema配置 (baidu#8816)
  fix: 修复下拉弹窗在某些情况点击外层不关闭的问题
  feat: 子编辑器公式输入框变量中加入宿主组件上下文变量的声明
  style: 「设计器」配置面板居中必填项*样式调整
  feat: 主题编辑器渲染器开源 (baidu#8820)
  styles: 调整InputRating组件图标尺寸 (baidu#8869)
  feat:scoped支持调用amis动作 (baidu#8875)
  style: 调整 table 固顶模式的样式兼容 safari Close: baidu#8708 (baidu#8863)
  fix: 修复 combo 同步父级数据可能存在展示值和实际值不一致的问题 Close: baidu#8773 (baidu#8831)
  feat: input-date & input-date-range 事件动作 setValue 支持相对时间 Close: baidu#8845 (baidu#8848)
  chore: attachement 兼容文件名空格转义成 + 号的情况 Closes baidu#8488 (baidu#8846)
  docs: 补充 crud column 的 seachable 说明结合 defaultParams 可配置默认排序 (baidu#8870)
  fix: 修复 jssdk 模式通过 embed 返回的 scoped 获取组件失败的问题 Close: baidu#8864
  chore: 弹窗中校验表单错误 3s 后自动消失以免误会 Close: baidu#1636 (baidu#8849)
  feat: CRUD组件matchFunc支持使用matchSorter函数; docs: 前端分页的使用提示
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants