-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add custom contract types via plugin config #239
Conversation
Thanks @qduk, I like this idea. I'll have a look at this today and we should merge soon. |
@qduk I noticed that these new contract types don't show up in the filter drop down menu. |
@progala hm let me look into it tomorrow and update here. |
3887e1e
to
cd01127
Compare
@progala Can you give it another shot? I was able to see the contract types in the dropdown. |
@bradh11 Thanks for the suggestions. Do I need to open this toward a different branch? I saw the other one was closed. |
The other PR was closed as it was targeting |
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.
Small suggestion. Could you please also add tests for add_custom_contract_types
Co-authored-by: Przemek Rogala <[email protected]>
Co-authored-by: Przemek Rogala <[email protected]>
@progala Test added here as well. Let me know if these suffice. Thanks! |
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, Thanks @qduk !
This adds the ability to provide a list of contract types in your plugin configuration for use in the plugin. This is related to issue #103. I have a similar use case in my current work where
Hardware
andSoftware
aren't specific enough and the use of aservices
and/orsoftware maintenance
are needed. Let me know what you guys think! Thanks!