From 431b170fd562198b9bbffb079bb13c2dfd3210b1 Mon Sep 17 00:00:00 2001 From: Kam Date: Wed, 2 Sep 2026 10:15:12 +0300 Subject: [PATCH] build: narrow the preview exclusions for two example apps `reactive-forms` and `form-validation` were excluded from `embeddable` in full, with a TODO to fix them. The examples are fine; four partial snapshots quoted by the guides are not, since each shares the final template of the component it precedes, which references members it does not have yet. Excluding those four files clears all 30 errors and puts 23 app files back in the preview pool, so both guides' final components can be previewed for the first time. --- adev/src/content/examples/BUILD.bazel | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/adev/src/content/examples/BUILD.bazel b/adev/src/content/examples/BUILD.bazel index 80daf0ef0af..0f84e06ec6c 100644 --- a/adev/src/content/examples/BUILD.bazel +++ b/adev/src/content/examples/BUILD.bazel @@ -16,9 +16,12 @@ copy_to_bin( "i18n/**", # @angular/localize/init not available in docs app "elements/**", # @angular/elements not available in docs app "service-worker-getting-started/**", # @angular/service-worker not available in docs app - # TODO: The following examples have broken code that does not compile, fix them and remove them from this list. - "reactive-forms/**", - "form-validation/**", + # Partial snapshots quoted by the guides. Each shares the final template of + # the component it precedes, which references members it does not have yet. + "form-validation/src/app/reactive/actor-form-reactive.component.1.ts", + "form-validation/src/app/reactive/actor-form-reactive.component.2.ts", + "reactive-forms/src/app/profile-editor/profile-editor.component.1.ts", + "reactive-forms/src/app/profile-editor/profile-editor.component.2.ts", ], ), visibility = ["//visibility:public"],