Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Updates app
Browse files Browse the repository at this point in the history
  • Loading branch information
eluciano11 committed Dec 4, 2023
1 parent 603e747 commit 8fd6ba2
Show file tree
Hide file tree
Showing 169 changed files with 16,710 additions and 20,511 deletions.
6 changes: 5 additions & 1 deletion .github/CODEOWNERS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# These owners will be the default owners for everything in

# the repo. Unless a later match takes precedence,

# @code4puertorico/paravotar will be requested for

# review when someone opens a pull request.
* @code4puertorico/paravotar

- @code4puertorico/paravotar
22 changes: 12 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
title: ""
labels: bug
assignees: ''

assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
Expand Down
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
title: ""
labels: enhancement
assignees: ''

assignees: ""
---

**Is your feature request related to a problem? Please describe.**
Expand Down
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/feedback.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
---
name: Feedback
about: A template to submit feedback to the ParaVotar team.
title: ''
title: ""
labels: feedback
assignees: ''

assignees: ""
---

<!--Thank you for taking an interest in our efforts. Before you submit this issue please take some time to look for similar issues that have already been submitted.
If you find one please feel free to participate in that discussion. If you didn't find one then please submit this one.
If you find one please feel free to participate in that discussion. If you didn't find one then please submit this one.
If this has to do with a Code of Conduct violation please email us at [email protected]
Thanks again! ❤️ -->

__Please write your feedback as detailed as possible bellow.__
**Please write your feedback as detailed as possible bellow.**

<!--Write you feedback here-->

**Have you thought about any possible solutions or ways to approach this? If so please let us know!**

__Have you thought about any possible solutions or ways to approach this? If so please let us know!__
<!--Write your thoughts here-->
33 changes: 19 additions & 14 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,49 @@

### Encontrar una tarea (issue)

* Puedes [buscar en las tareas](https://github.com/Code4PuertoRico/papeleta-pr/projects) que se quieren poder terminar para la próxima versión que se subirá al site.
- Puedes [buscar en las tareas](https://github.com/Code4PuertoRico/papeleta-pr/projects) que se quieren poder terminar para la próxima versión que se subirá al site.

### Escoger una tarea
- Comenta en la tarea dejando saber que lo vas a trabajar.

- Comenta en la tarea dejando saber que lo vas a trabajar.
- Si la tarea **no** tiene un comentario indicando la persona que lo trabajará o alguien asignado, la puedes trabajar.

### Someter cambios
- Copia (fork) el proyecto a tu cuenta de github.

- Copia (fork) el proyecto a tu cuenta de github.
- Crea un branch con un nombre descriptivo a la tarea.
- Usa el [README](https://github.com/Code4PuertoRico/papeleta-pr/blob/master/README.md) como referencia para comenzar el setup.
- Usa el [README](https://github.com/Code4PuertoRico/papeleta-pr/blob/master/README.md) como referencia para comenzar el setup.
- Una vez termines, crea un [pull request](https://help.github.com/en/articles/creating-a-pull-request).

## 🔍 Reportando Errores (Bugs)
## 🔍 Reportando Errores (Bugs)

### Antes de reportar un error

Antes de reportar un error debes verificar en [esta lista](https://github.com/Code4PuertoRico/papeleta-pr/issues?q=is%3Aissue+label%3Abug) por si ya alguna otra persona lo reportó.
Antes de reportar un error debes verificar en [esta lista](https://github.com/Code4PuertoRico/papeleta-pr/issues?q=is%3Aissue+label%3Abug) por si ya alguna otra persona lo reportó.

**Nota:** Si encuentras una tarea en [`closed issues`](https://github.com/Code4PuertoRico/papeleta-pr/issues?q=is%3Aissue+is%3Aclosed) que parece estar relacionada al error que quieres reportar, crea un nuevo issue y añade el enlace al issue anterior.
**Nota:** Si encuentras una tarea en [`closed issues`](https://github.com/Code4PuertoRico/papeleta-pr/issues?q=is%3Aissue+is%3Aclosed) que parece estar relacionada al error que quieres reportar, crea un nuevo issue y añade el enlace al issue anterior.

### Template para reportar un error
- Incluye todos los detalles que puedas.
- Pasos a seguir para reproducir / ver el error.

- Incluye todos los detalles que puedas.
- Pasos a seguir para reproducir / ver el error.
- Screenshot(s) **requerido**

## 💡 Sugiriendo Mejoras

### Antes de sugerir mejoras

Antes de sugerir mejoras o compartir ideas, verifica en [esta lista](https://github.com/Code4PuertoRico/papeleta-pr/issues?q=is%3Aopen+is%3Aissue) por si ya alguna otra persona lo sugirió (o sugirió algo parecido que pueda discutirse en el mismo thread).
Antes de sugerir mejoras o compartir ideas, verifica en [esta lista](https://github.com/Code4PuertoRico/papeleta-pr/issues?q=is%3Aopen+is%3Aissue) por si ya alguna otra persona lo sugirió (o sugirió algo parecido que pueda discutirse en el mismo thread).

Si encuentras alguna sugerencia parecida pero consideras que es lo suficientemente diferente a la tuya, crea un nuevo issue y añade el enlace al issue anterior.
Si encuentras alguna sugerencia parecida pero consideras que es lo suficientemente diferente a la tuya, crea un nuevo issue y añade el enlace al issue anterior.

### Template para sugerir una mejora o idea

- Incluye todos los detalles que puedas.
- Funcionalidad esperada
- Screenshot(s) / Sketches de ser necesario.
- Screenshot(s) / Sketches de ser necesario.

## Personas Contacto

- [Emmanuel Luciano](https://twitter.com/eLuciiano)
- [José Padilla](https://twitter.com/jpadilla1293)
- [José Padilla](https://twitter.com/jpadilla1293)
38 changes: 21 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
# Para Votar
# React + TypeScript + Vite

![CI](https://github.com/Code4PuertoRico/paravotar/workflows/CI/badge.svg)
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

## Development
Currently, two official plugins are available:

```shell
# Install Gatsby CLI
yarn global add gatsby-cli
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

# Clone the repository
git clone [email protected]:Code4PuertoRico/paravotar.git
## Expanding the ESLint configuration

# Navigate into your new site’s directory
cd paravotar
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

# Install dependencies
yarn install
- Configure the top-level `parserOptions` property like this:

# Run development server
npm start
```js
export default {
// other rules...
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
project: ["./tsconfig.json", "./tsconfig.node.json"],
tsconfigRootDir: __dirname,
},
}
```

## Deployment

Deployments are managed by Netlify. The site will update automatically when we merge something into master.
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
35 changes: 0 additions & 35 deletions __mocks__/gatsby.js

This file was deleted.

14 changes: 14 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { defineConfig } from "cypress";

export default defineConfig({
e2e: {
baseUrl: "http://localhost:5173",
viewportHeight: 2000,
viewportWidth: 2000,
chromeWebSecurity: false,
video: false,
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
});
7 changes: 0 additions & 7 deletions cypress.json

This file was deleted.

9 changes: 3 additions & 6 deletions cypress/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ module.exports = {
root: true,
parser: "@typescript-eslint/parser", // Specifies the ESLint parser
env: {
"cypress/globals": true
"cypress/globals": true,
},
plugins: [
"@typescript-eslint",
"cypress",
],
plugins: ["@typescript-eslint", "cypress"],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
"plugin:cypress/recommended",
]
],
}
File renamed without changes.
Loading

0 comments on commit 8fd6ba2

Please sign in to comment.