Skip to content

feat: upgrade vrender to enhance image and background image#4538

Merged
xuefei1313 merged 1 commit intodevelopfrom
feat/image-background-enhance
Apr 3, 2026
Merged

feat: upgrade vrender to enhance image and background image#4538
xuefei1313 merged 1 commit intodevelopfrom
feat/image-background-enhance

Conversation

@xile611
Copy link
Copy Markdown
Contributor

@xile611 xile611 commented Apr 3, 2026

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Refactoring
  • Update dependency
  • Code style optimization
  • Test Case
  • Branch merge
  • Release
  • Site / documentation update
  • Demo update
  • Workflow
  • Other (about what?)

🔗 Related issue link

🔗 Related PR link

🐞 Bugserver case id

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

copilot:summary

🔍 Walkthrough

copilot:walkthrough

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the VRender dependency set to enable enhanced image/background rendering capabilities in VChart, and exposes the corresponding new configuration surface via typings and documentation.

Changes:

  • Bump @visactor/vrender* packages from 1.0.44 to 1.0.45 across VChart packages, docs, and tools.
  • Extend visual typings to support new background/image sizing & positioning options (e.g. no-repeat-cover, backgroundPosition, imageMode, imagePosition, offsets/scale).
  • Update EN/ZH option docs to document the new image/background behaviors.

Reviewed changes

Copilot reviewed 13 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tools/story-player/package.json Align story-player’s VRender dependencies to 1.0.45.
packages/vchart/package.json Upgrade VChart runtime VRender dependencies to 1.0.45.
packages/vchart-extension/package.json Upgrade extension package VRender dependencies to 1.0.45.
packages/react-vchart/package.json Upgrade React wrapper’s VRender core/kits dependencies to 1.0.45.
packages/openinula-vchart/package.json Upgrade OpenInula wrapper’s VRender core/kits dependencies to 1.0.45.
docs/package.json Upgrade docs site VRender dependencies to 1.0.45.
packages/vchart/src/typings/visual.ts Add new background/image sizing & positioning types and mark spec fields.
packages/vchart-types/types/typings/visual.d.ts Mirror the new typings into the published vchart-types declarations.
docs/assets/option/zh/graphic/image.md Document imageMode/imagePosition/imageScale/imageOffsetX/Y (ZH).
docs/assets/option/en/graphic/image.md Document imageMode/imagePosition/imageScale/imageOffsetX/Y (EN).
docs/assets/option/zh/graphic/fill-style.md Document new backgroundMode shorthands + backgroundPosition (ZH).
docs/assets/option/en/graphic/fill-style.md Document new backgroundMode shorthands + backgroundPosition (EN).
docs/assets/option/zh/common/background.md Extend background image config structure & add example usage (ZH).
docs/assets/option/en/common/background.md Extend background image config structure & add example usage (EN).
common/config/rush/pnpm-lock.yaml Update lockfile for VRender bump (currently includes additional Jest/TypeScript peer-resolution churn).
Files not reviewed (1)
  • common/config/rush/pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@xuefei1313 xuefei1313 merged commit 2fa1e05 into develop Apr 3, 2026
12 of 14 checks passed
@xuefei1313 xuefei1313 deleted the feat/image-background-enhance branch April 3, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants