Skip to content

Etapa 17 fase2 sweep orange to brand primary#288

Merged
adm01-debug merged 2 commits into
mainfrom
etapa-17-fase2-sweep-orange-to-brand-primary
May 24, 2026
Merged

Etapa 17 fase2 sweep orange to brand primary#288
adm01-debug merged 2 commits into
mainfrom
etapa-17-fase2-sweep-orange-to-brand-primary

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

Trocamos o uso de orange por brand-primary em componentes da UI para padronizar a paleta e alinhar com o design. Mudança visual apenas; sem impacto funcional.

  • Refactors
    • LoadingScreen: spinner agora usa text-brand-primary.
    • PasswordResetApproval: loader e ícone Shield com text-brand-primary.
    • Image Gallery: tipo “Embalagem” atualizado para text-brand-primary.
    • ScrollToTopButton: fundo e hover com bg-brand-primary.
    • UrgencyBadge: “Oferta Relâmpago” com bg/text/border em brand-primary.
    • MetricUtils: latência média usa text-brand-primary-400.

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

Copilot AI review requested due to automatic review settings May 24, 2026 19:29
@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 Building Building Preview, Comment May 24, 2026 7:29pm

@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 ↗︎.

@coderabbitai

coderabbitai Bot commented May 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@adm01-debug, we couldn't start this review because you've used your available PR reviews for now.

Your plan currently allows 5 reviews/hour. Refill in 16 minutes and 48 seconds.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 59be4f02-59fd-438b-a2f0-537c62aaf8f0

📥 Commits

Reviewing files that changed from the base of the PR and between d699f6a and f7a7d58.

📒 Files selected for processing (6)
  • src/components/LoadingScreen.tsx
  • src/components/admin/PasswordResetApproval.tsx
  • src/components/admin/products/image-gallery/types.ts
  • src/components/common/ScrollToTopButton.tsx
  • src/components/common/UrgencyBadge.tsx
  • src/components/dev/metrics/MetricUtils.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch etapa-17-fase2-sweep-orange-to-brand-primary

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

@adm01-debug adm01-debug merged commit b80cc26 into main May 24, 2026
26 of 32 checks passed
@adm01-debug adm01-debug deleted the etapa-17-fase2-sweep-orange-to-brand-primary branch May 24, 2026 19:30

@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: f7a7d58394

ℹ️ 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.

P1 Badge Replace invalid text-brand-primary-400 utility

latencyClass now returns text-brand-primary-400, but tailwind.config.ts defines brand-primary only with DEFAULT, hover, active, glow, and foreground keys (no numeric 400 shade). In this state, the class will not resolve to a generated utility, so the 600–1499ms latency branch can render without the intended color styling.

Useful? React with 👍 / 👎.

adm01-debug added a commit that referenced this pull request May 24, 2026
* 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>
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>
@adm01-debug adm01-debug review requested due to automatic review settings May 24, 2026 19:50
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