-
Notifications
You must be signed in to change notification settings - Fork 3.9k
react_decompose #4202
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
base: master
Are you sure you want to change the base?
react_decompose #4202
Conversation
dmytro-halieba
left a comment
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.
Great Job on the task, i could not add something
mateacademy-ai-mentor
left a comment
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.
Review Summary
Great job on splitting the application into separate components and organizing the file structure! The component logic is well-implemented. However, some changes are needed because a key requirement for CSS separation hasn't been fully met, which is causing a test to fail.
The responsive styles for the .header component are incorrectly located in src/components/Article/Article.css. To meet the task requirement of having self-contained component styles, please move the @media (min-width: 500px) block that targets the .header class into src/components/Header/Header.css. This will fix the failing test and complete the task. Keep up the excellent work!
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
Important
Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.
Tip
If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.
Caution
Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.
Footnotes
src/components/Article/Article.css
Outdated
| .header { | ||
| text-align: left; | ||
| display: flex; | ||
| justify-content: space-between; | ||
| } |
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.
These styles for the .header class should be moved to the Header component's CSS file (src/components/Header/Header.css). The task requires splitting the CSS so that each component's styles are self-contained.
mateacademy-ai-mentor
left a comment
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.
Review Summary
Excellent work on this task! I am approving your solution. You've successfully addressed all the feedback from the previous review, particularly by correctly encapsulating the styles for each component in its own CSS file. The project structure is now clean and logical, with all components properly decomposed and organized. The application meets all the requirements perfectly. Great job!
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
DEMO LINK