Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 245 #274

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Issue 245 #274

wants to merge 5 commits into from

Conversation

Clerijr
Copy link

@Clerijr Clerijr commented Jun 22, 2024

Closes #245

Feature

Adiciona o componente de alteração de senha

Visual evidences

image

Checklist
  • Issue linked
  • Build working correctly
  • Tests created
Additional info Está pendendo o botão de visualizar senha

@Clerijr Clerijr marked this pull request as ready for review June 23, 2024 16:21
@DominMFD DominMFD assigned DominMFD and Clerijr and unassigned DominMFD Jun 24, 2024
src/components/ChangePassword/index.js Outdated Show resolved Hide resolved
src/components/ChangePassword/images/eye-slash.svg Outdated Show resolved Hide resolved
src/components/ChangePassword/index.js Outdated Show resolved Hide resolved
src/components/ChangePassword/index.js Outdated Show resolved Hide resolved
Copy link
Contributor

@Alecell Alecell left a comment

Choose a reason for hiding this comment

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

Só precisamos dar uma revisada boa no BEM usado no CSS

Aumenta um pouco o z-index do componente no storybook pq ta aparecendo isso aqui
image

src/components/ChangePassword/index.js Outdated Show resolved Hide resolved
src/components/ChangePassword/index.js Outdated Show resolved Hide resolved
Comment on lines 156 to 160
if (validPassword) $passwordErrorMessage.classList.remove('show-error');
if (validNewPassword)
$newPasswordErrorMessage.classList.remove('show-error');
if (validConfirmPassword)
$confirmPasswordErrorMessage.classList.remove('show-error');
Copy link
Contributor

Choose a reason for hiding this comment

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

A remoção do erro idealmente deveria acontecer no ato de digitar, no caso, se a pessoa alterar algum dos campos com erro ja remover os erros, remover apenas quando poder enviar da uma impressão de que a pessoa teria que clicar no botao de enviar mesmo com os campos exibindo erro, talvez isso não seja ideal

src/components/ChangePassword/index.js Outdated Show resolved Hide resolved
src/components/ChangePassword/index.js Outdated Show resolved Hide resolved
src/components/ChangePassword/index.scss Outdated Show resolved Hide resolved
src/components/ChangePassword/index.scss Outdated Show resolved Hide resolved
src/components/ChangePassword/index.scss Show resolved Hide resolved
src/components/ChangePassword/index.scss Outdated Show resolved Hide resolved
src/components/ChangePassword/index.scss Show resolved Hide resolved
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.

Criar o componente de troca de Senha
3 participants