v4.12.0 - Pivot
This is a big day for us, we are releasing Pivot Grid.
We had a lot of challenges and finally we are there. For now Pivot is only part of Pro version.

Note
Currently processing new changes in this PR. This may take a few minutes, please wait...
📥 Commits
Reviewing files that changed from the base of the PR and between e9b3120321288f39cb6a689fa6bc99f990d042eb and 2a75bd62141718cb3cb2aee43fd5e37f1c47a722.
⛔ Files ignored due to path filters (5)
public/images/pivot-columns.png
is excluded by!**/*.png
public/images/pivot-dimensions.png
is excluded by!**/*.png
public/images/pivot-sorting-filtering.png
is excluded by!**/*.png
public/images/pivot-summary.png
is excluded by!**/*.png
public/images/pivot.png
is excluded by!**/*.png
📒 Files selected for processing (15)
astro.config.mts
(4 hunks)release/plugins/pivot-config/index.tsx
(1 hunks)release/plugins/pivot-config/pivot.config.dimension.tsx
(1 hunks)release/plugins/pivot-config/pivot.config.styles.scss
(1 hunks)release/plugins/pivot-config/pivot.config.tsx
(1 hunks)release/plugins/pivot/index.ts
(4 hunks)release/plugins/pivot/pivot.aggregators.ts
(1 hunks)release/plugins/pivot/pivot.columns.ts
(8 hunks)release/plugins/pivot/pivot.data.ts
(1 hunks)release/plugins/pivot/pivot.types.ts
(1 hunks)release/src/main.ts
(1 hunks)src/components/showcase/Pivot.astro
(1 hunks)src/components/showcase/Pivot.vue
(1 hunks)src/components/showcase/columns.pivot.ts
(1 hunks)src/content/docs/guides/pivot.mdx
(1 hunks)
_______________________________________________
< Caches are bugs waiting to happen. - Rob Pike >
-----------------------------------------------
\
\ \
\ /\
( )
.( o ).
Walkthrough
The update refines framework integration and configuration across multiple files. Astro, Vite, and TypeScript settings now support React, Preact, and UnoCSS. Dependency versions have been bumped, and new plugins and scripts are introduced. Extensive changes improve pivot table functionality by adding new components, interfaces, and drag‐and‐drop interactions while updating renderer types and event constants. Minor UI and content modifications enhance the grid presentation and documentation.
Changes
File(s) | Change Summary |
---|---|
astro.config.mts package.json release/package.json tsconfig.json release/tsconfig.json release/vite.config.ts release/uno.config.ts |
Updated framework integrations (React, Preact, Svelte, Vue), dependency versions, new scripts, and JSX settings with added path mappings and Vite plugin adjustments. |
release/index.html src/assets/landing.scss src/pages/demo/[slug].astro release/pivot.style.scss |
New entry point HTML and styling adjustments with enhanced selectors, SCSS rules, and layout updates. |
release/plugins/charts/progress-line-value.renderer.ts release/plugins/charts/rating-star.renderer.ts |
Updated renderer method signatures to use Required types and added error-checking logic. |
release/plugins/events.ts release/plugins/index.ts |
Added new event constants (e.g. PIVOT_CFG_UPDATE_EVENT) and exported the pivot-config module. |
release/plugins/pivot-config/* (index.tsx, pivot.config.dimension.tsx, pivot.config.en.ts, pivot.config.tsx, pivot.config.types.ts, pivot.config.zone.tsx, pivot.config.zone.value.tsx) | Introduced new pivot configuration components, interfaces, drag-and-drop support, and dedicated styling for pivot panels. |
release/plugins/pivot/* (index.ts, pivot.aggregators.ts, pivot.columns.ts, pivot.data.ts, pivot.style.scss, pivot.types.ts) | Enhanced pivot plugin logic: field renaming, type adjustments, dynamic column generation, aggregator functions, and improved data aggregation methods. |
release/src/main.ts | Integrated custom elements and applied new pivot configuration to the grid element, initializing with sample data. |
src/components/charts/Charts.vue src/components/overrides/SocialIcons.astro src/components/showcase/Pivot.astro src/components/showcase/Pivot.vue |
Modified component files to enforce stricter prop types, add new links, update layout and interactive pivot features, and integrate toggle controls. |
src/components/showcase/PivotConfig.vue src/components/sys/Toggle.vue |
Removed the old PivotConfig component and introduced a new Toggle component with v‑model support. |
src/content/demo/ecommerce.mdx | Updated document title from “E-commerce Customer Behavior” to “Demo Customers”. |
Sequence Diagram(s)
sequenceDiagram
participant U as User
participant PC as PivotConfigurator
participant PP as PivotPlugin
participant G as Grid
U->>PC: Interact (toggle, drag, update)
PC->>PP: Send updated pivot configuration
PP->>G: Apply new pivot settings and update columns/data
G-->>U: Render updated grid
sequenceDiagram
participant M as Main (main.ts)
participant CE as CustomElements Loader
participant G as Grid
participant PP as PivotPlugin
M->>CE: Call defineCustomElements()
CE-->>M: Custom elements ready
M->>G: Create and configure grid with pivot config
G->>PP: Initialize pivot plugin and apply configuration
PP-->>G: Return updated grid layout
G-->>M: Grid appended to DOM
Poem
Oh, I’m a rabbit with a joyful heart,
Hopping through code where new changes start.
Configs are tuned and pivots now sway,
Plugins and toggles lead the merry way.
With each tiny hop, my cheers never depart! 🐇
CodeRabbit’s magic makes development an art.
Tip
You can get early access to new features in CodeRabbit.
Enable the early_access
setting in your project's settings in CodeRabbit to enable early access features such as new models, tools, and more.
🪧 Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>, please review it.
Generate unit testing code for this file.
Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitai
in a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.
@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitai
in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
@coderabbitai read src/utils.ts and generate unit testing code.
@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
@coderabbitai help me debug CodeRabbit configuration file.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (Invoked using PR comments)
@coderabbitai pause
to pause the reviews on a PR.@coderabbitai resume
to resume the paused reviews.@coderabbitai review
to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.@coderabbitai full review
to do a full review from scratch and review all the files again.@coderabbitai summary
to regenerate the summary of the PR.@coderabbitai generate docstrings
to generate docstrings for this PR. (Beta)@coderabbitai resolve
resolve all the CodeRabbit review comments.@coderabbitai configuration
to show the current CodeRabbit configuration for the repository.@coderabbitai help
to get help.
Other keywords and placeholders
- Add
@coderabbitai ignore
anywhere in the PR description to prevent this PR from being reviewed. - Add
@coderabbitai summary
to generate the high-level summary at a specific location in the PR description. - Add
@coderabbitai
anywhere in the PR title to generate the title automatically.
CodeRabbit Configuration File (.coderabbit.yaml
)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yaml
file to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.