<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6789</bug_id>
          
          <creation_ts>2014-10-02 10:40:51 +0000</creation_ts>
          <short_desc>Move all Toaster tables to AngularJS</short_desc>
          <delta_ts>2015-02-06 18:55:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Michael Wood">michael.g.wood</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>bluelightning</cc>
    
    <cc>cristiana.voicu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46026</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-10-02 10:40:51 +0000</bug_when>
    <thetext>In order to properly implement the filters in the all layers, all targets and all machines pages, we need the filter counters to update without refreshing the whole page whenever you add or remove a layer from the project. 

In order to this without ugly hacks involved, we should implement these tables using the AngularJS framework.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46081</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-10-03 11:25:17 +0000</bug_when>
    <thetext>We need to organically treat all table-based pages as mini-applications, instead of relaying on hacks to provide proper information display and update.

Currently -
- The page size, ordering, filtering and search terms are saved through cookies and enforced through page reload; these should be backed by modeled data as to maintain consistency of display.

- On actionable items, the buttons are drawn after ajax requests, and filter options and labels are updated by DOM modification, instead of being supported by proper models and controllers in the page

DOM editing without model support leads to unmaintable and unfixable code, which should be avoided. Also, transitioning the pages to the angular framework will provide a better user experience through reducing page loading times, and maintain user context through avoiding browser refresh.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48616</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2015-02-06 18:55:08 +0000</bug_when>
    <thetext>I propose wontfix on this one as I don&apos;t think the current page implementations are really adaptable to having a hybrid of Angular, js, jquery, django template and custom view generation.

However I&apos;m not saying that there shouldn&apos;t be a time to re-asses the technologies/architecture/design of toaster but this is much bigger than the scope of this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>