Skip to content

Conversation

@cgokey
Copy link
Collaborator

@cgokey cgokey commented May 6, 2025

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

  • I have added automated tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@codecov-commenter
Copy link

codecov-commenter commented May 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.88%. Comparing base (a64399e) to head (582ea0e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1358      +/-   ##
==========================================
+ Coverage   97.32%   97.88%   +0.56%     
==========================================
  Files         381      384       +3     
  Lines        6198     6348     +150     
  Branches     1302     1334      +32     
==========================================
+ Hits         6032     6214     +182     
+ Misses        158      133      -25     
+ Partials        8        1       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

* MMT-4006: Initial checkin

* MMT-4006: Remove unused updates
@eudoroolivares2016 eudoroolivares2016 changed the title MMT-4002: Custom widget support for searching/selecting a KMS keyword MMT-4002 & MMT-4017: Custom widget support for searching/selecting a KMS keyword May 6, 2025
@cgokey cgokey merged commit 99e9aa6 into main May 7, 2025
7 checks passed
@cgokey cgokey deleted the MMT-4002 branch May 7, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants