-
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
Give more flexibility for tasks related sub classes #7765
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.
The changes make sense to me, thank you for the refactoring!
I was just wondering what use case you need the protected methods for: in general, we should be sparse with what we make API. |
@tsmaeder |
Thank you for your work @RomanNikitenko ! 2 questions:
Thanks! |
So it make sense to me to have @akosyakov @elaihau
We have ability to run tasks in separate containers. For example, user can have |
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 would vote
taskConfig
and taskInfo
as optional
I don't see taskId
being referenced either. I shouldn't have added it to the interface in the first place. Sorry.
2a1b7c2
to
5585794
Compare
thank you for the feedback, I removed
I think you don't need to worry about it. You put much effort into this project and contributed a lot of functionality related to tasks (thanks!) 👍. |
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
5585794
to
9fe6f97
Compare
What it does
private
modifier byprotected
forTaskTerminalWidgetManager
andTaskService
methods.task
terminal fromTaskService
for exampleTaskTerminalWidgetOpenerOptions
I didn't find where required property
taskId
is used, instead we everywhere use task config.So, I moved
taskId
to optional property and addedtaskConfig
(optional as well)How to test
I don't think these changes can break something, but you could try:
configured
taskdetected
taskReview checklist
Reminder for reviewers
Signed-off-by: Roman Nikitenko rnikiten@redhat.com