Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
28ac43b
instalaciones npm init & eslint
Elibabah Jan 4, 2022
fef8d61
readme ready
Elibabah Jan 6, 2022
c83bce9
objeto modelado para subir a firebase
Elibabah Jan 6, 2022
657e5ea
instalaciones firebase & firestore
Elibabah Jan 6, 2022
d2502f1
firebase
Elibabah Jan 6, 2022
79e7f13
Merge pull request #3 from Elibabah/release
Elibabah Jan 6, 2022
3ab5239
activando firebase
Elibabah Jan 6, 2022
62848eb
writing on firebase
Elibabah Jan 6, 2022
931344d
favicon
Elibabah Jan 7, 2022
67f8b36
control flujo envío data a fb
Elibabah Jan 7, 2022
1e2ff9d
trayendo data firebase
Elibabah Jan 7, 2022
93341bf
imprimiendo metas en cards
Elibabah Jan 7, 2022
c762ffc
iterando data desde array local
Elibabah Jan 7, 2022
1321ea1
getting id for each object
Elibabah Jan 9, 2022
8d626fa
deleting metas
Elibabah Jan 9, 2022
df1818b
eliminando en tiempo real. Issue: duplicacion
Elibabah Jan 9, 2022
39e259f
issue fixed on delete button
Elibabah Jan 9, 2022
d890b79
cycle delete button finished OK
Elibabah Jan 9, 2022
8000a6a
getting data for each edit button
Elibabah Jan 10, 2022
8ffdcc6
cleaning all after deleting
Elibabah Jan 10, 2022
166d970
getting form to edit
Elibabah Jan 10, 2022
85cdf31
change button save to update when you edit
Elibabah Jan 10, 2022
435b963
edit function Ok
Elibabah Jan 10, 2022
1d2b353
cleaning each update
Elibabah Jan 10, 2022
c3d2ed4
updating meta without recharge window
Elibabah Jan 10, 2022
3261415
cleaning form after to update
Elibabah Jan 10, 2022
ffc725e
cycle update button finished
Elibabah Jan 10, 2022
3ee3431
creating new meta without rechange page
Elibabah Jan 10, 2022
5051bd9
adding testing jest
Elibabah Jan 11, 2022
c64656d
type module on package json
Elibabah Jan 12, 2022
763db79
separando data por mes
Elibabah Jan 12, 2022
cef481a
data en calendario
Elibabah Jan 12, 2022
0a5a660
refactorizando campos en cards por mes
Elibabah Jan 12, 2022
7aae033
choosing colours
Elibabah Jan 12, 2022
107c2a0
primera prueba paleta colores
Elibabah Jan 12, 2022
8f47909
primera iteración maqueta dashboard sin gráficas
Elibabah Jan 12, 2022
b6213a8
proporcion botones cards
Elibabah Jan 12, 2022
49570b9
a deploy
Elibabah Jan 12, 2022
fa700f6
proporciones UI
Elibabah Jan 12, 2022
bd99ae9
footer en index.html
Elibabah Jan 12, 2022
5f376e7
gráfica por mes
Elibabah Jan 13, 2022
a3be533
grafica por tipo de meta
Elibabah Jan 13, 2022
e3c58aa
adding login
Elibabah Jan 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"presets": [["@babel/preset-env",
{
"target": {
"node": "current",
"firefox": "60"
}
}
]]
}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ignorar:
/node_modules
package-lock.json
.eslintrc.json
/.vscode
69 changes: 22 additions & 47 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,66 +1,41 @@
# Technical Challenge
---
Index
# Agenda propósitos 2022

1. Description
2. Aceptance Criteria
3. Technical Requirements
4. Expected Learning Outcomes
---

## 1. Description
Index

Develop yourself a Notes App for yourself to keep in mind your New Year resolutions and goals. The target user is yourself.
1. Descripción
2. Características generales
3. Características técnicas

---

## 2. Acceptance Criteria
## 1. Descripción

