Skip to content

feat: optimize the treemap view#1428

Merged
yifancong merged 7 commits intomainfrom
optimize/treemap-graph
Dec 9, 2025
Merged

feat: optimize the treemap view#1428
yifancong merged 7 commits intomainfrom
optimize/treemap-graph

Conversation

@yifancong
Copy link
Copy Markdown
Contributor

@yifancong yifancong commented Dec 3, 2025

Summary

optimize the treemap view

  • before:
image
  • after:
image image

optimize the module analysis box

image

Related Links

Copilot AI review requested due to automatic review settings December 3, 2025 13:03
@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 3, 2025

Deploy Preview for rsdoctor ready!

Name Link
🔨 Latest commit a49692c
🔍 Latest deploy log https://app.netlify.com/projects/rsdoctor/deploys/6937d1bc8edc620008918833
😎 Deploy Preview https://deploy-preview-1428--rsdoctor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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 introduces significant optimizations and UX improvements to the TreeMap visualization component, bumping package versions to 1.3.13-beta.0 across the monorepo.

  • Complete UI redesign with a collapsible sidebar for better space utilization
  • New features including fullscreen mode, in-place search functionality, and multiple size type views (stat, parsed, gzipped)
  • Enhanced visual styling with updated color palettes and improved tooltip formatting

Reviewed changes

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

Show a summary per file
File Description
packages/webpack-plugin/package.json Version bump to 1.3.13-beta.0
packages/utils/package.json Version bump to 1.3.13-beta.0
packages/types/package.json Version bump to 1.3.13-beta.0
packages/sdk/package.json Version bump to 1.3.13-beta.0
packages/rspack-plugin/package.json Version bump to 1.3.13-beta.0
packages/graph/package.json Version bump to 1.3.13-beta.0
packages/document/package.json Version bump to 1.3.13-beta.0
packages/core/package.json Version bump to 1.3.13-beta.0
packages/components/src/components/Charts/treemap.module.scss Complete CSS rewrite with sidebar layout, fullscreen support, and search results styling
packages/components/src/components/Charts/constants.ts Updated color palette with new Ant Design colors and adjusted transparency values
packages/components/src/components/Charts/TreeMap.tsx Major refactoring adding fullscreen, search, sidebar toggle, improved tooltips, and node highlighting features
packages/components/package.json Version bump to 1.3.13-beta.0
packages/client/package.json Version bump to 1.3.13-beta.0
packages/cli/package.json Version bump to 1.3.13-beta.0

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

Comment thread packages/components/src/components/Charts/TreeMap.tsx
Comment thread packages/components/src/components/Charts/TreeMap.tsx Outdated
Comment thread packages/components/src/components/Charts/TreeMap.tsx Outdated
Comment thread packages/components/src/components/Charts/TreeMap.tsx Outdated
Comment thread packages/components/src/components/Charts/TreeMap.tsx Outdated
Comment thread packages/components/src/components/Charts/treemap.module.scss
Comment thread packages/components/src/components/Charts/TreeMap.tsx
Comment thread packages/components/src/components/Charts/TreeMap.tsx Outdated
Comment thread packages/components/src/components/Charts/TreeMap.tsx Outdated
Comment thread packages/components/src/components/Charts/TreeMap.tsx Outdated
@yifancong yifancong changed the title Optimize/treemap graph optimize: the treemap view Dec 4, 2025
@yifancong yifancong marked this pull request as draft December 4, 2025 11:22
@fi3ework
Copy link
Copy Markdown
Member

fi3ework commented Dec 4, 2025

commit message should starts with feat: https://www.conventionalcommits.org/en/v1.0.0/.

@yifancong yifancong changed the title optimize: the treemap view feat: optimize the treemap view Dec 4, 2025
@yifancong yifancong marked this pull request as ready for review December 4, 2025 12:38
@yifancong yifancong force-pushed the optimize/treemap-graph branch 2 times, most recently from ac2e5ad to 4bceafe Compare December 8, 2025 06:50
@yifancong
Copy link
Copy Markdown
Contributor Author

commit message should starts with feat: https://www.conventionalcommits.org/en/v1.0.0/.

Done

Comment thread examples/rsbuild-minimal/rsbuild.config.ts Outdated
Comment thread packages/components/src/components/Charts/TreeMap.tsx
@yifancong yifancong requested a review from fi3ework December 8, 2025 08:53
@yifancong yifancong marked this pull request as draft December 8, 2025 09:17
@yifancong yifancong marked this pull request as ready for review December 8, 2025 09:17
Comment thread examples/rsbuild-minimal/rsbuild.config.ts Outdated
@yifancong yifancong force-pushed the optimize/treemap-graph branch from 2bc4f58 to f13acbb Compare December 9, 2025 06:51
@yifancong yifancong requested a review from chenjiahan December 9, 2025 06:51
chenjiahan
chenjiahan previously approved these changes Dec 9, 2025
@yifancong yifancong enabled auto-merge (squash) December 9, 2025 06:58
optimize: treemap view

optimize: treemap view

optimize: treemap view

optimize: treemap view

optimize: treemap view

optimize: treemap view

optimize: treemap view

Update packages/components/src/components/Charts/TreeMap.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Update packages/components/src/components/Charts/TreeMap.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Update packages/components/src/components/Charts/TreeMap.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

feat: optimize the treemap view
@yifancong yifancong force-pushed the optimize/treemap-graph branch from fdb8ef5 to 42685bc Compare December 9, 2025 07:28
@yifancong yifancong disabled auto-merge December 9, 2025 08:07
@yifancong yifancong enabled auto-merge (squash) December 9, 2025 08:07
@yifancong yifancong merged commit 8142b76 into main Dec 9, 2025
8 of 10 checks passed
@yifancong yifancong deleted the optimize/treemap-graph branch December 9, 2025 08:09
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.

4 participants