Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

West Midlands | Gabriel Deng | Module-Data-Groups | Week 3 - Slide show #277

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gai93003
Copy link

@gai93003 gai93003 commented Jan 7, 2025

Learners, PR Template

Self checklist

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

Changelist

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

@gai93003 gai93003 added the Needs Review Participant to add when requesting review label Jan 7, 2025
@illicitonion illicitonion removed the Needs Review Participant to add when requesting review label Jan 7, 2025
@illicitonion
Copy link
Member

This has the same problem as #220 :) Please use git rebase -i to get rid of the unrelated commits, then re-add the Needs Review label.

@gai93003
Copy link
Author

gai93003 commented Jan 9, 2025

I think it is now finally rebased.

@gai93003 gai93003 added the Needs Review Participant to add when requesting review label Jan 9, 2025
Copy link
Member

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

This is generally looking good, but you have multiple copies of the same code a few times - can you reduce that duplication?

Comment on lines +41 to +44
currentImageIndex = (currentImageIndex - 1 + images.length) % images.length;
updateImage();
});
Copy link
Member

Choose a reason for hiding this comment

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

This code looks really similar to some of the code in autoplayBack (and same below with forwardBtn and autoplayForward - can you think how to avoid duplicating this code?

@illicitonion illicitonion added Reviewed Volunteer to add when completing a review and removed Needs Review Participant to add when requesting review labels Jan 10, 2025
@illicitonion
Copy link
Member

Thanks for sorting out the rebase!

@gai93003 gai93003 added the Complete Participant to add when work is complete and review comments have been addressed label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complete Participant to add when work is complete and review comments have been addressed Reviewed Volunteer to add when completing a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants