fix[plugin][commerceLayer]: ENG-11355 improve truncation of field labels in commerce layer plugin#4477
Merged
AishwaryaParab merged 3 commits intomainfrom Apr 6, 2026
Conversation
|
|
View your CI Pipeline Execution ↗ for commit 2cdd470
☁️ Nx Cloud last updated this comment at |
midhunadarvin
approved these changes
Apr 3, 2026
AishwaryaParab
added a commit
that referenced
this pull request
Apr 6, 2026
…ommercelayer (#4502) ## Description Bump up versions of plugin-tools and commerce layer plugin. Note that the version of plugin-tools was 0.0.7 on npm but wasn't updated in the code. That's why, we're now bumping it to 0.0.8. Related PR (merged): #4477 _Screenshot_ N/A <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk version bump touching only package metadata and lockfiles; main risk is dependency resolution/publishing consistency for `@builder.io/plugin-tools` in the Commerce Layer plugin. > > **Overview** > Bumps `@builder.io/plugin-tools` from `0.0.6` to `0.0.8` (package + lockfile). > > Releases `@builder.io/plugin-commercelayer` `0.1.4` and pins its dependency on `@builder.io/plugin-tools` to `0.0.8` (was `^0.0.6`), updating the corresponding `package-lock.json` resolved tarball/integrity. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit b96178d. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Long SKU and Bundle names were being truncated too aggressively in the Commerce Layer plugin UI, even when there was enough horizontal space to display more of the label. This PR fixes that issue.
The
textOverflow: 'ellipsis'andwhiteSpace: 'nowrap'are still in place, so long names will truncate gracefully.Screenshot
https://www.loom.com/share/138a0db3ae844a8ebbed8273518d1e4c
Note
Low Risk
Low risk UI-only change that adjusts text layout and adds a tooltip; no data flow or business logic is affected.
Overview
Improves how resource labels truncate in
ResourcePreviewCellby removing the fixedmaxWidth: 400constraint and letting the label use the full available width (width: '100%').Adds a
titleattribute so the full resource label (ortitle - id) is available on hover when the text is ellipsized.Reviewed by Cursor Bugbot for commit 2cdd470. Bugbot is set up for automated code reviews on this repo. Configure here.