Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
08e9478
Testing Updates
Zeligoland Aug 5, 2022
a47bb88
se agregó el pkg jason
MaJess1902 Aug 5, 2022
366a8b9
Merge branch 'main' into main
Zeligoland Aug 8, 2022
f39d9e2
Merge pull request #1 from MaJess1902/main
Zeligoland Aug 8, 2022
f337db2
Update index.html
Zeligoland Aug 8, 2022
01e0ad8
Receiving Changes
Zeligoland Aug 8, 2022
78004d9
en html: se agregó el header, la barra de navegación, sección de bie…
MaJess1902 Aug 8, 2022
e4d9518
Merge branch 'main' of github.com:MaJess1902/BOG005-data-lovers.githu…
MaJess1902 Aug 8, 2022
2e6e52c
Merge pull request #2 from MaJess1902/main
Zeligoland Aug 8, 2022
91e78fb
Menú de navegación
Zeligoland Aug 8, 2022
29e3958
Added fonts and styles for main menu
Zeligoland Aug 9, 2022
b48439c
Update 10.08.2022
Zeligoland Aug 10, 2022
ef5f6db
en index sacamos la imagen del header y logramos arreglar las letras …
MaJess1902 Aug 11, 2022
d8d48b5
Merge pull request #3 from MaJess1902/main
Zeligoland Aug 11, 2022
fd806a4
finalización del menú responsive
MaJess1902 Aug 12, 2022
1961f43
Merge pull request #4 from MaJess1902/main
Zeligoland Aug 12, 2022
34d2952
responsive para tablet agregado
MaJess1902 Aug 12, 2022
8f6dfc8
Update style
Zeligoland Aug 12, 2022
a627a1d
Update README.md
Zeligoland Aug 16, 2022
8d30767
README.md Update
Zeligoland Aug 17, 2022
27322db
Update README.md
Zeligoland Aug 17, 2022
501920c
README
Zeligoland Aug 17, 2022
8eee36a
Alta fidelidad prototipo
Zeligoland Aug 17, 2022
98c8948
Update README.md
Zeligoland Aug 17, 2022
caf4a15
Adecquating workspace for this branch
Zeligoland Aug 18, 2022
f775bcf
Creating Card Container
Zeligoland Aug 19, 2022
bda96c4
Using Map to Bring Information and Card Styles
Zeligoland Aug 19, 2022
29c7928
Showing Cards
Zeligoland Aug 19, 2022
7786474
Merge pull request #5 from Zeligoland/Data-Import.js
Zeligoland Aug 19, 2022
8330a82
Trayendo los datos desde el repo Madre
MaJess1902 Aug 19, 2022
9a45295
Trayendo la data desde el repo madre
MaJess1902 Aug 19, 2022
30b7e39
Trayendo los datos desde el repo Madre
MaJess1902 Aug 19, 2022
6023250
se aceptaron cambios en el styles.css
MaJess1902 Aug 19, 2022
da2ca57
se aceptaron cambios
MaJess1902 Aug 19, 2022
87e6c17
Final commit to show all movies
Zeligoland Aug 19, 2022
a113ade
Final update to stash all changes
Zeligoland Aug 19, 2022
baddcea
Final Commit - Adjusting card
Zeligoland Aug 19, 2022
076acbc
Sync
MaJess1902 Aug 19, 2022
5bfb534
cambio en los estilos (se agruparon mejor las tarjetas), eliminación …
MaJess1902 Aug 20, 2022
9ceece8
se agregaron los personajes, los vehiculos y las localizaciónes, se c…
MaJess1902 Aug 22, 2022
d074217
Merge pull request #6 from MaJess1902/main
Zeligoland Aug 22, 2022
a628602
Update User History Characters Information
Zeligoland Aug 22, 2022
adef283
Correction
Zeligoland Aug 22, 2022
746adb0
se agregaron especies, edades y generos a los pjs, y ordenamos A-Z pe…
MaJess1902 Aug 24, 2022
e62b18b
Merge branch 'main' into main
Zeligoland Aug 24, 2022
da4995c
Merge pull request #7 from MaJess1902/main
Zeligoland Aug 24, 2022
ccbab9a
ordenamos de la A-Z todos nuestros campos del menú, tambien tenemos l…
MaJess1902 Aug 25, 2022
48c4ac2
Merge branch 'main' of github.com:MaJess1902/BOG005-data-lovers.githu…
MaJess1902 Aug 25, 2022
4c1774e
Fixing the access to the tests
Zeligoland Aug 26, 2022
db5be65
Act
MaJess1902 Aug 29, 2022
7983a45
Merge branch 'main' into main
Zeligoland Aug 29, 2022
5b2c1ef
Merge pull request #8 from MaJess1902/main
Zeligoland Aug 29, 2022
64b9ccf
Starting Filter by Director Function
Zeligoland Aug 29, 2022
b5c2255
se quitó un onclick innecesario
MaJess1902 Aug 29, 2022
1fe0c0f
filtramos por un solo director
MaJess1902 Aug 29, 2022
c648fa2
act 2
MaJess1902 Aug 29, 2022
2f52687
Bringing selector data
Zeligoland Aug 30, 2022
78876bb
Merge branch 'main' into main
Zeligoland Aug 30, 2022
d594324
Merge pull request #9 from MaJess1902/main
Zeligoland Aug 30, 2022
55e7649
Ya tenemos función de filtrar
MaJess1902 Aug 30, 2022
6e3a9d1
ya tenemos funcion filtrar
MaJess1902 Aug 30, 2022
601ddec
Working on filter function
Zeligoland Aug 30, 2022
ccdc310
Merge branch 'main' into main
Zeligoland Aug 30, 2022
9d29fa7
Merge pull request #10 from MaJess1902/main
Zeligoland Aug 30, 2022
e3a5740
Footer
Zeligoland Aug 31, 2022
9ab0ad9
Trying to print filtered movies
Zeligoland Aug 31, 2022
acdc473
Added styles to the director filter and sort button
Zeligoland Aug 31, 2022
0a1e06e
Readme Update
Zeligoland Aug 31, 2022
65ee929
README Update
Zeligoland Sep 1, 2022
985ee2a
Función filtrar ya sirve
MaJess1902 Sep 1, 2022
d9d4c35
Merge branch 'main' into main
Zeligoland Sep 1, 2022
ca8e845
Merge pull request #11 from MaJess1902/main
Zeligoland Sep 1, 2022
2ad825e
Tests for filter function
Zeligoland Sep 2, 2022
1c52a7b
Test "Filtra en el orden que corresponde"
Zeligoland Sep 2, 2022
79a6284
se agregó la funcion del porcentaje
MaJess1902 Sep 6, 2022
7667ce7
Update README.md
Zeligoland Sep 6, 2022
d42b8c4
Merge pull request #12 from MaJess1902/main
Zeligoland Sep 6, 2022
15a3396
Se ordenaron los estilos, se cambió el nombre de la funcion de porcen…
MaJess1902 Sep 6, 2022
f4bd5c1
Merge pull request #13 from MaJess1902/main
Zeligoland Sep 6, 2022
d54c023
Tests Update
Zeligoland Sep 6, 2022
9ab3afe
Merge branch 'main' of https://github.com/Zeligoland/BOG005-data-love…
Zeligoland Sep 6, 2022
13bf135
Cambiando Readme
Zeligoland Sep 6, 2022
a8e1296
Readme Update
Zeligoland Sep 7, 2022
a31988e
Adding link
Zeligoland Sep 7, 2022
356bea1
Update README.md
Zeligoland Sep 7, 2022
126bd51
Update README.md
Zeligoland Sep 7, 2022
89353e6
Update README.md
Zeligoland Sep 7, 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
Binary file added Baja-fidelidad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
630 changes: 41 additions & 589 deletions README.md

