-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Defaults Facts and Fact Help! UI Element #2791
Conversation
SonarCloud Quality Gate failed. 0 Bugs 73.7% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
1 similar comment
SonarCloud Quality Gate failed. 0 Bugs 73.7% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Kudos, SonarCloud Quality Gate passed! |
updated for tests fixed tests to include fact_descriptions in ability object switching to snake case added data_svc tests style fixes tests for loading files flake8 added tests for reading files removed toggle functionality removed alt_command executor actually removing toggle
Kudos, SonarCloud Quality Gate passed! |
… mjr-dev-default-facts
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 need to look at this closer, but some initial thoughts:
- Nice usability feature.
- Might be better to put the fact description right on the ability modal instead of way off to the side in a sidebar. We may want to bring in the UI team for their ideas.
create_facts
is too generic a name; maybecreate_default_facts
?load_fact_description_file
needs a better, more descriptive error message
I definitely also want the fact descriptions on the right side of the ability modal - I just couldn't figure it out quickly. Hopefully an easy change for front end folks |
c9cb2e8
to
a003028
Compare
|
Kudos, SonarCloud Quality Gate passed! |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Description
Reads a new fact_description.yml file for each plugin that provides default facts and fact descriptions
Default Facts are loaded as a new source, which is now the default source for a new operation
Fact Descriptions are loaded as a part of a sidebar whenever a new "Fact Help" button is pressed on the "add potential link" panel.
Type of change
How Has This Been Tested?
I added tests to dava_svc to verify that it can loads fact_description yamls, tested that it works if these yamls do not exist, and added tests to check that the default source is being created
Checklist: