diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..34a33e6 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @Salgado2004 diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 7830458..0000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,12 +0,0 @@ -## Objetivo -> Definir o objetivo da issue - -## Requisitos -> Listar as tarefas a serem realizadas -- [ ] A classe deve ... - -### Regras de negócio -> Descrever regras de negócio (se tiver) - -### Outros detalhes -> Detalhar mais (se necessário) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..d77ec33 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,44 @@ +name: Reportar bug +title: BUG - +description: "Report of question content (invalid, incorrect, etc.)" +labels: ["bug"] +body: + - type: input + attributes: + label: Qual é o bug? + description: Descreva brevemente o problema. + placeholder: Erro ao adicionar item ao carrinho + validations: + required: true + - type: input + attributes: + label: Resultado esperado? + description: Descreva o que você esperava que acontecesse. + placeholder: O item deve ser adicionado ao carrinho sem erros. + validations: + required: true + - type: dropdown + attributes: + label: "Qual a gravidade do bug?" + options: + - Crítico + - Alto + - Médio + - Baixo + validations: + required: true + - type: textarea + attributes: + label: "Descreva os passos para reproduzir (use o formato markdown de lista iniciando cada linha com -)" + validations: + required: true + - type: input + attributes: + label: "Qual dispositivo você está usando?" + description: "Modelo, sistema operacional, navegador" + placeholder: Windows 10, Chrome 89, etc. + - type: textarea + attributes: + label: "Screenshots (se necessário)" + + diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 0000000..eb3fca6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,34 @@ +name: Novo requisito +title: RF - +description: "Requisito a ser implementado (Feature, História de usuário)" +labels: ["Melhoria de código"] +body: + - type: markdown + attributes: + value: "## Os requisitos são as atividades semanais de cada integrante da equipe" + - type: input + attributes: + label: Sendo + description: Quem se beneficia do requisito + placeholder: um cliente, um funcionário, etc... + validations: + required: true + - type: input + attributes: + label: Quero + description: Objetivo do requisito + placeholder: acessar meu perfil, visualizar um serviço, etc... + validations: + required: true + - type: input + attributes: + label: Para + description: Resultado do requisito + placeholder: organizar minhas informações, gerenciar o andamento, etc... + validations: + required: true + - type: textarea + attributes: + label: "Lista de critérios de aceitação (use o formato de lista do markdown iniciando cada linha com -)" + validations: + required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..3b0a54d --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,24 @@ +# Novo Pull Request +> Escreva uma breve descrição do que você fez + +- [ ] Requisito funcional +- [ ] Requisito não funcional +- [ ] Testes unitários +- [ ] Correção de bugs +- [ ] Documentação + +## O que você fez? +> Liste as mudanças implementadas + +## Número da issue referenciada +> [!tip] +> Use as palavras chave `close` ou `fix` para automaticamente linkar a issue com o pull request. Use `#` antes do número para autocompletar. +- + +## Checklist: + +- [ ] Meu código segue as normas de estilo deste projeto +- [ ] Realizei uma auto-revisão do meu código +- [ ] Comentei meu código, principalmente em áreas difíceis de entender + +## Screenshots (se necessário):