Skip to content

Bundle entryState as a separate package export#2406

Merged
tf merged 1 commit intocodevise:masterfrom
tf:entry-state-external
Apr 24, 2026
Merged

Bundle entryState as a separate package export#2406
tf merged 1 commit intocodevise:masterfrom
tf:entry-state-external

Conversation

@tf
Copy link
Copy Markdown
Member

@tf tf commented Apr 23, 2026

Replace relative imports of entryState with
'pageflow-scrolled/entryState' package imports across frontend, editor, and content element code. This ensures entryState stays external when content elements, widgets, and the editor are bundled separately, preventing code duplication.

Also add ESLint rules to catch accidental relative imports in content elements, widgets, and editor code, and export useMainStoryline from the entryState public API.

REDMINE-21240

@tf tf added this to the v17.2 milestone Apr 23, 2026
Replace relative imports of entryState with
'pageflow-scrolled/entryState' package imports across
frontend, editor, and content element code. This ensures
entryState stays external when content elements, widgets,
and the editor are bundled separately, preventing code
duplication.

Also add ESLint rules to catch accidental relative imports
in content elements, widgets, and editor code, and export
useMainStoryline from the entryState public API.

REDMINE-21240
@tf tf force-pushed the entry-state-external branch from ad2c34f to 94e3622 Compare April 24, 2026 08:09
@tf tf merged commit 0c13154 into codevise:master Apr 24, 2026
18 checks passed
@tf tf deleted the entry-state-external branch April 24, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant