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

Feat/Add ranking #124

Merged
merged 17 commits into from
Oct 16, 2024
Merged

Feat/Add ranking #124

merged 17 commits into from
Oct 16, 2024

Conversation

estevamfurtado
Copy link
Collaborator

@estevamfurtado estevamfurtado commented Jun 15, 2024

Changes

  • Adição de tipagem no DonationForm
  • Adição de Url opcional no cadastro do User
    • Migração da entidade User
    • Adição do parâmetro na rota de post api/registration
    • Adição no use_case/createUser
    • Alteração do formulário no componente SuccessDonation para ter o campo da URL e mencionar o ranking de turmas
  • Adição de 3 páginas novas: Ranking Geral, Ranking por Curso, Doações de Turma
    • /ranking: Mostra o ranking de todas as turmas (turma = curso + janela de 5 anos)
    • /ranking/degrees/[degree]: Mostra o ranking de todas as turmas de um determinado curso
    • /ranking/degrees/[degree]/[year]:
      • Página da turma, mostra a quantidade de doadores, o total doado e uma lista dos doadores
      • Caso o doador adicione uma url no seu cadastro, a url estará disponível
  • (atualização package-lock.json)

Alterações de UX

SuccessDonation
Reditus

/ranking
Ranking de Turmas · 6 51pm · 09-10
Ranking de Turmas · 6 51pm · 09-10 (1)

/ranking/degrees/[degree]
Ranking de Turmas · 6 52pm · 09-10

/ranking/degrees/[degree]/[year]
localhost_3000_ranking_degrees_Engenharia de Produ__o_2020

  • obs: pra navegar pra página da turma específica, basta clicar na linha da tabela

@estevamfurtado estevamfurtado self-assigned this Aug 26, 2024
pages/api/ranking/degrees/[degree]/[class]/index.ts Outdated Show resolved Hide resolved
pages/api/ranking/degrees/[degree]/[class]/index.ts Outdated Show resolved Hide resolved
components/ranking/Share/ShareCallout.tsx Outdated Show resolved Hide resolved
pages/api/ranking/index.ts Outdated Show resolved Hide resolved
pages/api/ranking/degrees/[degree]/[class]/index.ts Outdated Show resolved Hide resolved
pages/ranking/index.tsx Outdated Show resolved Hide resolved
@rrozendo rrozendo self-requested a review October 16, 2024 02:24
@rrozendo rrozendo merged commit 1ccb2d9 into master Oct 16, 2024
1 check passed
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.

3 participants