Skip to content

feat: text satisfies rich_text selectors#1229

Open
jwartofsky-yext wants to merge 2 commits into
mainfrom
richTextToText
Open

feat: text satisfies rich_text selectors#1229
jwartofsky-yext wants to merge 2 commits into
mainfrom
richTextToText

Conversation

@jwartofsky-yext
Copy link
Copy Markdown
Contributor

@jwartofsky-yext jwartofsky-yext commented Jun 2, 2026

Allows EntityFieldSelector and itemSource to treat text fields as satisfying a rich_text field.

This allows mapping rich_text fields to ordinary text fields and treats objects with text fields as satisfying the rich_text requirement for itemSource and slottedItemSource.

Verified that RichText fields can be mapped to ordinary Text fields. Verified that ordinary Text fields cannot be mapped to RichText.

Verified that itemSource/slottedItemSource mapping requirements now accept Text in place of RichText.

Allows EntityFieldSelector and itemSource to treat text fields
as satisfying a rich_text field.

This allows mapping rich_text fields to ordinary text fields and
treats objects with text fields as satisfying the rich_text requirement
for itemSource and slottedItemSource.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 2, 2026

Warning

Review limit reached

@yext-bot, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 31 minutes and 58 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: ceb44edd-5109-4dee-8548-8589bb9271f5

📥 Commits

Reviewing files that changed from the base of the PR and between bc3acac and 4d22d00.

⛔ Files ignored due to path filters (1)
  • packages/visual-editor/src/components/testing/screenshots/PhotoGallerySection/[desktop] version 59 with showSectionHeading false.png is excluded by !**/*.png, !packages/visual-editor/src/components/testing/screenshots/**
📒 Files selected for processing (5)
  • packages/visual-editor/src/editor/yextEntityFieldUtils.test.ts
  • packages/visual-editor/src/editor/yextEntityFieldUtils.ts
  • packages/visual-editor/src/fields/EntityFieldSelectorField.test.tsx
  • packages/visual-editor/src/internal/utils/getFilteredEntityFields.test.ts
  • packages/visual-editor/src/internal/utils/getFilteredEntityFields.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch richTextToText

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jwartofsky-yext jwartofsky-yext marked this pull request as ready for review June 2, 2026 21:15
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.

2 participants