-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Refactor home screen #4825
Refactor home screen #4825
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome job doing the refactoring work here! I see a couple places where the code could be improved for readability & conforming to React development standards.
Thanks for putting the effort in!
); | ||
} | ||
|
||
function buildSection( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems rather un-reactive. I'm sure there's a better way to do this with JSX.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The source files these are being split off from are legacy and unfortunately not React. Splitting the legacy pieces out this way should make it easier to divide work on migrating to React going forward, though!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops! thanks for saying something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @grhallenbeck that is exactly the idea! I just had not made it back to this to comment myself. 😅
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Regression of #1134 as a result of this change. Would have expected "Recently Added in Movies" to continue to use the Primary image instead of Backdrops. |
Changes
Refactor home screen code to use separate files per home screen section and remove some unused home screen types
Issues
N/A