Repository navigation
feat(@formatjs/editor): project and source models for multi-workspace editors - #7706
Merged
longlho merged 3 commits intoOct 27, 2026
Merged
Conversation
… editors Add an optional project model and per-message source membership to @formatjs/editor so one deployment can serve several translation workspaces fed by several upload streams. - `EditorProject` plus `projects` / `project` / `defaultProject` / `onProjectChange` options and `projects` / `project` / `setProject` state. Switching resets paging, selection, and catalog/source filters; it is blocked while drafts are unsaved unless `discardDrafts` is set. - `EditorMessage.sources` with a `source` / `sources` / `setSource` filter that composes with status, catalog, and search. - `SourceLocation.source` / `repository` / `revision` with exported `formatSourceLocation` and `resolveSourceLocationHref` helpers; the default rendering stays plain text. - `MessageContext` sources row with copy controls. - Optional `ProjectPicker`, `SourceFilter`, and `SourceBadge` adapters with native implementations; `TranslationEditorView` renders them when projects or sources exist and exposes row sources to `renderMessage`. - `EditorState.clearSelection` so workflows can drop an explicit selection. Every addition is optional; existing tests pass unchanged.
pgonsolin
force-pushed
the
psi/editor-projects-and-sources
branch
from
October 26, 2026 22:08
017051a to
388b4a5
Compare
pgonsolin
marked this pull request as ready for review
October 26, 2026 22:16
longlho
approved these changes
Oct 27, 2026
longlho
approved these changes
Oct 27, 2026
longlho
enabled auto-merge (squash)
October 27, 2026 10:56
Merged
longlho
pushed a commit
that referenced
this pull request
Oct 27, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>formatjs_cli: 1.8.3</summary> ## [1.8.3](formatjs_cli_v1.8.2...formatjs_cli_v1.8.3) (2026-10-27) ### Bug Fixes * **@formatjs/unplugin:** evaluate local message constants with OXC ([#7686](#7686)) ([e5b666b](e5b666b)) * **deps:** update oxc to 0.154 ([#7659](#7659)) ([2accd15](2accd15)) * **deps:** update ruff to v0.17.1 ([#7672](#7672)) ([21837f2](21837f2)) </details> <details><summary>@formatjs/cli: 6.16.36</summary> ## [6.16.36](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) ### Dependencies * The following workspace dependencies were updated * optionalDependencies * @formatjs/cli-native-darwin-arm64 bumped to 1.1.30 * @formatjs/cli-native-linux-arm64 bumped to 1.2.30 * @formatjs/cli-native-linux-arm64-musl bumped to 1.0.28 * @formatjs/cli-native-linux-x64 bumped to 1.1.30 * @formatjs/cli-native-linux-x64-musl bumped to 1.0.28 * @formatjs/cli-native-win32-x64 bumped to 1.1.31 </details> <details><summary>@formatjs/cli-lib: 10.0.12</summary> ## [10.0.12](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) ### Bug Fixes * **@formatjs/unplugin:** evaluate local message constants with OXC ([#7686](#7686)) ([e5b666b](e5b666b)) ### Dependencies * The following workspace dependencies were updated * optionalDependencies * @formatjs/cli-native-darwin-arm64 bumped to 1.1.30 * @formatjs/cli-native-linux-arm64 bumped to 1.2.30 * @formatjs/cli-native-linux-arm64-musl bumped to 1.0.28 * @formatjs/cli-native-linux-x64 bumped to 1.1.30 * @formatjs/cli-native-linux-x64-musl bumped to 1.0.28 * @formatjs/cli-native-win32-x64 bumped to 1.1.31 </details> <details><summary>@formatjs/cli-native-darwin-arm64: 1.1.30</summary> ## [1.1.30](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/cli-native-linux-arm64: 1.2.30</summary> ## [1.2.30](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/cli-native-linux-arm64-musl: 1.0.28</summary> ## [1.0.28](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/cli-native-linux-x64: 1.1.30</summary> ## [1.1.30](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/cli-native-linux-x64-musl: 1.0.28</summary> ## [1.0.28](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/cli-native-win32-x64: 1.1.31</summary> ## [1.1.31](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/editor: 1.8.0</summary> ## [1.8.0](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) ### Features * **@formatjs/editor:** project and source models for multi-workspace editors ([#7706](#7706)) ([2cd0705](2cd0705)) </details> <details><summary>@formatjs/unplugin: 1.2.15</summary> ## [1.2.15](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) ### Bug Fixes * **@formatjs/unplugin:** evaluate local message constants with OXC ([#7686](#7686)) ([e5b666b](e5b666b)) ### Dependencies * The following workspace dependencies were updated * dependencies * @formatjs/cli-lib bumped to 10.0.12 </details> <details><summary>babel-plugin-formatjs: 13.0.9</summary> ## [13.0.9](https://github.com/formatjs/formatjs/compare/[email protected]@13.0.9) (2026-10-27) ### Bug Fixes * **@formatjs/unplugin:** evaluate local message constants with OXC ([#7686](#7686)) ([e5b666b](e5b666b)) </details> <details><summary>react-intl: 12.1.6</summary> ## [12.1.6](https://github.com/formatjs/formatjs/compare/[email protected]@12.1.6) (2026-10-27) ### Bug Fixes * **deps:** update formatjs monorepo ([#7710](#7710)) ([d800cee](d800cee)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
longlho
added a commit
that referenced
this pull request
Oct 28, 2026
… editors (#7706) ## Motivation A consumer can run several independent translation workspaces (for example a web app and two mobile apps) in one editor deployment, and each workspace receives messages from several upload streams (for example a main branch and a release branch). Today `@formatjs/editor` models a single message set with optional per-message `catalogs` and a `catalog` filter, and location links have to be built by every consumer through `renderLocation`. This PR adds: 1. A **project model** so the shell can list and switch workspaces while the consumer loads that project's messages, locales, and save handler. 2. **Per-message source membership**, distinct from catalogs, with a composable filter, a context row, and row badges. 3. Enough **location metadata** plus exported helpers to build source links without consumer-side hardcoding. Default rendering stays plain text. Follows the conventions of #7403 and #7424: flat files under `packages/editor`, tests next to code, exports through `index.ts` / `ui.tsx`, CHANGELOG left to the release tooling, no consumer-specific naming. ## API additions | Area | Addition | Notes | | --- | --- | --- | | `workflow.ts` | `EditorProject {id, label, description?}` | New type | | `workflow.ts` | `TranslationEditorOptions.projects?`, `project?` (controlled), `defaultProject?`, `onProjectChange?` | All optional; the hook never loads data | | `workflow.ts` | `TranslationEditorState.projects`, `project`, `setProject(id, {discardDrafts?})` | Returns `ProjectChangeResult`: `changed` / `unchanged` / `blocked` (`unsaved-drafts` or `unknown-project`). Resets page, selection, and catalog/source filters | | `workflow.ts` | `ProjectChangeResult`, `ProjectChangeOptions` | New types | | `workflow.ts` | `EditorMessage.sources?: readonly string[]` | Upload streams, distinct from `catalogs` | | `workflow.ts` | `TranslationEditorState.sources`, `source`, `setSource` | Empty-string "all" sentinel, same as `catalog`; composes with status, catalog, and search | | `source-location.ts` | `SourceLocation.source?`, `repository?`, `revision?` | `SourceLocation` is still exported from `workflow.ts` | | `source-location.ts` | `formatSourceLocation(location)` | The `file`, `file:start`, `file:start–end` text `MessageContext` already used | | `source-location.ts` | `resolveSourceLocationHref(location, {baseUrl?, repository?, revision?, lineFragment?})`, `SourceLocationHrefOptions` | `baseUrl` is a string with optional `{repository}` / `{revision}` placeholders or a function; returns `undefined` without a base or a placeholder value | | `core.tsx` | `EditorState.clearSelection()` | Lets workflows drop an explicit selection | | `message-context.tsx` | "Sources" row, `copySources`, labels `sources` / `sourceCopy` | Hidden when the message has no sources | | `design-system.tsx` | `ProjectPicker`, `SourceFilter`, `SourceBadge` adapters and their props types | Optional additions to `EditorToolComponents`; native `<select>` / `<select>` / `<span>` implementations | | `ui.tsx` | `TranslationEditorViewProps.projects?`, `sourceFilter?`; `EditorProjectSelection`, `EditorSourceSelection` | Picker renders when more than one project exists, filter when any source exists | | `ui.tsx` | `EditorMessageRenderState.sources`, `EditorViewMessage.sources?` | Default rows render `SourceBadge`s; custom `renderMessage` receives `state.sources` | | `ui.tsx` | Labels `project`, `sources`, `sourceFilter`, `allSources`, `sourceBadge(source)` | Overridable through `labels` | The spec called for `ProjectPicker` and `SourceBadge`; a third `SourceFilter` adapter was added so the composed view can render the source filter through the design system instead of a raw `<select>`. ## Compatibility - Every option, prop, message field, and label is optional; `projects` defaults to an empty list and `project` to `undefined`. - Existing design-system registries keep type-checking: the new adapters sit in `EditorToolComponents`, which is already `Partial` in `EditorComponents`, and fall back to the native implementations. - `TranslationEditorView` passes `filters` through unchanged when no project or source data is supplied. - `SourceLocation` keeps its shape and export path; `MessageContext` default location text is unchanged. - All 57 existing editor tests pass unchanged; 16 tests were added (73 total). ## Test plan Run in this environment (no Bazel available on the machine): - [x] `tsc` over `packages/editor/*.ts(x)` with the root `tsconfig.json` (`isolatedDeclarations`, `strict`) and the `#packages/*` path mapping – clean - [x] `vitest run` for all 7 editor test files with happy-dom – 73 passed (57 on `main`) - [x] `oxfmt --check packages/editor/` and `oxlint packages/editor/` – clean - [x] `codescythe` dead-export check – clean - [ ] `bazel test //packages/editor/...` – not run locally; relies on CI New tests: - `workflow.test.tsx`: source filter composing with status, catalog, and search; uncontrolled switching resets page/selection/filters and reports `unchanged` / `unknown-project`; `unsaved-drafts` blocks until reset or `discardDrafts`; controlled projects wait for the consumer. - `source-location.test.ts`: file-only, `file:start`, `file:start–end`, placeholders with repository/revision present and absent, fallbacks, path encoding, resolver and fragment overrides, no link without a base. - `tools.test.tsx`: `MessageContext` sources row with copy controls and omission without sources; text-only default locations with resolver-built links via `renderLocation`; native `ProjectPicker` (keyboard-focusable `<select>`, labelled options, disabled), `SourceFilter`, and `SourceBadge`. - `ui.test.tsx`: view renders the picker only with more than one project and the filter only with sources, badges only on rows with sources; custom registries without the new adapters still work and `renderMessage` receives `state.sources`. The demo under `packages/editor/demo` and the VRT gallery were left unchanged: wiring new controls into the StyleX demo is not cheap enough to include here, and nothing new renders without project or source data, so existing visual baselines are unaffected. ## Consumer binding This package only models projects, sources, and location metadata. Loading a project's messages, confirming draft discards, and mapping `repository` / `revision` to a specific hosting URL live in the consuming application, outside this package. --------- Co-authored-by: pgonsolin <[email protected]> Co-authored-by: Long Ho <[email protected]>
longlho
pushed a commit
that referenced
this pull request
Oct 28, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>formatjs_cli: 1.8.3</summary> ## [1.8.3](formatjs_cli_v1.8.2...formatjs_cli_v1.8.3) (2026-10-27) ### Bug Fixes * **@formatjs/unplugin:** evaluate local message constants with OXC ([#7686](#7686)) ([e5b666b](e5b666b)) * **deps:** update oxc to 0.154 ([#7659](#7659)) ([2accd15](2accd15)) * **deps:** update ruff to v0.17.1 ([#7672](#7672)) ([21837f2](21837f2)) </details> <details><summary>@formatjs/cli: 6.16.36</summary> ## [6.16.36](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) ### Dependencies * The following workspace dependencies were updated * optionalDependencies * @formatjs/cli-native-darwin-arm64 bumped to 1.1.30 * @formatjs/cli-native-linux-arm64 bumped to 1.2.30 * @formatjs/cli-native-linux-arm64-musl bumped to 1.0.28 * @formatjs/cli-native-linux-x64 bumped to 1.1.30 * @formatjs/cli-native-linux-x64-musl bumped to 1.0.28 * @formatjs/cli-native-win32-x64 bumped to 1.1.31 </details> <details><summary>@formatjs/cli-lib: 10.0.12</summary> ## [10.0.12](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) ### Bug Fixes * **@formatjs/unplugin:** evaluate local message constants with OXC ([#7686](#7686)) ([e5b666b](e5b666b)) ### Dependencies * The following workspace dependencies were updated * optionalDependencies * @formatjs/cli-native-darwin-arm64 bumped to 1.1.30 * @formatjs/cli-native-linux-arm64 bumped to 1.2.30 * @formatjs/cli-native-linux-arm64-musl bumped to 1.0.28 * @formatjs/cli-native-linux-x64 bumped to 1.1.30 * @formatjs/cli-native-linux-x64-musl bumped to 1.0.28 * @formatjs/cli-native-win32-x64 bumped to 1.1.31 </details> <details><summary>@formatjs/cli-native-darwin-arm64: 1.1.30</summary> ## [1.1.30](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/cli-native-linux-arm64: 1.2.30</summary> ## [1.2.30](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/cli-native-linux-arm64-musl: 1.0.28</summary> ## [1.0.28](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/cli-native-linux-x64: 1.1.30</summary> ## [1.1.30](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/cli-native-linux-x64-musl: 1.0.28</summary> ## [1.0.28](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/cli-native-win32-x64: 1.1.31</summary> ## [1.1.31](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) </details> <details><summary>@formatjs/editor: 1.8.0</summary> ## [1.8.0](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) ### Features * **@formatjs/editor:** project and source models for multi-workspace editors ([#7706](#7706)) ([2cd0705](2cd0705)) </details> <details><summary>@formatjs/unplugin: 1.2.15</summary> ## [1.2.15](https://github.com/formatjs/formatjs/compare/@formatjs/[email protected]...@formatjs/[email protected]) (2026-10-27) ### Bug Fixes * **@formatjs/unplugin:** evaluate local message constants with OXC ([#7686](#7686)) ([e5b666b](e5b666b)) ### Dependencies * The following workspace dependencies were updated * dependencies * @formatjs/cli-lib bumped to 10.0.12 </details> <details><summary>babel-plugin-formatjs: 13.0.9</summary> ## [13.0.9](https://github.com/formatjs/formatjs/compare/[email protected]@13.0.9) (2026-10-27) ### Bug Fixes * **@formatjs/unplugin:** evaluate local message constants with OXC ([#7686](#7686)) ([e5b666b](e5b666b)) </details> <details><summary>react-intl: 12.1.6</summary> ## [12.1.6](https://github.com/formatjs/formatjs/compare/[email protected]@12.1.6) (2026-10-27) ### Bug Fixes * **deps:** update formatjs monorepo ([#7710](#7710)) ([d800cee](d800cee)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
A consumer can run several independent translation workspaces (for example a web app and two mobile apps) in one editor deployment, and each workspace receives messages from several upload streams (for example a main branch and a release branch). Today
@formatjs/editormodels a single message set with optional per-messagecatalogsand acatalogfilter, and location links have to be built by every consumer throughrenderLocation. This PR adds:Follows the conventions of #7403 and #7424: flat files under
packages/editor, tests next to code, exports throughindex.ts/ui.tsx, CHANGELOG left to the release tooling, no consumer-specific naming.API additions
workflow.tsEditorProject {id, label, description?}workflow.tsTranslationEditorOptions.projects?,project?(controlled),defaultProject?,onProjectChange?workflow.tsTranslationEditorState.projects,project,setProject(id, {discardDrafts?})ProjectChangeResult:changed/unchanged/blocked(unsaved-draftsorunknown-project). Resets page, selection, and catalog/source filtersworkflow.tsProjectChangeResult,ProjectChangeOptionsworkflow.tsEditorMessage.sources?: readonly string[]catalogsworkflow.tsTranslationEditorState.sources,source,setSourcecatalog; composes with status, catalog, and searchsource-location.tsSourceLocation.source?,repository?,revision?SourceLocationis still exported fromworkflow.tssource-location.tsformatSourceLocation(location)file,file:start,file:start–endtextMessageContextalready usedsource-location.tsresolveSourceLocationHref(location, {baseUrl?, repository?, revision?, lineFragment?}),SourceLocationHrefOptionsbaseUrlis a string with optional{repository}/{revision}placeholders or a function; returnsundefinedwithout a base or a placeholder valuecore.tsxEditorState.clearSelection()message-context.tsxcopySources, labelssources/sourceCopydesign-system.tsxProjectPicker,SourceFilter,SourceBadgeadapters and their props typesEditorToolComponents; native<select>/<select>/<span>implementationsui.tsxTranslationEditorViewProps.projects?,sourceFilter?;EditorProjectSelection,EditorSourceSelectionui.tsxEditorMessageRenderState.sources,EditorViewMessage.sources?SourceBadges; customrenderMessagereceivesstate.sourcesui.tsxproject,sources,sourceFilter,allSources,sourceBadge(source)labelsThe spec called for
ProjectPickerandSourceBadge; a thirdSourceFilteradapter was added so the composed view can render the source filter through the design system instead of a raw<select>.Compatibility
projectsdefaults to an empty list andprojecttoundefined.EditorToolComponents, which is alreadyPartialinEditorComponents, and fall back to the native implementations.TranslationEditorViewpassesfiltersthrough unchanged when no project or source data is supplied.SourceLocationkeeps its shape and export path;MessageContextdefault location text is unchanged.Test plan
Run in this environment (no Bazel available on the machine):
tscoverpackages/editor/*.ts(x)with the roottsconfig.json(isolatedDeclarations,strict) and the#packages/*path mapping – cleanvitest runfor all 7 editor test files with happy-dom – 73 passed (57 onmain)oxfmt --check packages/editor/andoxlint packages/editor/– cleancodescythedead-export check – cleanbazel test //packages/editor/...– not run locally; relies on CINew tests:
workflow.test.tsx: source filter composing with status, catalog, and search; uncontrolled switching resets page/selection/filters and reportsunchanged/unknown-project;unsaved-draftsblocks until reset ordiscardDrafts; controlled projects wait for the consumer.source-location.test.ts: file-only,file:start,file:start–end, placeholders with repository/revision present and absent, fallbacks, path encoding, resolver and fragment overrides, no link without a base.tools.test.tsx:MessageContextsources row with copy controls and omission without sources; text-only default locations with resolver-built links viarenderLocation; nativeProjectPicker(keyboard-focusable<select>, labelled options, disabled),SourceFilter, andSourceBadge.ui.test.tsx: view renders the picker only with more than one project and the filter only with sources, badges only on rows with sources; custom registries without the new adapters still work andrenderMessagereceivesstate.sources.The demo under
packages/editor/demoand the VRT gallery were left unchanged: wiring new controls into the StyleX demo is not cheap enough to include here, and nothing new renders without project or source data, so existing visual baselines are unaffected.Consumer binding
This package only models projects, sources, and location metadata. Loading a project's messages, confirming draft discards, and mapping
repository/revisionto a specific hosting URL live in the consuming application, outside this package.