TV Show Project Level 300: Swap back to your old codebase
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript
Línea de trabajo
Comienza con episodes.js y el flujo existente de getAllEpisodes; después, revisa cómo el sitio web utiliza los datos de los episodios para buscar, desplazarse y seleccionar. Lee la documentación de la API de lista de episodios de TVMaze y prueba los estados de carga y de error simulado. Se considera terminado cuando episodes.js se haya eliminado, la URL se obtenga una sola vez por visita y los usuarios reciban información visible mientras esperan o cuando se produce un error.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Level 300
For level 300, you should switch back to your original codebase.
You should have reviewed and merged your partner's level 200 changes through a PR to your own repo.
Remember to pull the latest changes onto your local machine.
Once again, compare their implementation to yours. Think:
- How is it different?
- What do you prefer about your implementation?
- What do you prefer about their implementation?
- What did you learn that you didn't know before?
Have a discussion about your answers to these questions. In class, together, give a 3 minute talk about your conclusions.
Refactoring
Like with level 200, feel free to change anything in your codebase which you think will make it easier to work with, or to build new features.
Make a branch and pull request for yourself, and then have your partner review, making sure they understand the changes made.
Adding new functionality
Level 300 is about getting rid of our static data from episodes.js, and instead using an API.
Requirements
- You must delete the
episodes.jsfile from your repository. - Your website must still work the same, but by using a
fetchrequest to https://api.tvmaze.com/shows/82/episodes. This URL should serve the exact same content as was returned bygetAllEpisodesinepisodes.js. - You must fetch this URL only once per visit to your website. You should not re-fetch when someone searches, scrolls, or selects an episode from the drop-down.
- If you don't have data yet, you should show something to tell the user to wait for the data.
- If an error occurred loading the data, notify the user.
- Note: real users don't look in the console -
console.logorconsole.errorare not sufficient for this requirement. - You will need to simulate an error to test this out yourself.
Documentation
You can see that this endpoint has been documented here: https://www.tvmaze.com/api#show-episode-list
- Lenguaje dominante
- JavaScript
- Estrellas
- 0
- Forks
- 276
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CodeYourFuture/Module-Data-Flows
-
Complete the ITP end survey Abierto🏕 Priority Mandatory 📅 Sprint 3 Core Module-Data-Flows Submit:None 🦔 Size Tiny
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Prepare a demo for Q&A workshop Abierto🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 2 Core Module-Data-Flows Submit:None
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
-
🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 3 Core Module-Data-Flows Submit:None
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
-
🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 2 Core Module-Data-Flows Submit:None
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
-
🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 1 Core Module-Data-Flows Submit:None
Dificultad 1/5 1-3 horas Aptitud para principiantes 35/100
Todos los issues de CodeYourFuture/Module-Data-Flows
Issues similares
-
bug customer-eng Durable Agents Inngest status: needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
optimization optimization:agents-md-curator
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
githubnext/gh-aw-cao#13475 ·
-
[BUG]: "Clear All" in Settings doesn't clear the saved analysis, old data comes back after reload Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
AOSSIE-Org/OrgExplorer#253 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
oxc-project/oxc#26944 ·
-
ai-observability bug team/ai-observability
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100