This applications should allow you to enter your goals and objectives with the fields:
* Dropdown Selectable Topics: Personal, Professional, Relationships, Family, Health and Learning
* Title: Input to add a short Title
* Description: Text Area to add the desciption of the goal
* Dropdown with the objective month of achievement.
Aplicación de notas personal para mantener y controlar mis propósitos y objetivos de Año Nuevo (2022) orientados a mi plan de vida. La app contará con un inicio de sesión personal.

---

## 3. Technical Requeriments /
- Follow up all the Software Development Lyfecycle steps and document it
- Only JavaScript Vanilla is allowed
- Use all the things you know already and that you have learned from the Bootcamp to solve the application code.
- Use Firestore from Firebase to keep your data
- Only Arrow Functions are allowed (ECS6)
- Using modular modular architecture is a plus
- Add a personal login for you is a plus
- Finishing before the time is a plus
## 2. Características generales

**CLUES:**
Esta aplicación me permitirá ingresar mis metas y objetivos con los campos:

- All the knowledge from the last 7 projects
- Try your best to show the expertise and skills you have earned, tecnical and softskills to reach by your own the entrance to the next stage.
- This project will be deliviered in a personal demo with the review of the performance during this last stage of the Bootcamp.
- The results of this stage will give you a learning position to math teams into the final stages.
- Make every time desition wiseley
- It's time to show up the best you can do!
- Temas desplegables seleccionables: personal, profesional, relaciones, familia, salud y aprendizaje
- Título: entrada para agregar un título corto
- Descripción: Área de texto para agregar la descripción de la meta
- Desplegable con el mes objetivo de consecución.

---
## 4. Expected Learning Outcomes

---
## 3. Características técnicas

- [ ] window object
- [ ] Arrow Functions and parameters
- [ ] Short, readable and reusable code
- [ ] Objects & Arrays
- [ ] Arquitectura modular
- [ ] window object
- [ ] Arrow Functions y parámetros
- [ ] Programación funcional (código corto, legible y reutilizable)
- [ ] Objects & Arrays
- [ ] JSON
- [ ] Iterators
- [ ] Firebase: Firestore DB
- [ ] Iteradores
- [ ] Firebase: Firestore DB
- [ ] Bootstrap 5
- [ ] Continuous Integration Tools: Git & GitHub

---
# ReadMe

---

> This Readme should be replaced with the project documentation following the SDLC procedures for Agile Software Development Lyfe Cycle.
- [ ] Herramientas de integración continua: Git y GitHub
Binary file added assets/UI/elibabah.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/UI/hojas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions datamonth/month.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"enero": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31],
"febrero": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28],
"marzo": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31],
"abril": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],
"mayo": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31],
"junio": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],
"julio": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31],
"agosto": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31],
"septiembre": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],
"octubre": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31],
"noviembre": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],
"diciembre": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]
}
4 changes: 4 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { diasPorMes } from "./modules/app.js";
import { enviarFB } from "./modules/data.js";
diasPorMes();
enviarFB(); //traerMetas()
31 changes: 31 additions & 0 deletions lib/modules/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
export const diasPorMes = () => {
const meses = "../datamonth/month.json";
const mesesArray = [];
fetch(meses).then(response => response.json()).then(data => {
mesesArray.push(data);
console.log(mesesArray);

for (let mes in mesesArray[0]) {
console.log(mes);
let imprimirMes = document.getElementById("mesChoose");
imprimirMes.innerHTML += `
<option value="${mes}">${mes}</option>
`;
}

let diaPorMes = document.getElementById("mesChoose");
diaPorMes.addEventListener("change", () => {
console.log("estoy escuchando");
let clickMes = document.getElementById("mesChoose").value;
console.log(clickMes); //console.log(mesesArray[0][clickMes])

for (let dia of mesesArray[0][clickMes]) {
console.log(dia);
let imprimirDia = document.getElementById("diaChoose");
imprimirDia.innerHTML += `
<option value="${dia}">${dia}</option>
`;
}
});
});
};
Loading