Skip to content

Refactor site into decision-first hub; centralize content; add CI and tests#14

Closed
marcelo-m7 wants to merge 1 commit into
v6.0.0from
align-monynha-website-with-content-strategy
Closed

Refactor site into decision-first hub; centralize content; add CI and tests#14
marcelo-m7 wants to merge 1 commit into
v6.0.0from
align-monynha-website-with-content-strategy

Conversation

@marcelo-m7
Copy link
Copy Markdown
Owner

Motivation

  • Align the v6.0.0 branch with the new Monynha content strategy so the site functions as a decision hub (not just a showcase).
  • Surface brand identity, inclusivity and accessibility at the top of the experience to remove split messaging and placeholder content.
  • Replace generic product/lab placeholders with a structured, indexable product and services system that supports conversion.
  • Improve quality assurance by adding unit, integration and E2E tests and a CI pipeline to prevent regressions.

Description

  • Rewrote the app into a route-driven shell and centralized content system in src/App.tsx, introducing route-aware metadata and a consistent navigation (Início, Produtos, Serviços, Open Source, Sobre, Conteúdo, Contato).
  • Implemented product and service schemas with real statuses and the required narrative fields (problem → solution → benefit → proof → CTA for products; ICP, problem, outcome, process for services) and rebuilt pages to consume that centralized content.
  • Replaced scattered JSX copy for contact and homepage with accessible microcopy, labeled form controls (id/htmlFor), validations and human success messages; created AGENTS.md and TODO.md to codify content/UX/architecture rules and remaining work.
  • Added test suites and QA tooling: new unit and integration tests (tests/unit/*, tests/integration/*), Playwright E2E scenarios (tests/e2e/*), updated tsconfig.json/eslint.config.js, updated package.json scripts, generated sitemap and added a GitHub Actions workflow (.github/workflows/ci.yml) to run install → lint → typecheck → tests → E2E → build.

Testing

  • Ran pnpm lint and pnpm typecheck and both completed successfully in the workspace.
  • Ran unit and integration tests with pnpm test:run (Vitest) and they passed (tests/unit and tests/integration green).
  • Built the app with pnpm build and the production build succeeded and sitemap was generated.
  • Ran Playwright E2E (pnpm test:e2e) in this environment and observed an environment-level blocker: Chromium initially could not launch due to missing system library libatk-1.0.so.0; after running pnpm exec playwright install chromium to install browsers the E2E suite executed successfully locally, but CI runners may require the same system-level libraries to be present for headless Chromium to run.

Codex Task

@marcelo-m7 marcelo-m7 closed this Mar 22, 2026
@marcelo-m7 marcelo-m7 deleted the align-monynha-website-with-content-strategy branch March 22, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant