-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
React dialog type #6855
React dialog type #6855
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.
Thank you for your first contribution! 🍾
I noticed a couple of small things, we may also require some CHANGELOG
notes about some breaking changes (moving of components).
I tested the AboutDialog
and it worked correctly 👍
If code was moved and then changed, the original copyright has to be preserved without changes. |
Thanks for the review, guys! I'll resolve the concerns by monday, have a good weekend :) |
7d284b9
to
21eef67
Compare
Build failed because of a rate limit or something, should be retried. |
I'm fine with refactoring. |
Yes, it's a known limitation in our current CI setup and does not mean there is a problem with your code. PRs that originate from a fork are not covered by our configured GitHub token, and so the GH "API rate limit" sometimes / often kicks-in when downloading update: seems someone beat me to it - CI is successful ATM. |
21eef67
to
3280935
Compare
Okay, it's ready for another look 👍 |
@vince-fugnitto it looks fine to me now |
@efrlsml Thanks for the refactoring. Please update the commit message to something more descriptive. What you have in the "What it does" section of the description is a good start, but I'd like to see the name of the new dialog class as well. |
0b2565a
to
d954b6a
Compare
Have updated the message and rebased now, thanks @marcdumais-work :) |
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.
Thank you for your contribution @efrlsml 👍
I code looks fine and the about
dialog correctly works as before.
I have a minor comment regarding the changelog
then the pull-request can be merged :)
d954b6a
to
dd75de8
Compare
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.
I'm happy with the latest updates :)
This makes it easy to make react-based dialogs, by introducing an abstract class called `ReactDialog` that extends `AbstractDialog` for making dialogs with React, similar to how `ReactWidget` extends `BaseWidget`. Signed-off-by: Samuel Frylmark <samuel.frylmark@ericsson.com>
dd75de8
to
57c7eae
Compare
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.
I've verified the changes once more, thank your for your contribution @efrlsml ! 👍
What it does
Introduces an abstract class that extends
AbstractDialog
for making dialogs with React, similar to howReactWidget
extends BaseWidget.How to test
Try Help -> About. That dialog now uses react, make sure it works :)
Review checklist
Reminder for reviewers