FOUR-20834 | Implement Search Option in the VarFinder Panel by mcraeteisha · Pull Request #7983 · ProcessMaker/processmaker

Feature

Ticket: FOUR-20834

This PR enhances the VarFinder Panel by adding the following updates to the functionality of the Search option:

  • Highlights asset names that match user's search filter
  • Adds the icon for the 'Collections' option in the AssetSearch dropdown

How to Test

  1. Go to branch task/FOUR-20834 in package-variable-finder and task/FOUR-20834 in processmaker.
  2. Hit 'Shift' and 'Space' on your keyboard to open the VarFinder Panel.
  3. Select the 'Seach' tab
  4. If you've recently accessed Assets in your environment, the assets should be listed beneath the Search bar
  5. Selecting a different asset type should display the correct asset type in your listing.
  6. You should be able to search for assets by type and name. Matching asset names should be highlighted. Results that do not match your search filter should not display in your listing.

ci:package-variable-finder:task/FOUR-20834

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.