Skip to content

Add entityResolve conf option and language snippet parameter#1

Open
stromcom wants to merge 2 commits into
masterfrom
feature/entity-resolve-and-language
Open

Add entityResolve conf option and language snippet parameter#1
stromcom wants to merge 2 commits into
masterfrom
feature/entity-resolve-and-language

Conversation

@stromcom

Copy link
Copy Markdown
Owner

Summary

  • ConfOptions::$entityResolve — new callback option (JS-wrapped like onNotification) resolving business-entity detail for the message editor's Tiptap chip hover-card, mirroring dataLayer.conf.entityResolve in the main app.
  • SnippetClient::snippet(?string $language = null) — optional UI-language override, emitted as j.dataset.lang, mirroring the widget's new data-lang support.
  • Prepares CHANGELOG.md for a 0.4.0 tag.

Test plan

  • composer test — 101 tests, 160 assertions, all green
  • composer ca (phpstan level max + cs:check) — no errors

stromcom added 2 commits July 17, 2026 12:02
Mirrors two new capabilities in the main app: the Tiptap message editor's
entity chip hover-card (dataLayer.conf.entityResolve) and the widget's
UI-language override (data-lang), so the generated snippet stays in sync.
Both tags were cut without a matching CHANGELOG entry (two SnippetOptions
default-value bugfixes). Add them retroactively so 0.4.0 doesn't sit
directly above 0.3.1 with an undocumented gap in between.
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