feat: Shows an alert in container sync if the only change is a local override to a text component [FC-0097] (#2516)

- Implements the alert described in https://github.com/openedx/frontend-app-authoring/issues/2438#issuecomment-3358670967
This commit is contained in:
Chris Chávez
2025-10-15 19:17:56 -05:00
committed by GitHub
parent 195249ef26
commit 311bef67ed
16 changed files with 196 additions and 28 deletions

View File

@@ -105,6 +105,7 @@ export interface LibraryChangesMessageData {
isLocallyModified?: boolean,
isContainer: boolean,
blockType?: string | null,
isReadyToSyncIndividually?: boolean,
}
export interface PreviewLibraryXBlockChangesProps {
@@ -143,6 +144,7 @@ export const PreviewLibraryXBlockChanges = ({
<CompareContainersWidget
upstreamBlockId={blockData.upstreamBlockId}
downstreamBlockId={blockData.downstreamBlockId}
isReadyToSyncIndividually={blockData.isReadyToSyncIndividually}
/>
);
}