tiny-engine icon indicating copy to clipboard operation
tiny-engine copied to clipboard

refactor: base properties configurable via registry

Open gene9831 opened this issue 8 months ago • 11 comments

English | 简体中文

PR

PR Checklist

Please check if your PR fulfills the following requirements:

  • [x] The commit message follows our Commit Message Guidelines
  • [ ] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)
  • [ ] Built its own designer, fully self-validated

PR Type

What kind of change does this PR introduce?

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Code style update (formatting, local variables)
  • [x] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] CI related changes
  • [ ] Documentation content changes
  • [ ] Other... Please describe:

Background and solution

What is the current behavior?

Issue Number: N/A

What is the new behavior?

组件物料的基础属性可配置化

Does this PR introduce a breaking change?

  • [ ] Yes
  • [x] No

Other information

Summary by CodeRabbit

  • New Features

    • Introduced basePropertyOptions to the materials plugin for enhanced property configurations.
    • Added a new function patchBaseProps to improve schema property management.
  • Refactor

    • Improved the handling of base properties in the materials plugin.
    • Streamlined component registration process with updated imports and functions.

gene9831 avatar Jun 07 '24 08:06 gene9831