Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CONDEC-686: Add filter criteria used in code class view to FilterSett…
…ings (#287) * Set default link distance to 3 in FilterSettings class * Remove warning text from link distance input field to simplify code (it is not really necessary) * Add minDegree and maxDegree to the FilterSettings class * Change getClassTreant REST method to POST method and pass FilterSettings object instead of single filter criteria as parameters * Add velocity template for the node degree filter (min and max link number) to make it reusable * Translate filter criteria for node degree (number of links) and isDecisionKnowledgeOnly using i18n properties * Add filter criteria isTestCodeShown to FilterSettings * Add methods isElementMatchingDegreeFilter and isElementMatchingIsTestCodeFilter in FilteringManager and use it in Treant * Remove usage of GenericLinkManager in Treant because the Treant should not know this class, it should only use the KnowledgeGraph for better separation of concerns * Remove isCollapsed parameter from createTreantNode method because we use the linkDistance filter instead * Fix that startTime (createdAfter/createdEarliest) and endTime (createdBefore/createdLatest) were swapped in graph view of Jira issue view
- Loading branch information