Skip to content

feat: update origin to Angular v22.1 - #192

Open
ricardochl wants to merge 2 commits into
mainfrom
update-angular-22.1
Open

feat: update origin to Angular v22.1#192
ricardochl wants to merge 2 commits into
mainfrom
update-angular-22.1

Conversation

@ricardochl

@ricardochl ricardochl commented Aug 4, 2026

Copy link
Copy Markdown
Member

Sincroniza la traducción al español con Angular v22.1 y corrige el
desfase acumulado entre adev-es y la estructura actual de origin.

Sincronización de contenido

  • Traduce/actualiza todas las guías afectadas por la refactorización de
    v22.1: signals, componentes, plantillas, directivas, DI, enrutamiento,
    formularios (incluyendo las nuevas guías de Signal Forms), cliente
    HTTP, SSR, testing, Angular Aria, i18n, animaciones
  • Reescribe por completo guide/testing/components-basics.md y
    components-scenarios.md para igualar el contenido actual en inglés
    basado en código inline (antes referenciaba una app de ejemplo ya
    eliminada en examples/testing)
  • Elimina contenido que ya no existe en inglés (guías de pipes,
    route-animations, prerendering, router-tutorial, devtools,
    migrations)
  • Traduce events/v22.md y actualiza las secciones de Testing y
    referencia de API de aria/*.md al formato actual
  • Corrige referencias a archivos de ejemplo obsoletos
    (attribute-directives, router-reference, routing-with-urlmatcher,
    typos en i18n)

Consistencia de enlaces y anclas

  • Estandariza los enlaces internos a ids explícitos en inglés en los
    encabezados ({#id}) en todo guide/ para que las traducciones al
    español ya no rompan las anclas, y estabiliza los ids duplicados o
    mal ubicados resultantes
  • Corrige enlaces absolutos rotos a angular.dev, destinos de página
    obsoletos/renombrados, y anclas con slug en español, todo encontrado
    mediante el pipeline de build real (npm run build), no solo
    auditoría estática de enlaces
  • Verifica estructura de encabezados 1:1 y paridad byte a byte de los
    .en.md para las 341 páginas traducidas, y paridad de carpetas/
    archivos entre adev-es y origin

Arquitectura de navegación

  • Reconstruye adev-es/src/app/routing/navigation-entries/index.ts para
    igualar el nuevo módulo de navegación de origin (antes atascado en
    el viejo sub-navigation-data.ts monolítico, sin ~20 páginas nuevas
    y varias secciones de nivel superior)
  • Simplifica sub-navigation-data.ts de vuelta a un simple re-export,
    igual que origin
  • Traduce los strings restantes de navigation.component.html/
    footer.component.html y localiza los componentes de demostración
    de la página de inicio (control-flow, deferrable-views, signals
    demo, hydration demo, animation)

Herramientas

  • Corrige tools/update-origin.mjs: sincroniza navigation-entries, los
    componentes de la página de inicio y links.ts de ahora en adelante
    (antes los patrones glob no coincidían y se omitían en silencio)

@ricardochl
ricardochl force-pushed the update-angular-22.1 branch 3 times, most recently from c4fbe1c to 4df79b6 Compare August 12, 2026 21:08
@ricardochl
ricardochl marked this pull request as ready for review August 12, 2026 21:08
Sync the Spanish translation with Angular v22.1 and fix the accumulated
drift between adev-es and the current origin structure.

Content sync
- Translate/update all guides affected by the v22.1 refactor: signals,
  components, templates, directives, DI, routing, forms (including the
  new Signal Forms guides), HTTP client, SSR, testing, Angular Aria,
  i18n, animations
- Fully rewrite guide/testing/components-basics.md and
  components-scenarios.md to match the current inline-code-based
  English content (previously referenced a deleted examples/testing app)
- Remove content that no longer exists in English (pipes guides,
  route-animations, prerendering, router-tutorial, devtools, migrations)
- Translate events/v22.md and update the aria/*.md Testing and API
  reference sections to the current format
- Fix stale example file references (attribute-directives,
  router-reference, routing-with-urlmatcher, i18n typos)

Link and anchor consistency
- Standardize internal links to explicit English heading IDs
  ({#id}) across guide/ so Spanish translations no longer break
  anchors, and stabilize the resulting duplicate/misplaced IDs
- Fix broken absolute angular.dev links, stale/renamed page targets,
  and Spanish-slugged anchors found via the real build pipeline
  (npm run build), not just static link auditing
- Verify 1:1 heading structure and .en.md byte-parity for all 341
  translated pages, and folder/file parity between adev-es and origin

Navigation architecture
- Rebuild adev-es/src/app/routing/navigation-entries/index.ts to match
  origin's new navigation module (previously stuck on the old
  monolithic sub-navigation-data.ts, missing ~20 new pages and several
  top-level sections)
- Simplify sub-navigation-data.ts back to a thin re-export, matching
  origin
- Translate remaining navigation.component.html/footer.component.html
  strings and localize the home page demo components (control-flow,
  deferrable-views, signals demo, hydration demo, animation)

Tooling
- Fix tools/update-origin.mjs: sync navigation-entries, home page
  components, and links.ts going forward (previously unmatched glob
  patterns silently skipped them)
- Bump .node-version to satisfy the pinned pnpm version required by CI
@ricardochl
ricardochl force-pushed the update-angular-22.1 branch from 4df79b6 to 7daab57 Compare August 12, 2026 21:15
@ricardochl
ricardochl requested a review from oidacra August 12, 2026 21:26
oidacra
oidacra previously approved these changes Aug 14, 2026
…ring

origin's .bazelrc disables Bazel sandbox network access by default
(--nosandbox_default_allow_network), which makes the adev SSR bundling
step fail (RetryError: Unreachable hosts) because it needs to reach
Algolia during prerendering. This is a known issue also hit by
angular/angular-ja; this mirrors their fix.

- CI: add --sandbox_default_allow_network and CI resource limits to
  the Bazel config in ci.yml and adev-staging-deploy.yml
- Local: add a root .bazelrc (general Bazel diagnostics) and an
  optional .bazelrc.user.example (macOS network workaround via
  --spawn_strategy=local); tools/lib/common.mjs now propagates both
  into build/.bazelrc.user on every build, since Bazel only reads
  .bazelrc.user from its own workspace root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants