]
Ryan Emerson updated ISPN-6889:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
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.