Skip to content

London | 26-ITP-May | Vitalii Kmit | Project TV Show | Level 500 - #83

Open
Vitalii-code wants to merge 41 commits into
CodeYourFuture:mainfrom
Vitalii-code:main
Open

Vitalii-code wants to merge 41 commits into
CodeYourFuture:mainfrom
Vitalii-code:main

Conversation

@Vitalii-code

@Vitalii-code Vitalii-code commented Aug 18, 2026

Copy link
Copy Markdown

Learners, PR Template

https://cyf-vitalii-code-tv.netlify.app/

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | SPRINT NUM | PROJECT NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

d4ef927 Add a link to go back to home
e85e351 Filter by genre
44b9042 Add button to display more info
869a90a Add information panel for each tv show
2a0a20c Add search to shows
f3a6186 Jump to the show on click
329f175 Style show display
59ef1f7 Display card differently depending on context
89cd9f9 Add placeholder image
ffc066d Hide some controls by default
f43bc3b Add it back because it was in fact necessary
d347f74 Remove unnecessary render() calls
f08915d Parse URL parameters

Vitalii-code and others added 30 commits August 8, 2026 11:04
London | 26-ITP-May | Zadri Abdule | TV Show Project | Level-200
London | 26-ITP-May | Zadri Abdule | Project TV Show | Level 400
London | 26-ITP-May | Zadri Abdule | Project TV Show | Level 400
@Vitalii-code Vitalii-code added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 18, 2026
@Vitalii-code Vitalii-code changed the title London | 26-ITP-May | Vitalii Kmit | Project TV Show | Level 500 - #5 London | 26-ITP-May | Vitalii Kmit | Project TV Show | Level 500 Aug 18, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Sep 14, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good attempt at this task, the implementation works but seems to have some issues.

Did you remember to validate / run the lighthouse checks before submitting?

As I test your implementation, I see that you are realoading the page when you go from state to state. This results in you not being able to make best use of your caching. Can you find an alternative way to change state without reloading the page?

ITP is finished now but if you want to push yourself, you can try to address my comments

Comment thread index.html Outdated

<body>
<div id="root">
<div id="root"></div>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There may be better semantic elements you could have used here than a div

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's used anywhere, so I'll just remove it.

Comment thread index.html
<template id="show-card">
<article>
<grid>
<h1 class="title"></h1>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have a look at what https://axesslab.com/alt-texts/ has to say about alt-texts. If you don't think one is necessary, there's a specific thing you need to do.

Comment thread style.css
}

img {
display: block;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The images seem to not line up, if the width of the text for the show differs in length. Can you line them up?

Comment thread style.css
p {
margin-left: 15px;
margin-right: 15px;
color: #a2a2a2;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an appropriate colour to use here?

Comment thread script.js
episode.image && episode.image.medium
? episode.image.medium
: PLACEHOLDER_IMAGE;
clone.querySelector(".description").innerText = episode.summary;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any difference here between how episodes and shows handle this data from the API? What would the fix be? Which one is the safer approach to use?

Comment thread script.js
if (episodeList == undefined || episodeList.length === 0) return;

for (const episode of episodeList) {
const code =

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this formatting code reused anywhere? Could this be reorganised keeping that in mind?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Sep 15, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants