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

Criar conta candidato - Submeter formulário #110 #112

Closed
5 tasks done
igords-goncalves opened this issue Mar 13, 2023 · 11 comments · Fixed by #121
Closed
5 tasks done

Criar conta candidato - Submeter formulário #110 #112

igords-goncalves opened this issue Mar 13, 2023 · 11 comments · Fixed by #121
Assignees
Labels
feature Um novo componente ou tela frontend tasks de front-end squad akamaru - perfil

Comments

@igords-goncalves
Copy link
Contributor

igords-goncalves commented Mar 13, 2023

US referente: https://github.com/orgs/SouJunior/projects/3/views/1?pane=issue&itemId=22945724


Figma referente: https://www.figma.com/file/vZW7WBF2WfTiiRjsSQRiFe/SouJunior---UI%2FUX---(-Update-19%2F10%2F2022-)?node-id=89%3A3&t=wn9fqUzX5pFkKGTE-0

Descrição

Trata-se da submissão do formulário de cadastro do usuário.

  • Criação de submissão do usuário criado
  • Integração com API backend correta
  • Redirecionamento para página autorizada
  • Utilizar página em branco simulando página home para acesso não autorizado
  • Utilizar página em branco simulando página de acesso autorizado

Recursos

API backend: https://dev-backend-vagas.up.railway.app/api/#/

@igords-goncalves igords-goncalves self-assigned this Mar 13, 2023
@igords-goncalves igords-goncalves changed the title [Empresa] Cadastro usuario - Submeter Formulario [Empresa] Cadastro usuário - Submeter Formulário Mar 13, 2023
@igords-goncalves igords-goncalves changed the title [Empresa] Cadastro usuário - Submeter Formulário [Empresa] Cadastro usuário - Submeter formulário Mar 13, 2023
@igords-goncalves igords-goncalves changed the title [Empresa] Cadastro usuário - Submeter formulário [Candidato] Cadastro usuário - Submeter formulário Mar 13, 2023
@igords-goncalves igords-goncalves changed the title [Candidato] Cadastro usuário - Submeter formulário [Candidato] Cadastro de usuário - Submeter formulário Mar 13, 2023
@igords-goncalves igords-goncalves added the feature Um novo componente ou tela label Mar 14, 2023
@Jacqueline2021 Jacqueline2021 changed the title [Candidato] Cadastro de usuário - Submeter formulário Criar conta candidato - Submeter formulário Mar 14, 2023
@Jacqueline2021
Copy link

@igords-goncalves A US referente está incorreta. O link correto é este: https://github.com/orgs/SouJunior/projects/3/views/1?pane=issue&itemId=22945724

@igords-goncalves
Copy link
Contributor Author

igords-goncalves commented Mar 16, 2023

Boa noite @Jacqueline2021 @brunodev21 no design atual e nos critérios da US referente a essa task #112 não é mais necessário que o usuário do tipo candidato insira o CPF, porém como regra estabelecida no back-end o usuário precisa inserir seu CPF para conseguir criar uma conta como consta no teste de criação de usuário feito abaixo.

Image

Design Atual sem o CPF

Image

@wandersonDeve
Copy link
Member

wandersonDeve commented Mar 16, 2023

essa demanda o pessoal do backend ainda não pegou, ela esta no backlog da sprint

image

@igords-goncalves
Copy link
Contributor Author

Beleza então será atualizada essa questão do CPF, show de bola, obrigado! A propósito que trabalho profissional vcs fizeram com a API ficou impressionante.

@wandersonDeve
Copy link
Member

O pessoal manda bem, porem estão sem tempo devido a faculdade.

@igords-goncalves
Copy link
Contributor Author

@igords-goncalves
Copy link
Contributor Author

A questão da obrigatoriedade do CPF ainda consta nos testes que fiz coma nova API, estou em contato com o Pedro responsável pelo back do time akamaru.

Image

@wandersonDeve
Copy link
Member

Existe dois comentarios na PR que precisa ser resolvido antes de eu aprovar ele.

@igords-goncalves
Copy link
Contributor Author

igords-goncalves commented Mar 31, 2023

Atualização da API https://vagas-backend.soujunior.tech/

igords-goncalves added a commit that referenced this issue Apr 5, 2023
* chore: format document

* chore: delete document exemple

* feat: apply tostfy alert when login sucess or error

* chore: format document

* refact: divide component into subcomponents

* style: adjustment on user type buttons

* feat: create a subcomponent form to user

* feat: create a subcomponent form type company

* refact: delete unused page Register

