Skip to content

feat(Board): new features#1233

Merged
tenphi merged 9 commits into
mainfrom
feat-board-component-new-features
Jul 10, 2026
Merged

feat(Board): new features#1233
tenphi merged 9 commits into
mainfrom
feat-board-component-new-features

Conversation

@tenphi

@tenphi tenphi commented Jul 10, 2026

Copy link
Copy Markdown
Member

Note

Medium Risk
Changes core Board layout, resize constraints, and aligned-nested semantics—apps relying on shrunk rows inside short containers or old transform positioning may see different sizing/animation. Dev-only lint-staged upgrade is low risk.

Overview
Board / Board.Widget gain widgetProps for board-wide defaults (card chrome, sizing, drag/resize, merged styles), per-widget isCard, minW/maxW/minH/maxH when layout items omit bounds, and container style props on Board.Widget merged into styles.

Visual / layout behavior: widgets default to #surface-2 fill and rounded corners; optional card borders. Positioning moves from transform to left/top with inset transitions on reflow. Read-only boards (isDraggable={false}) no longer attach drag handlers so text inside widgets stays selectable.

Aligned nested boards (isAligned): use the parent row height verbatim (no shrinking to fit), default containerPadding to [0, 0], and a small width tolerance so column pitch lines up with the ancestor grid—intended to pair with isAutoHeight containers. Nested boards inherit ancestor showGridLines during drag when unset; inner grid lines hide while the host widget is dragged.

Tooling: fixes lint-staged glob (*.{js,jsx,ts,tsx}) and bumps lint-staged ^10^17 (lockfile churn).

Reviewed by Cursor Bugbot for commit 211f3c3. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cube-ui-kit Ready Ready Preview, Comment Jul 10, 2026 2:26pm

Request Review

@changeset-bot

changeset-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 211f3c3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cube-dev/ui-kit Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

📦 NPM canary release

Deployed canary version 0.0.0-canary-af65c0a.

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

🧪 Storybook is successfully deployed!

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

🏋️ Size limit report

Name Size Passed?
All 412.49 KB (+0.11% 🔺) Yes 🎉
Tree shaking (just a Button) 114.36 KB (0% 🟰) Yes 🎉

Click here if you want to find out what is changed in this build

Comment thread src/components/layout/Board/Widget.tsx
Comment thread src/components/layout/Board/Board.tsx Outdated
Comment thread src/components/layout/Board/Widget.tsx
Comment thread src/components/layout/Board/Board.tsx

@cursor cursor 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.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4151516. Configure here.

Comment thread src/components/layout/Board/WidgetHost.tsx
Comment thread src/components/layout/Board/WidgetHost.tsx
@tenphi tenphi merged commit 3a2d553 into main Jul 10, 2026
16 checks passed
@tenphi tenphi deleted the feat-board-component-new-features branch July 10, 2026 14:34
@github-actions github-actions Bot mentioned this pull request Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant