[JBoss JIRA] (ISPN-6889) Create directive for generic field form groups
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-6889?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-6889:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan-management-console/pull/119
> 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 is 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)
8 years, 5 months
[JBoss JIRA] (ISPN-6889) Create directive for generic field form groups
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-6889?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-6889:
-------------------------------
Status: Open (was: New)
> 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 is 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)
8 years, 5 months