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

New option on Education projects #213

Conversation

msantosdevlab
Copy link
Member

@msantosdevlab msantosdevlab commented Jul 3, 2024

Descrição

Foi inserido a opção "Escola" no select do item "Categoria da atividade".
Fixes #205

Como testar esta modificação?

  1. Ir em .github/ISSUE_TEMPLATE/add_new_activity.yaml
  2. No item "Categoria da atividade", clicar em "Selection" e ver a opção "Escola" após "Evento"

205

Checklist:

  • O meu PR segue as regras de estilo de código deste projeto
  • Eu fiz uma autoavaliação (review) do meu próprio código ou materiais
  • Eu fiz as alterações correspondentes na documentação

Copy link

vercel bot commented Jul 3, 2024

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

Name Status Preview Comments Updated (UTC)
ardc-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 13, 2024 10:28am

Copy link
Member

@isabelcosta isabelcosta left a comment

Choose a reason for hiding this comment

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

Já vi que está a funcionar como deve :) Consigo ver aqui no teu fork https://github.com/msantosdevlab/ardc-website/blob/inserir-opcao-projetos-educacao-%23205/.github/ISSUE_TEMPLATE/add_new_activity.yaml

image

Obrigada pela tua contribuição @msantosdevlab !

Vou só taggar a team, para ver se a melhor classificação é escola ou educação.

src/constants/index.js Outdated Show resolved Hide resolved
isabelcosta
isabelcosta previously approved these changes Jul 13, 2024
Copy link
Member

@isabelcosta isabelcosta left a comment

Choose a reason for hiding this comment

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

Ótimo trabalho @msantosdevlab 👏🏾
Obrigada pela tua contribuição 🥳

@@ -108,7 +108,9 @@ function Activities({ translation }) {
</button>
{Object.values(Constants.Categories).map((category, index) => {
const label = category.label;
return (
const categoryTotal = calculateCategoryTotal(label);
Copy link
Member

Choose a reason for hiding this comment

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

Boa correção ✨
Dei conta que no preview a educação tava a mostrar Educação, quando não havia atividades.

image

Agora está bom! https://ardc-website-git-fork-msantosdevlab-inserir-669e3e-ardc-website.vercel.app/activities

image

@isabelcosta isabelcosta merged commit 2433719 into As-Raparigas-do-Codigo:dev Jul 13, 2024
6 checks 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.

Adicionar nova opção sobre projetos Educação
2 participants