All process of register is made in Login card component

* refact: delete old component Register

* refact: change name of router file

* feat: create home page SouJunior before redirection to Login page

* feat: create feedjobs page to redirect user after login

* feat: insert routes of pages created

* style: change position of buttons

* feat: set type of user passing values by props

* feat: send params type of user trough props

* fix: redirect page correct

* feat: add type

* fix: add a temporary fix to button while not find problem on Hook Forms

* fix: fix validations rules

* fix: remove function that not make request

* feat: insert toast element

* fix: add right name to type

* fix: fix return of data and make provider work

* fix: fix redirection and add TODO list

* feat: insert route in require auth to redirect user type company

* fix: fix auth system and noted TODO to refactor and improve

* fix: fix system auth and noted TODO list to refactor or improve

* bugfix: error on validations file

An error on validation part of register user is preventing
a submit default by react hook form

* chore: add comment son code

* fix: fix bug on validations

Everthig was working on commit 21c81d1

* refact: change names of forms components

* refact: create a separated form login to company

* refact: chage name and separing forms

* refact: create separated form login user

* refact: create a separated form register company

* refact: create a separated form register company

* refact: create a schema validtion to login

* refatc: create a validation schema to register users

* test code

* feat: create a svg componentes

* feat: insert cnpj type

* fix: fix bug on yup validations

* fix: fix bugs with yup resolver validations

* refact: refactor components

* refact: create separated schemas to validate users

* feat: create a function that validate CNPJ

* refact: insert refactored components and format file

* style: fix card form broken and apply hover on user type button

* chore: format code and doc with comments

* style: adjust on responsivity

* style: adjustments on padding

* feat: register user implemented

* feat: create functions to make requests

* feat: preparing context

* feat: make provider disponible

* fix: wait backend remove extra inputs that's mandatory

* feat: fix bug on validatioin and forms

* chore: document code and remove console.logs

* JobCard and JobDetails components

* formulário de confirmação de e-mail

* fix: fix input names to send a request to backend

* fix: adjustments on input name

* refact: remove unused code and fix tostfy message

* fix: register requests, apply mask on cnpj and insert tostfy

* fix: testing conflicts

* fix: fix conflicts

---------

Co-authored-by: FilipeLeoni <filipe_sempre@outlook.com>
Co-authored-by: Isabela Hyeda <isabelahyeda@gmail.com>
Co-authored-by: Ricardo <81928006+limaricardo@users.noreply.github.com>
@Andrezapsilva
Copy link

Andrezapsilva commented Aug 18, 2023

Boa noite,

Alguém sabe me informar se foi feito a submissão do formulário ?
Dia 16 de Março wandersonDeve informou que backend ainda não havia pego essa task, ela está no backlog da sprint e estava aguardando.

Dia 31 de Março igords-goncalves colocou Atualização da API https://vagas-backend.soujunior.tech/ porem abre apenas essa pagina:

Image

@Andrezapsilva Andrezapsilva added the HELP Impedimento para prosseguir. Indicar qual o problema label Aug 21, 2023
@Andrezapsilva
Copy link

Andrezapsilva commented Sep 13, 2023

Testes Feitos

Testes de Funcionalidade:

Acessar Portal como Candidato - Fazer login com dados válidos
Acessar Portal como Candidato - Verificar redirecionamento
Requisição para a API correta -azer login com dados válidos
Teste responsivo

Testar design responsivo de página de redirecionamento - C01: Teste de tela de smart phone na posição vertical
Testar design responsivo de página de redirecionamento - C02: Teste de tela de smart phone na posição horizontal
Testar design responsivo de página de redirecionamento - C03: Teste de tela de tablet na posição vertical
Testar design responsivo de página de redirecionamento - C04: Teste de tela de tablet na posição horizontal
CONCLUSÃO: Todos os testes passaram

Criação de submissão do usuário criado
Integração com API backend correta
Redirecionamento para página autorizada
Utilizar página em branco simulando página home para acesso não autorizado
Utilizar página em branco simulando página de acesso autorizado

STATUS: Passou

@Andrezapsilva Andrezapsilva removed the HELP Impedimento para prosseguir. Indicar qual o problema label Sep 13, 2023
@LuizGuilhermeNeves LuizGuilhermeNeves changed the title Criar conta candidato - Submeter formulário Criar conta candidato - Submeter formulário #110 Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Um novo componente ou tela frontend tasks de front-end squad akamaru - perfil
Projects
Development

Successfully merging a pull request may close this issue.

8 participants