Skip to content

v2.11.0-rc.1#1820

Merged
lichunn merged 3 commits into
opentiny:release/v2.11.xfrom
lichunn:update-version-v2.11.x-rc.1
Jul 13, 2026
Merged

v2.11.0-rc.1#1820
lichunn merged 3 commits into
opentiny:release/v2.11.xfrom
lichunn:update-version-v2.11.x-rc.1

Conversation

@lichunn

@lichunn lichunn commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

English | 简体中文

PR

PR Checklist

Please check if your PR fulfills the following requirements:

  • 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)
  • 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
  • No

Other information

Summary by CodeRabbit

  • New Features

    • Added design-time metadata and ready-to-use snippets for a broader set of TinyVue components, including drawers, containers, uploads, links, alerts, menus, and dropdowns.
    • Updated the designer template to use the latest release candidate packages.
  • Bug Fixes

    • Improved styling for AI chat controls, popovers, fallback icons, settings icons, and user icons for more consistent rendering.
  • Chores

    • Updated the platform packages and tools to release candidate version 2.11.0-rc.1.

@github-actions github-actions Bot added ignore-for-release release merge to release/ branch, before release period labels Jul 13, 2026
@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

The release candidate advances from 2.11.0-rc.0 to 2.11.0-rc.1 across packages and imports, adds TinyVue designer metadata and snippets, and narrows several component styling selectors.

Changes

Release and designer updates

