[infinispan-issues] [JBoss JIRA] (ISPN-6889) Create directive for generic field form groups

Ryan Emerson (JIRA) issues at jboss.org
Mon Jul 25 09:24:00 EDT 2016


Ryan Emerson created ISPN-6889:
----------------------------------

             Summary: Create directive for generic field form groups
                 Key: ISPN-6889
                 URL: https://issues.jboss.org/browse/ISPN-6889
             Project: Infinispan
          Issue Type: Enhancement
          Components: Console
    Affects Versions: 9.0.0.Alpha3
            Reporter: Ryan Emerson
            Assignee: Ryan Emerson


We should be able to significantly reduce the amount of duplicate code if we create a directive for handling generic fields that are found across the console. Where a generic field consists of a label, input field, tooltip and undo/restart required fields.  Currently the logic for these fields are repeated, in some cases with small variations, across multiple directives. 

It should be possible to create a directive that takes in the appropriate metadata,prevData and data objects for a specified field and handles the setting/unsetting of style data internally within the new directive.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list