Skip to content

Revamp UI ux - #20

Merged
siconeli1 merged 3 commits into
mainfrom
revamp-ui-ux
Mar 27, 2026
Merged

siconeli1 merged 3 commits into
mainfrom
revamp-ui-ux

Conversation

@siconeli1

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings March 27, 2026 23:04
@vercel

vercel Bot commented Mar 27, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
li-rilko Ready Ready Preview, Comment Mar 28, 2026 3:40am

Copilot AI 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.

Pull request overview

Updates admin UI terminology and some mobile layout spacing as part of the “Revamp UI ux” effort, aligning the admin experience with “Categorias” wording and improving bottom spacing on small screens.

Changes:

  • Renames “Departamentos” wording to “Categorias” across the admin categories manager UI copy.
  • Updates the admin dashboard module card copy for the categories section.
  • Adjusts mobile padding-bottom for key pages/sections to account for larger fixed UI and safe-area inset.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
components/admin/managers/admin-categories-manager.js Updates user-facing strings from “departamento” to “categoria” in the categories manager.
components/admin/admin-dashboard.js Renames the dashboard module card title/description from “Departamentos” to “Categorias”.
app/globals.css Increases mobile bottom padding using calc(... + env(safe-area-inset-bottom)) to prevent overlap with bottom UI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<div className="admin-manager-toolbar">
<div>
<h3>Departamentos da Loja</h3>
<h3>categorias da Loja</h3>

Copilot AI Mar 27, 2026

Copy link

Choose a reason for hiding this comment

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

O título do painel foi alterado para começar com letra minúscula ("categorias da Loja"). Para consistência com os demais headings do admin, capitalize o início do texto (ex.: "Categorias da Loja").

Suggested change
<h3>categorias da Loja</h3>
<h3>Categorias da Loja</h3>

Copilot uses AI. Check for mistakes.
<form className="admin-form" onSubmit={handleSaveDraft}>
<label className="admin-field">
<span>Nome do Departamento Principal</span>
<span>Nome da categoria Principal</span>

Copilot AI Mar 27, 2026

Copy link

Choose a reason for hiding this comment

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

No label do campo, "Principal" está capitalizado no meio da frase. Ajuste para caixa baixa ("principal") para seguir o padrão de frase e melhorar a leitura.

Suggested change
<span>Nome da categoria Principal</span>
<span>Nome da categoria principal</span>

Copilot uses AI. Check for mistakes.

if (result.ok) {
showToast({ type: "success", title: "Salvo com sucesso", message: "Departamento atualizado." });
showToast({ type: "success", title: "Salvo com sucesso", message: "categoria atualizado." });

Copilot AI Mar 27, 2026

Copy link

Choose a reason for hiding this comment

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

A mensagem de sucesso está com capitalização e concordância incorretas ("categoria atualizado."). Ajuste o texto para uma forma correta e consistente com o restante do painel (ex.: "Categoria atualizada." ou "Categorias atualizadas.").

Suggested change
showToast({ type: "success", title: "Salvo com sucesso", message: "categoria atualizado." });
showToast({ type: "success", title: "Salvo com sucesso", message: "Categoria atualizada." });

Copilot uses AI. Check for mistakes.
@siconeli1
siconeli1 merged commit a10d7dd into main Mar 27, 2026
7 checks passed

This branch was successfully deployed

1 active deployment
Preview — f2f8440e Deployed Mar 27, 2026 by vercel[bot]
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