Large diffs are not rendered by default.

Binary file added characters-desktop.PNG
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 historia-de-usuario-1.PNG
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 movies-desktop.PNG
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 ordered-vehicles.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12,091 changes: 12,091 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@
"engines": {
"node": ">=14.x"
}
}

}
Binary file added prototipo-alta-fidelidad-movil.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 34 additions & 7 deletions src/data.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,36 @@
// estas funciones son de ejemplo
// Función de Ordenar de la A a la Z
function sortByNameOrTitle(data) {
return data.sort(function (a, b) {
var textA = a.title
? a.title.toUpperCase()
: a.name
? a.name.toUpperCase()
: "";
var textB = b.title
? b.title.toUpperCase()
: b.name
? b.name.toUpperCase()
: "";
return textA < textB ? -1 : textA > textB ? 1 : 0;
});
}

export const example = () => {
return 'example';
};
// Función para filtrar por director

export const anotherExample = () => {
return 'OMG';
};
function filterByDirector(data, director) {
let moviesByDirector = data.filter(function (film) {
return film.director === director;
});
return moviesByDirector;
}

//Función para obtener un porcentaje

function getAverage(data) {
let result = 0;
data.forEach((e) => {
result += e.rt_score / data.length;
});
return result;
}
export { sortByNameOrTitle, filterByDirector, getAverage };
Loading