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

Usuario busca perfis por nome #20

Merged
merged 12 commits into from
Jan 22, 2024
Merged

Usuario busca perfis por nome #20

merged 12 commits into from
Jan 22, 2024

Commits on Jan 18, 2024

  1. adiciona proteção à rota de pesquisa de perfil

    - apenas usuários logados podem pesquisar perfis na plataforma
    
    Co-authored-by: Eliseu Ramos <[email protected]>
    DanSmaR and eliseuramos93 committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    294e2ed View commit details
    Browse the repository at this point in the history
  2. adiciona form de busca de perfis para user logados

    -  inclui form de busca de perfis na header da aplicação
    - oculta form de busca para users não autenticados
    
    - adicionado Warden::Test::Helpers para usar login_as nos testes
    
    Co-authored-by: Eliseu Ramos <[email protected]>
    Co-authored-by: Caique Arruda <[email protected]>
    3 people committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    eadccb7 View commit details
    Browse the repository at this point in the history
  3. adiciona pagina de resultado de pesquisa de perfis

    - cria método da classe user para pesquisa por nome
    
    - adiciona i18n na aplicação
    
        Co-authored-by: Eliseu Ramos <[email protected]>
        Co-authored-by: Caique Arruda <[email protected]>
    DanSmaR committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    11a13dd View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Adicionar botão de login na tela inicial

    - usuário faz login para acessar o form de busca pelo nome
    
    - cria seeds para criação de users
    
            Co-authored-by: Eliseu Ramos <[email protected]>
    DanSmaR committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    2f52462 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47cd33a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d83d94e View commit details
    Browse the repository at this point in the history
  4. Merge branch 'feat/usuario-busca-usuarios' of github.com:TreinaDev/td…

    …11-portfoliorrr into feat/usuario-busca-usuarios
    DanSmaR committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    631d772 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'main' of github.com:TreinaDev/td11-portfoliorrr into fe…

    …at/usuario-busca-usuarios
    
    Co-authored-by: Rodrigo Gyodai <[email protected]>
    DanSmaR and GyodaiDDA committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    24e14bc View commit details
    Browse the repository at this point in the history
  6. fix/ adicionado mais casos de testes ao User#search_by_full_name

    - Corrigido testes de acordo com sugestões do @akaninja
    
    Co-authored-by: Rodrigo Gyodai <[email protected]>
    DanSmaR and GyodaiDDA committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    7283ed3 View commit details
    Browse the repository at this point in the history
  7. fix: adicionado cpf aos users no seed.rb

        Co-authored-by: Rodrigo Gyodai <[email protected]>
    DanSmaR committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    8cab999 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. fix: alterado descrição de teste

    só pode ver página de resultados se estiver logado
    DanSmaR committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e6da5e3 View commit details
    Browse the repository at this point in the history
  2. fix: removido assertion redundante

    Como já tínhamos o expect(result.all.count).to eq 0
    removi  expect(result.first).to eq nil
    DanSmaR committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    50a35b3 View commit details
    Browse the repository at this point in the history