Skip to content

codex 1#290

Merged
adm01-debug merged 2 commits into
codex/reuse-approved-branch-patchesfrom
main
May 24, 2026
Merged

codex 1#290
adm01-debug merged 2 commits into
codex/reuse-approved-branch-patchesfrom
main

Conversation

@adm01-debug

@adm01-debug adm01-debug commented May 24, 2026

Copy link
Copy Markdown
Owner

📋 Descrição

🎯 Tipo de mudança

  • 🚀 feat — nova funcionalidade
  • 🐛 fix — correção de bug
  • ♻️ refactor — refatoração (sem mudança de comportamento)
  • 🔧 chore — manutenção, deps, config
  • 📚 docs — documentação
  • ⚡ perf — performance
  • 🔒 security — segurança
  • 🚨 hotfix — correção urgente em produção
  • 💥 breaking change — quebra compatibilidade

🔗 Issues relacionadas

Closes #
Refs #

🌐 Sistemas afetados

  • Bitrix24 (CRM, SPAs, BizProc)
  • Supabase (DB, Edge Functions, RLS, migrations)
  • n8n (workflows)
  • Evolution API / WhatsApp
  • Bling (NFe, OAuth)
  • Cloudflare (Workers, Images, Tunnels)
  • Frontend (UI, dashboards)
  • CI / GitHub Actions
  • Outro: ____

🧪 Como testar

✅ Checklist pré-merge

Qualidade

  • Código segue style guide (ESLint passa)
  • npx tsc --noEmit passa sem erros
  • Testes passam (npm run test)
  • Adicionei testes para novas funcionalidades quando aplicável
  • CodeRabbit revisou o PR (ou justificativa para skip)

Segurança

  • Sem secrets, tokens ou credenciais hardcoded
  • Variáveis de ambiente novas documentadas
  • Sem console.log com payloads sensíveis (usar logger.*)
  • RLS revisado se houve mudança em tabelas
  • Edge functions: input validado com Zod

Documentação

  • Atualizei docs (README / CHANGELOG / docs/) se necessário
  • Memória atualizada (mem://) se a mudança afetar arquitetura/regras
  • Migrations com backup em _backup_*_YYYYMMDD se destrutivas

UI

  • Componentes usam tokens semânticos (sem cores hardcoded)
  • Screenshots / vídeo anexados (se mudança visual)

📸 Screenshots (se UI)

🔄 Plano de rollback

⚠️ Notas para o reviewer


Summary by cubic

Aligns brand styling to use our brand-primary color and hardens CI by standardizing Node with .nvmrc and upgrading GitHub Actions. Also updates Lighthouse and SEO entries to point to /auth and avoid duplicate meta tags.

  • Refactors

    • Sweep -orange to -brand-primary across UI (loading spinner, admin approvals, image gallery, scroll-to-top, urgency badge, metrics).
    • Update Auth SEO path from /login to /auth.
    • Add data-rh="true" to canonical and social URL meta tags to prevent duplicates.
  • Dependencies

    • Use .nvmrc in workflows and upgrade to actions/checkout@v5 and actions/setup-node@v6.
    • Mark Supabase smoke job as advisory with continue-on-error: true.
    • Lighthouse CI: collect from /auth, relax ready pattern, and remove the lighthouse:recommended preset while keeping explicit score assertions.

Written for commit bb50953. Summary will update on new commits. Review in cubic

adm01-debug and others added 2 commits May 24, 2026 16:29
* refactor(theme): sweep -orange* → -brand-primary* (chunk 1/8 — Etapa 17 fase 2)

* refactor(theme): sweep -orange* → -brand-primary* (chunk 2/N — Etapa 17 fase 2)
Co-authored-by: Codex Simulation <codex-simulation@example.local>
Copilot AI review requested due to automatic review settings May 24, 2026 19:47
@coderabbitai

coderabbitai Bot commented May 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • main

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3da26795-6717-44b7-bcef-c163b2fc5eeb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch main

Comment @coderabbitai help to get the list of available commands and usage tips.

@vercel

vercel Bot commented May 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
we-dream-big Ready Ready Preview, Comment May 24, 2026 7:47pm

@supabase

supabase Bot commented May 24, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project doufsxqlfjyuvxuezpln because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@adm01-debug adm01-debug merged commit d7045f6 into codex/reuse-approved-branch-patches May 24, 2026
32 of 36 checks passed
adm01-debug added a commit that referenced this pull request May 24, 2026
* fix(contracts): remove duplicate CONTRACTS import

* fix(auth): preserva isConfig p/ provider desabilitado (provider_is_not_enabled)

mapOAuthError passou a retornar mensagem PT-BR amigável, mas isso fazia
resolveOAuthError cair no fallback genérico (isConfig=false), reexibindo o botão
"Tentar Google Novamente" para uma falha de CONFIG que não tem solução
client-side. Adiciona heurística em resolveOAuthError que reconhece
"não está habilitado"/"not enabled" → copy provider_is_not_enabled (isConfig).
[Codex review]

https://claude.ai/code/session_01SN7BG6cYaPS1t1fYLkga4Z

* fix(ui): gateia transforms do botão Google atrás de motion-safe

Mesmo bug do login-submit (#3): o botão social-login-google tinha
'transition-all hover:scale-[1.01] active:scale-[0.98]' SEM gate motion-safe.
Sob o reducedMotion:'reduce' do CI o transform seguia animando a cada
hover/mousedown -> 'locator.click: Timeout' no smoke 40 (e o waitForRequest
era sintoma do clique nao registrar). Gateado, o botao fica estatico e
clicavel sob reduced-motion.

* test(contracts): port reusable webhook coverage

* chore(ci): refresh lint and typecheck baselines

* codex 1 (#290)

* Etapa 17 fase2 sweep orange to brand primary (#288)

* refactor(theme): sweep -orange* → -brand-primary* (chunk 1/8 — Etapa 17 fase 2)

* refactor(theme): sweep -orange* → -brand-primary* (chunk 2/N — Etapa 17 fase 2)

* ci: harden deploy gate baselines (#287)

Co-authored-by: Codex Simulation <codex-simulation@example.local>

---------

Co-authored-by: Codex Simulation <codex-simulation@example.local>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Codex <codex@local>
Co-authored-by: Codex Simulation <codex-simulation@example.local>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bb509532f4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

if (ms < 200) return 'text-emerald-400';
if (ms < 600) return 'text-amber-400';
if (ms < 1500) return 'text-orange-400';
if (ms < 1500) return 'text-brand-primary-400';

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Replace undefined Tailwind class for latency color

The new class text-brand-primary-400 is not defined by this project's Tailwind theme (the brand-primary color only exposes semantic keys like DEFAULT, hover, active, etc.), so this branch will not generate a CSS rule and latency values between 600ms and 1499ms lose their intended warning color in the metrics UI. Use an existing token such as text-brand-primary (or add a real 400 shade in the theme) to avoid the silent styling regression.

Useful? React with 👍 / 👎.

@adm01-debug adm01-debug review requested due to automatic review settings May 24, 2026 20:10
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.

1 participant