Skip to content

docs(pt): sync web, desktop, example-projects, and ci/codemagic with English - #2582

Merged
kacperkapusciak merged 1 commit into
e2e-inc:mainfrom
eriveltonelias:docs-pt-sync-2026-12-01
Dec 2, 2026
Merged

kacperkapusciak merged 1 commit into
e2e-inc:mainfrom
eriveltonelias:docs-pt-sync-2026-12-01

Conversation

@eriveltonelias

@eriveltonelias eriveltonelias commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

What and why

Brings four pt pages back in line with English:

  • web: the app.command options table was rewritten (port note on reuseExisting, app.readyUrl, shorter rows), and the "runs without a shell" paragraph moved to the command reference. Also restores two /reference/web anchors (#media-emulation, #hosted-browsers) the pt page had dropped.
  • desktop: new sentence on starting from the SwiftUI example with npx e2e init my-app --example with-swiftui.
  • example-projects: the SwiftUI card now says iOS and macOS.
  • ci/codemagic: new card for Codemagic's Flutter example repository.

Issue

Part of #1890

Verified

Ran it locally: yes.

  • cmp.mjs prints ok for web, desktop, and example-projects. ci/codemagic shows only the known codes artifact from the escaped spans in its setupPrompt string, in lines this change does not touch.
  • rep-check.ts prints [] for all four pages. No em or en dashes.
  • From docs/: check-docs-examples, check-docs-package-managers, check-docs-anchors, check-docs-logos, check-docs-mdx, and check-docs-translations all exit 0, with no warning on these pages.
  • A fresh-context review caught a release-gate wording that dropped "liberar" (now "verificações que liberam ou bloqueiam a release"), an imperative "Copie" in a table of descriptive rows, a pronoun that made the option return the variables, and a calque in the log row. All four are fixed.

View guided diff

Summary by CodeRabbit

  • Documentation
    • Added a Codemagic example project with details about its workflows and release checks.
    • Documented how to start a project from an existing SwiftUI app, which runs on macOS and iOS. Updated the example description to note testing on both iPhone simulators and Mac.
    • Clarified web command options and linked to more specific guidance on command execution, media emulation, and hosted browsers.

Bring web, desktop, example-projects, and ci/codemagic back in line with the English pages.
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Docs preview

The site runs each docs page as code, so a fork's pull request is previewed only after a maintainer reads it. To preview 581f1e8, comment /docs-preview 581f1e885c051d9f4c23946dc0fadfa0e02f62fd.

@github-actions github-actions Bot added the size:M Up to 99 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Dec 1, 2026
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Exemplo Codemagic

Layer / File(s) Summary
Cartão do exemplo Codemagic
docs/pt/ci/codemagic.mdx
A página inclui um cartão para o exemplo Codemagic e descreve o app Flutter, seus workflows, verificações de release e teste de agente reproduzido.

Documentação do exemplo SwiftUI

Layer / File(s) Summary
Inicialização e descrição do exemplo
docs/pt/desktop.mdx, docs/pt/example-projects.mdx
A documentação inclui o comando para iniciar com o exemplo SwiftUI. Também informa que o app roda em macOS e iOS e é testado em simulador de iPhone e no Mac.

Referência de comandos web

Layer / File(s) Summary
Opções e links de referência
docs/pt/web.mdx
A tabela revisa as descrições de reuseExisting, log, env, inheritEnv, startupTimeout e app.readyUrl. Os links de emulação de mídia e navegadores hospedados apontam para seções específicas da referência.

Possibly related issues

  • e2e-inc/e2e#1890 — O issue acompanha a manutenção de páginas traduzidas que divergiram da documentação em inglês; esta PR atualiza quatro páginas em português.

Possibly related PRs

  • e2e-inc/e2e#2580 — Adiciona o cartão Codemagic em inglês, espelhado nesta PR na página em português.
  • e2e-inc/e2e#2579 — Adiciona suporte a macOS ao exemplo SwiftUI, refletido na descrição em português.
  • e2e-inc/e2e#2581 — Reescreve a página Codemagic em inglês, cujo conteúdo também aparece na página em português desta PR.

Suggested reviewers: kacperkapusciak

Change: Other

Merge Risk: Minimal · up to 581f1

This change updates Portuguese documentation to match the English pages. It has no runtime impact, and no actionable merge risk remains.

Architecture risk: Low · up to 581f1

The change affects 1 source area.

When a CI caller uses reuseExisting, the documented app.command contract says that option is ignored and execution fails if the readiness URL already responds, so callers cannot rely on reusing that server in CI.

Changed areas: docs

Review details

Systems and components

  • observed — 4 changed files mapped to docs.
Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 99abecd2-e1e5-492f-9a89-94e67ca114ba
Commits

Reviewing files that changed from the base of the PR and between e77eea2 and 581f1e8.

Files selected for processing: 4

  • docs/pt/ci/codemagic.mdx
  • docs/pt/desktop.mdx
  • docs/pt/example-projects.mdx
  • docs/pt/web.mdx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

View guided diff | Re-trigger cubic

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review (AI triage pass), not yet read by a maintainer.

Reviewed 581f1e885. The four pt pages match the English pages at the PR's base (e77eea2e6). The web, desktop, and example-projects changes also match current main. The Codemagic page is a different story: #2581 rewrote the English page after this branch was cut, so the pt page is already behind again.

Should fix

  1. docs/pt/ci/codemagic.mdx:115 - the new "Exemplo do Codemagic" card is correct. It matches the card #2580 added, and #2581 kept that card. But the rest of the page still follows the old English page. Main (6f81a32a8) now has ## What you can do, ## Release only what passed, and ## Use a coding agent, plus a new definitions:/anchors workflow and a second release-ios code block. I ran check-docs-translations against main's English page and it warns on docs/pt/ci/codemagic.mdx: "heading #4 is missing" and "code block #1 differs". Until the outline matches, the pt page gets its own heading ids. This PR doesn't cause that, and every other language has the same warning. Still, "sync ci/codemagic with English" is no longer true. Either rebase and translate the new page here, or drop codemagic from the title/body and leave it for a follow-up.

Verified

  • web.mdx: the options table, the reference sentence, and the #media-emulation / #hosted-browsers anchors match English on main line by line. The "runs without a shell" paragraph is also gone from English.
  • desktop.mdx (with-swiftui sentence) and the example-projects.mdx SwiftUI card match English on main.
  • check-docs-mdx, check-docs-anchors, and check-docs-translations are clean for these pages at the PR head. No em or en dashes. No changes outside docs/pt/. No other open pt PR touches these files. CI is green.

For the maintainer

  • Decide whether to merge as is, with the Codemagic retranslation left for later, or ask for it here.

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Dec 1, 2026

@kacperkapusciak kacperkapusciak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🫡

@kacperkapusciak
kacperkapusciak added this pull request to the merge queue Dec 2, 2026
Merged via the queue into e2e-inc:main with commit 3271fa1 Dec 2, 2026
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:M Up to 99 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants