TV Show Project Level 300: Swap back to your old codebase
Maintainer antworten meist innerhalb von 10 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- javascript
Rechercherichtung
Beginne mit episodes.js und dem bestehenden getAllEpisodes-Ablauf und prüfe anschließend, wie die Website Episodendaten für die Suche, das Scrollen und die Auswahl verwendet. Lies die Dokumentation der TVMaze-Episode-List-API und teste die Lade- und simulierten Fehlerzustände. Als erledigt gilt die Aufgabe, wenn episodes.js entfernt ist, die URL pro Besuch einmal abgerufen wird und die Benutzer eine sichtbare Rückmeldung zum Warten oder bei Fehlern erhalten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- JavaScript
- Sterne
- 0
- Forks
- 276
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Die Einrichtungsdateien dieses Projekts haben wir noch nicht geprüft. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CodeYourFuture/Module-Data-Flows
-
🏕 Priority Mandatory 📅 Sprint 3 Core Module-Data-Flows Submit:None 🦔 Size Tiny
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
CodeYourFuture/Module-Data-Flows#485 ·
Maintainer antworten meist innerhalb von 10 Tagen
-
🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 2 Core Module-Data-Flows Submit:None
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
CodeYourFuture/Module-Data-Flows#484 ·
Maintainer antworten meist innerhalb von 10 Tagen
-
🏝️ Priority Stretch 📅 Sprint 1 📅 Sprint 2 📅 Sprint 3 Optional Recurring Submit:None
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 25/100
CodeYourFuture/Module-Data-Flows#590 ·
Maintainer antworten meist innerhalb von 10 Tagen
-
🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 3 Core Module-Data-Flows Submit:None
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
CodeYourFuture/Module-Data-Flows#373 ·
Maintainer antworten meist innerhalb von 10 Tagen
-
🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 2 Core Module-Data-Flows Submit:None
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
CodeYourFuture/Module-Data-Flows#372 ·
Maintainer antworten meist innerhalb von 10 Tagen
Alle Issues in CodeYourFuture/Module-Data-Flows
Ähnliche Issues
-
factory-active factory-automatic harness/codex task-bug-reproduction-success task-identify-harness-labels-done task-identify-issue-type-done
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
vercel/ai#21582 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
ux
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
rr-djk/rr-djuikoo.com#53 ·
Maintainer antworten meist innerhalb von 1 Tag
-
new spec review
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
w3c/browser-specs#2666 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
thim81/openapi-format#238 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
decentespresso/dye2#13 ·