MMT-4002 & MMT-4017: Custom widget support for searching/selecting a KMS keyword #1358
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
What is the feature?
Support a custom widget for selecting a keyword from the form page.
What is the Solution?
Added a custom widget component that provides a tree for a user to search for keyword and select it. The selection will then populate the form page. You can also filter by concept scheme. The placeholder text mentions you can filter by UUID, but that is coming in the next ticket, as will require a KMS change.
What areas of the application does this impact?
Keyword Manager Form
Testing
Select a keyword from the tree, so the form displays.
Next to each keyword should be a pencil icon, indicating you can edit that keyword. Note the tree will open to the selected keyword.
Click it and a modal will display.
Try finding a keyword by searching by pattern, selecting it, and hitting accept. The form should now contain your selection. Note when you search, the tree now auto expands all nodes and highlights the search word.
Checklist