[jira] [Updated] (ACCUMULO-4764) Move static html from JS to templates
[ https://issues.apache.org/jira/browse/ACCUMULO-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] taro siwa updated ACCUMULO-4764: a > Move static html from JS to templates > - > > Key: ACCUMULO-4764 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4764 > Project: Accumulo > Issue Type: Improvement > Components: monitor >Affects Versions: 2.0.0 >Reporter: Michael Miller >Assignee: Michael Miller >Priority: Major > Labels: pull-request-available > Fix For: 2.0.0 > > Time Spent: 2h > Remaining Estimate: 0h > > The new Monitor has too much code embedded in the Javascript. A lot of it is > just static html code that should be created in the freemarker templates > before the JS is loaded. For example, all of the table column descriptions > used for tool tips are loaded into [one massive JS > Arrary|https://github.com/apache/accumulo/blob/master/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/global.js]. > Moving the static code to the templates will help greatly with maintenance, > specifically keeping external Javascript libraries up to date. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (ACCUMULO-4764) Move static html from JS to templates
[ https://issues.apache.org/jira/browse/ACCUMULO-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated ACCUMULO-4764: - Labels: pull-request-available (was: ) > Move static html from JS to templates > - > > Key: ACCUMULO-4764 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4764 > Project: Accumulo > Issue Type: Improvement > Components: monitor >Affects Versions: 2.0.0 >Reporter: Michael Miller >Assignee: Michael Miller > Labels: pull-request-available > Fix For: 2.0.0 > > > The new Monitor has too much code embedded in the Javascript. A lot of it is > just static html code that should be created in the freemarker templates > before the JS is loaded. For example, all of the table column descriptions > used for tool tips are loaded into [one massive JS > Arrary|https://github.com/apache/accumulo/blob/master/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/global.js]. > Moving the static code to the templates will help greatly with maintenance, > specifically keeping external Javascript libraries up to date. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (ACCUMULO-4764) Move static html from JS to templates
[ https://issues.apache.org/jira/browse/ACCUMULO-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Miller updated ACCUMULO-4764: - Description: The new Monitor has too much code embedded in the Javascript. A lot of it is just static html code that should be created in the freemarker templates before the JS is loaded. For example, all of the table column descriptions used for tool tips are loaded into [one massive JS Arrary|https://github.com/apache/accumulo/blob/master/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/global.js]. Moving the static code to the templates will help greatly with maintenance, specifically keeping external Javascript libraries up to date. (was: The new Monitor has too much code embedded in the Javascript. A lot of it is just static html code that should be created in the freemarker templates before the JS is loaded. For example, all of the table column descriptions used for tool tips are loaded into one massive JS Arrary. Moving the static code to the templates will help greatly with maintenance, specifically keeping external Javascript libraries up to date.) > Move static html from JS to templates > - > > Key: ACCUMULO-4764 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4764 > Project: Accumulo > Issue Type: Improvement > Components: monitor >Affects Versions: 2.0.0 >Reporter: Michael Miller >Assignee: Michael Miller > Fix For: 2.0.0 > > > The new Monitor has too much code embedded in the Javascript. A lot of it is > just static html code that should be created in the freemarker templates > before the JS is loaded. For example, all of the table column descriptions > used for tool tips are loaded into [one massive JS > Arrary|https://github.com/apache/accumulo/blob/master/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/global.js]. > Moving the static code to the templates will help greatly with maintenance, > specifically keeping external Javascript libraries up to date. -- This message was sent by Atlassian JIRA (v6.4.14#64029)