Layer / File(s) Summary
Release metadata and dependency alignment
designer-demo/package.json, mockServer/package.json, packages/*/package.json, packages/common/js/import-map.json
Package versions, designer template dependency pins, and the builtin-component import target advance to 2.11.0-rc.1.
Designer component catalog and snippets
packages/engine-cli/template/designer/public/mock/bundle.json
Adds definitions and example snippets for TinyDrawer, TinyContainer, TinyFileUpload, TinyAnchor, TinyAlert, TinyLink, TinyDivider, TinyActionMenu, and TinyDropdown.
Component style selector updates
packages/canvas/container/src/components/*.vue, packages/common/component/PluginBlockItemImg.vue, packages/plugins/robot/src/Main.vue, packages/toolbars/user/src/Main.vue
Updates AI chat and popover styles and narrows fallback-image, robot settings, and user icon selectors.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested reviewers: chilingling, hexqi

Poem

I’m a rabbit with a release in my paws,
Hopping from rc.0 to rc.1 without pause.
New widgets bloom in the designer’s row,
While tidy selectors make styles glow.
Hop, hop—ship the bundle bright!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the main change: a release version bump to v2.11.0-rc.1.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

mockServer/package.json

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.

packages/canvas/container/src/components/CanvasAIChat.vue

Oops! Something went wrong! :(

ESLint: 9.39.5

Error: ESLint configuration in --config » @vue/eslint-config-typescript is invalid:

  • Unexpected top-level property "configureVueProject".

Referenced from: /packages/canvas/.eslintrc.cjs
at ConfigValidator.validateConfigSchema (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2277:19)
at ConfigArrayFactory._normalizeConfigData (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3123:19)
at ConfigArrayFactory._loadConfigData (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3088:21)
at ConfigArrayFactory._loadExtendedShareableConfig (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3393:21)
at ConfigArrayFactory._loadExtends (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3261:25)
at ConfigArrayFactory._nor

... [truncated 341 characters] ...

at _normalizeObjectConfigData.next ()
at ConfigArrayFactory.loadFile (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2952:16)
(node:2) ESLintRCWarning: You are using an eslintrc configuration file, which is deprecated and support will be removed in v10.0.0. Please migrate to an eslint.config.js file. See https://eslint.org/docs/latest/use/configure/migration-guide for details. An eslintrc configuration file is used because you have the ESLINT_USE_FLAT_CONFIG environment variable set to false. If you want to use an eslint.config.js file, remove the environment variable. If you want to find the location of the eslintrc configuration file, use the --debug flag.
(Use node --trace-warnings ... to show where the warning was created)

packages/canvas/container/src/components/CanvasAction.vue

Oops! Something went wrong! :(

ESLint: 9.39.5

Error: ESLint configuration in --config » @vue/eslint-config-typescript is invalid:

  • Unexpected top-level property "configureVueProject".

Referenced from: /packages/canvas/.eslintrc.cjs
at ConfigValidator.validateConfigSchema (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2277:19)
at ConfigArrayFactory._normalizeConfigData (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3123:19)
at ConfigArrayFactory._loadConfigData (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3088:21)
at ConfigArrayFactory._loadExtendedShareableConfig (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3393:21)
at ConfigArrayFactory._loadExtends (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3261:25)
at ConfigArrayFactory._nor

... [truncated 341 characters] ...

at _normalizeObjectConfigData.next ()
at ConfigArrayFactory.loadFile (/node_modules/.pnpm/@eslint+eslintrc@3.3.6/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2952:16)
(node:2) ESLintRCWarning: You are using an eslintrc configuration file, which is deprecated and support will be removed in v10.0.0. Please migrate to an eslint.config.js file. See https://eslint.org/docs/latest/use/configure/migration-guide for details. An eslintrc configuration file is used because you have the ESLINT_USE_FLAT_CONFIG environment variable set to false. If you want to use an eslint.config.js file, remove the environment variable. If you want to find the location of the eslintrc configuration file, use the --debug flag.
(Use node --trace-warnings ... to show where the warning was created)

  • 1 others

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
packages/engine-cli/template/designer/public/mock/bundle.json (1)

730-751: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

TinyFileUpload hook properties use language: "json" instead of "javascript" for function-type widgets.

before-add-file, before-remove, before-upload, and http-request are all documented as callback/hook functions (their descriptions describe returning false/Promise or implementing upload logic), yet each uses "widget": {"component": "CodeConfigurator", "props": {"language": "json"}}. Elsewhere in this same file, function-type properties consistently use "language": "javascript" (e.g. TinySlider's format-tooltip, TinyTreeMenu's allow-drag/allow-drop). Using "json" here will give incorrect syntax highlighting/validation for what should be JS function code.

Also applies to: 752-773, 774-795, 950-971

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/engine-cli/template/designer/public/mock/bundle.json` around lines
730 - 751, Update the CodeConfigurator language for the TinyFileUpload hook
properties before-add-file, before-remove, before-upload, and http-request from
"json" to "javascript", preserving their existing widget configuration and
metadata.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/engine-cli/template/designer/public/mock/bundle.json`:
- Around line 338-352: Update the TinyDrawer onClose event schema so
functionInfo.params declares the documented force parameter, including its
appropriate name, type, and description, while preserving the existing return
metadata and event description.
- Around line 2783-2804: Update the NumberConfigurator props for maxShowNum so
its step permits consecutive integer counts, including odd values, while
preserving the existing defaultValue and other field configuration.

---

Nitpick comments:
In `@packages/engine-cli/template/designer/public/mock/bundle.json`:
- Around line 730-751: Update the CodeConfigurator language for the
TinyFileUpload hook properties before-add-file, before-remove, before-upload,
and http-request from "json" to "javascript", preserving their existing widget
configuration and metadata.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: c6c41594-8f55-4ee5-8795-f8a186547b2b

📥 Commits

Reviewing files that changed from the base of the PR and between d83e3d4 and b200d70.

📒 Files selected for processing (67)
  • designer-demo/package.json
  • mockServer/package.json
  • packages/block-compiler/package.json
  • packages/build/vite-config/package.json
  • packages/build/vite-plugin-meta-comments/package.json
  • packages/builtinComponent/package.json
  • packages/canvas/container/src/components/CanvasAIChat.vue
  • packages/canvas/container/src/components/CanvasAction.vue
  • packages/canvas/package.json
  • packages/common/component/PluginBlockItemImg.vue
  • packages/common/js/import-map.json
  • packages/common/package.json
  • packages/configurator/package.json
  • packages/design-core/package.json
  • packages/engine-cli/package.json
  • packages/engine-cli/template/designer/package.json
  • packages/engine-cli/template/designer/public/mock/bundle.json
  • packages/i18n/package.json
  • packages/layout/package.json
  • packages/plugins/block/package.json
  • packages/plugins/bridge/package.json
  • packages/plugins/datasource/package.json
  • packages/plugins/help/package.json
  • packages/plugins/i18n/package.json
  • packages/plugins/materials/package.json
  • packages/plugins/model-manager/package.json
  • packages/plugins/page/package.json
  • packages/plugins/resource/package.json
  • packages/plugins/robot/package.json
  • packages/plugins/robot/src/Main.vue
  • packages/plugins/schema/package.json
  • packages/plugins/script/package.json
  • packages/plugins/state/package.json
  • packages/plugins/tree/package.json
  • packages/plugins/tutorial/package.json
  • packages/register/package.json
  • packages/settings/design/package.json
  • packages/settings/events/package.json
  • packages/settings/panel/package.json
  • packages/settings/props/package.json
  • packages/settings/styles/package.json
  • packages/svgs/package.json
  • packages/theme/base/package.json
  • packages/toolbars/breadcrumb/package.json
  • packages/toolbars/clean/package.json
  • packages/toolbars/collaboration/package.json
  • packages/toolbars/fullscreen/package.json
  • packages/toolbars/generate-code/package.json
  • packages/toolbars/lang/package.json
  • packages/toolbars/lock/package.json
  • packages/toolbars/logo/package.json
  • packages/toolbars/media/package.json
  • packages/toolbars/preview/package.json
  • packages/toolbars/redoundo/package.json
  • packages/toolbars/refresh/package.json
  • packages/toolbars/save/package.json
  • packages/toolbars/setting/package.json
  • packages/toolbars/themeSwitch/package.json
  • packages/toolbars/upload/package.json
  • packages/toolbars/user/package.json
  • packages/toolbars/user/src/Main.vue
  • packages/toolbars/view-setting/package.json
  • packages/utils/package.json
  • packages/vue-generator/package.json
  • packages/vue-to-dsl/package.json
  • packages/workspace/application-center/package.json
  • packages/workspace/template-center/package.json

Comment thread packages/engine-cli/template/designer/public/mock/bundle.json
Comment thread packages/engine-cli/template/designer/public/mock/bundle.json
@lichunn lichunn merged commit 3ff6548 into opentiny:release/v2.11.x Jul 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release release merge to release/ branch, before release period

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants