-
Notifications
You must be signed in to change notification settings - Fork 643
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: article graph to use functional component #5498
refactor: article graph to use functional component #5498
Conversation
Could you add a reference to the relevant issue in your PR? (it makes it easier to track which components have been refactored if each PR references back to issue #5393) |
done |
…a/WikiEduDashboard into articleGraphRefactor
@justiceotuya could you resolve conversations as you go along addressing them? Makes it easier to track changes |
Resolved and fixed @TheTrio |
if (dataIncludesWp10 || !articleData) { | ||
editSize = null; |
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 is not required
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.
same here — this hasn’t been fixed and yet the conversation is marked as resolved.
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.
unresolved and fixed @TheTrio
if (!dataIncludesWp10 || !articleData) { | ||
radioInput = null; |
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 isn't required either
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.
why is this marked as resolved?
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.
unresolved and fixed @TheTrio
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 PR looks fine, I'll test it manually once tomorrow.
let radioInput = ( | ||
<div> | ||
<div className="input-row"> | ||
<input |
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.
missing a check for articleData[0].wp10
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.
@TheTrio This has been fixed
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.
LGTM
NOTE: Please review the pull request process before opening your first PR: https://github.com/WikiEducationFoundation/WikiEduDashboard/blob/master/CONTRIBUTING.md#pull-request-process
What this PR does
refactor: article_graph class component to use functional component from this Issue #5393
Screenshots
Screen.Recording.2023-10-04.at.10.56.09.PM.mov