Keep every picked card on the finished Rule, and wait for its words before Continue.

This commit is contained in:
adilallo committed 2026-11-22 17:56:38 -07:00
1 parent a846169960
commit a2815ae05f
16 files changed
+417 -114

No files matched your search

@@ -18,7 +18,10 @@ import {
type FinalReviewCategoryRowDetailed,
} from "../../../../../lib/create/buildFinalReviewCategories";
import { communityInitialsFromTitle } from "../../../../../lib/create/communityInitials";
import { finalReviewChipHasWarning } from "../../../../../lib/create/finalReviewChipWarnings";
import {
finalReviewChipHasWarning,
finalReviewMissingWordsLabels,
} from "../../../../../lib/create/finalReviewChipWarnings";
import { applyFinalReviewChipEditPatch } from "../../../../../lib/create/applyFinalReviewChipEditPatch";
import type {
TemplateChipDetail,
@@ -234,6 +237,11 @@ export function FinalReviewScreen({
const descriptionEmptyHint = t("communityContextEditModal.emptyHint");
const missingWordsLabels = useMemo(
() => finalReviewMissingWordsLabels(state),
[state],
);
const templatePath = isTemplateCreatePath(state);
const avatarUpload = useCommunityAvatarUpload();
const serverAvatarUrl = useCommunityAvatarDisplayUrl(state.communityAvatarUrl);
@@ -277,6 +285,19 @@ export function FinalReviewScreen({
: t("description")
}
>
{missingWordsLabels.length > 0 ? (
<Alert
type="banner"
status="warning"
size="m"
title={t("missingWordsWarning.title")}
description={t("missingWordsWarning.description").replace(
"{labels}",
missingWordsLabels.join(", "),
)}
hasTrailingIcon={false}
/>
) : null}
{bindingArbitrationNeedsSeparateYes(state) ? (
<Alert
type="banner"