Skip to content

Add entityResolve prop to StromcomConf and language prop to StromcomProvider - #1

Merged
stromcom merged 2 commits into
masterfrom
feature/entity-resolve-and-language
Aug 7, 2026
Merged

Add entityResolve prop to StromcomConf and language prop to StromcomProvider#1
stromcom merged 2 commits into
masterfrom
feature/entity-resolve-and-language

Conversation

@stromcom

Copy link
Copy Markdown
Owner

Summary

  • StromcomProvider — new language prop, sets data-lang on the injected loader script.
  • StromcomConf — new entityResolve prop, forwarded to sc.conf() as-is (async ({type, id}) => detail), for the message editor's chip hover-card.
  • Updated index.d.ts typings and README.

Test plan

  • npm run test — 29 tests, all green
  • npm run lint — clean
  • npm run build — builds clean (ESM + CJS)

…rovider

Mirrors two new capabilities in the main app: the Tiptap message editor's
entity chip hover-card (entityResolve callback) and the widget's UI-language
override (data-lang), so the React wrapper stays in sync with the snippet.
The API tables were hand-aligned and failed `prettier --check`,
which CI runs as a required step.
@stromcom
stromcom force-pushed the feature/entity-resolve-and-language branch from bdc2a32 to 3684e77 Compare August 7, 2026 12:12
@stromcom
stromcom merged commit fb8335b into master Aug 7, 2026
3 checks passed
@stromcom stromcom mentioned this pull request Aug 7, 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