合并 feature/utils-2.0.4 到 main#2
Conversation
- 新增 .changeset/pre.json 文件,定义初始版本和变更集 - 更新 @quantum-design/utils 的 parse 方法 - 更新多个包的版本至 2.0.4-beta.0 - 更新 qm-product-analysis 版本至 0.0.3-beta.0 - 更新 playground 页面标题为 "Quantum Design"
- 在 rich-text.vue 中添加 fontsize_formats 配置,支持多种字体大小选择
- 在表单组件中新增自定义筛选功能,支持用户选择和排序字段 - 添加自定义筛选弹窗组件,允许用户配置筛选项 - 更新表格组件以支持全屏显示和浮动设置选项 - 优化表格配置管理,增强用户体验 - 更新样式以适应新功能
- 在模态框 API 中新增 onOpened 回调,支持弹窗打开动画结束的处理 - 更新相关组件以调用 onOpened 和 onOpenChange 方法,增强用户交互体验 - 优化代码格式,提升可读性
- 在表单组件中新增自定义筛选项功能,支持用户自定义筛选条件 - 表格组件中添加操作按钮悬浮切换功能,提升用户交互体验 - 更新相关组件以支持新功能,优化代码结构
- 在表格组件中移除了不必要的分页功能,简化了组件结构 - 优化了表格的渲染逻辑,提升了性能和可读性
- @quantum-design-configs/vite -> 2.0.4 - @quantum-design-configs/eslint -> 2.0.3 - @quantum-design-configs/rollup -> 2.0.3 - @quantum-design-configs/tsconfig -> 2.0.3 - @quantum-design/hooks -> 2.0.4 - @quantum-design/http -> 2.0.4 - @quantum-design/shared -> 2.0.3 - @quantum-design/types -> 2.0.3 - @quantum-design/vue3-antd-pc-ui -> 2.0.4 - @quantum-design/vue3-pc-ui -> 2.0.4
|
Caution Review failedThe pull request is closed. WalkthroughAdds auto-merge and tagging workflows, introduces a “Custom Filter” feature for forms with persistence, expands table settings (floating panel, fullscreen toggle, pagination change event), enhances modal API with onOpenChange/onOpened, refactors utils (safe parse/serialize, IndexedDB cache), updates playground demos, lazy-loads TinyMCE, adjusts docs, styles, and bumps versions/changelogs. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant QForm
participant useCustomFilter
participant IndexedDB
participant CustomFilterModal
User->>QForm: Open page
QForm->>useCustomFilter: init(originalSchemas, props)
useCustomFilter->>IndexedDB: preload/get(formId+url)
IndexedDB-->>useCustomFilter: config or null
useCustomFilter-->>QForm: displaySchemas (computed)
User->>QForm: Click "自定义筛选"
QForm->>CustomFilterModal: open with schemas + initial config
User->>CustomFilterModal: Select fields / reorder
CustomFilterModal-->>QForm: confirm(selectedFields, fieldOrder)
QForm->>useCustomFilter: saveConfig(...)
useCustomFilter->>IndexedDB: set(formId+url, config)
useCustomFilter-->>QForm: emit customFilterChange
sequenceDiagram
participant Dev
participant ModalApi
participant QModal
participant App
Dev->>ModalApi: new ModalApi({ onOpenChange, onOpened, ... })
App->>QModal: open()
QModal-->>ModalApi: onOpenChange(true)
QModal-->>ModalApi: onOpened()
App->>QModal: close()
QModal-->>ModalApi: onOpenChange(false)
sequenceDiagram
participant User
participant QTable
participant SettingPanel
participant FullscreenSetting
participant DragHelper
User->>SettingPanel: Toggle floating
SettingPanel->>DragHelper: init(container, panel)
User->>FullscreenSetting: Click icon
FullscreenSetting->>QTable: toggle .q-table-content-fullscreen
FullscreenSetting-->>QTable: emit fullscreen-change
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
Note 🔌 MCP (Model Context Protocol) integration is now available in Early Access!Pro users can now connect to remote MCP servers under the Integrations page to get reviews and chat conversations that understand additional development context. 📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (66)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
- 在 PR 检查通过后启用 squash 自动合并 - 合并至 main 后自动基于被合并分支名创建 tag(失败则兜底日期+短 SHA)
变更概览:
分支信息:
检查项:
Summary by CodeRabbit
New Features
Documentation
Tests
Chores