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

Feedback ao editar perfil #1548

Merged
merged 3 commits into from
Nov 8, 2023
Merged

Conversation

aprendendofelipe
Copy link
Collaborator

Continuando o trabalho do @viniciusamc nos PRs #1543 e #1545, foi adicionado um feedback também quando o botão de salvar é pressionado sem existir nenhuma alteração de configuração.

image

A mensagem global foi reposicionada para logo acima do botão e o timer foi retirado para ela permanecer visível enquanto não forem realizadas novas alterações no formulário.

image

Foi refatorada a verificação do domínio do email para ocorrer apenas quando o endereço for alterado.

As funções fetchUser e logout foram alteradas para async no contexto inicial do useUser.

viniciusamc and others added 3 commits November 2, 2023 18:14
…r profile successfully

useRef was used for timeoutID and a variable was implemented to store the message value. The
notification is triggered if the profile is saved successfully

#1524
Copy link

vercel bot commented Nov 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
tabnews ✅ Ready (Inspect) Visit Preview Nov 7, 2023 1:00pm

@viniciusamc
Copy link
Contributor

@aprendendofelipe Acabei de revisar e me parece excelente, muito obrigado por essa contribuição!

@aprendendofelipe aprendendofelipe merged commit 88dbacc into main Nov 8, 2023
7 checks passed
@aprendendofelipe aprendendofelipe deleted the messages-when-editing-profile branch November 8, 2023 21:35
This was referenced Dec 8, 2023
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.

None yet

2 participants