Skip to content

fix: improve Brandfolder asset field preview in entry editor [AIS-447] - #11282

Open
Jared Jolton (jjolton-contentful) wants to merge 7 commits into
masterfrom
fix/brandfolder-asset-field-preview
Open

fix: improve Brandfolder asset field preview in entry editor [AIS-447]#11282
Jared Jolton (jjolton-contentful) wants to merge 7 commits into
masterfrom
fix/brandfolder-asset-field-preview

Conversation

@jjolton-contentful

@jjolton-contentful Jared Jolton (jjolton-contentful) commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Wire getAdditionalData in the Brandfolder app so selected assets show filename, dimensions/size, and a clickable link to the CDN/original file
  • Polish @contentful/dam-app-base asset cards with a checkerboard thumbnail background, always-visible filename labels, and optional external links via AdditionalData.href
  • Upgrade Brandfolder to dam-app-base 4.x and React 19 so it can use the newer field editor APIs

Test plan

  • npm run build in packages/dam-app-base and apps/brandfolder
  • npm run test:ci in packages/dam-app-base
  • Manually verify in a space with Brandfolder installed: selected image shows checkerboard-backed thumbnail, visible filename, metadata line, and filename opens asset URL in new tab
  • Confirm white/light artwork is visible against the checkerboard background
  • Deploy to test env and smoke-test picker + field rendering
Screenshot 2026-08-25 at 6 59 01 PM

Made with Cursor

Show filenames, metadata, and clickable asset links in the Brandfolder
field editor by wiring getAdditionalData and polishing dam-app-base
thumbnail cards (checkerboard background, always-visible labels).
Upgrade Brandfolder to dam-app-base 4.x and React 19.

Co-authored-by: Cursor <cursoragent@cursor.com>
@wiz-inc-38d59fb8d7

wiz-inc-38d59fb8d7 Bot commented Aug 25, 2026

Copy link
Copy Markdown

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings -
Software Management Finding Software Management Findings -
Total -

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try the Wiz Code extension for VS Code, JetBrains, or Visual Studio.

Pre-bundle the workspace-linked @contentful/dam-app-base package in Vite
so named CJS exports resolve during local development.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@jjolton-contentful Jared Jolton (jjolton-contentful) changed the title fix: improve Brandfolder asset field preview in entry editor fix: improve Brandfolder asset field preview in entry editor [] Aug 26, 2026
Upgrade @contentful/app-scripts to 4.1.8 and pin adm-zip to 0.6.0 via
npm overrides to address the transitive DoS vulnerability.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add .npmrc to pin @contentful packages to registry.npmjs.org. The prior
lockfile was generated against GitHub Packages, which caused 401 errors in
CI bootstrap when installing transitive @contentful dependencies.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Update GetAdditionalData JSDoc, add 4.0.6 CHANGELOG entry for the card
redesign, and add SortableComponent RTL tests for filename links.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jjolton-contentful Jared Jolton (jjolton-contentful) changed the title fix: improve Brandfolder asset field preview in entry editor [] fix: improve Brandfolder asset field preview in entry editor [AIS-447] Aug 26, 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