ICEfaces
  1. ICEfaces
  2. ICE-9787

ace:tabSet - Replace YUI tabs use with jQuery UI tabs

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4, ace:tabSet
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration

      Description

      As of ICEfaces EE 3.3.0.GA_P02 the only remaining ACE component that uses the YUI library is ace:tabSet. Since the YUI library if fairly monolithic it requires a very large JS load to support the current tabSet functionality. We should remove the YUI requirement from ace:tabSet, replacing it with either the jQuery UI tabs component, or self-developed rendering.

        Activity

        Hide
        Mircea Toma added a comment - - edited

        The YUI code required by the tab set is already selected to the minimum necessary. The uncompressed ace-yui.js (which includes the ICEfaces tabset code) is 304kb in size. When compressed, the size goes way down to 68kb. This drastic compression is explained to the large amounts of comments in the uncompressed file, comments that are all removed after compression. By comparison the ace-datatable.js file is 71kb in its compressed size and it contains just ICEfaces component code.

        Show
        Mircea Toma added a comment - - edited The YUI code required by the tab set is already selected to the minimum necessary. The uncompressed ace-yui.js (which includes the ICEfaces tabset code) is 304kb in size. When compressed, the size goes way down to 68kb. This drastic compression is explained to the large amounts of comments in the uncompressed file, comments that are all removed after compression. By comparison the ace-datatable.js file is 71kb in its compressed size and it contains just ICEfaces component code.
        Hide
        Ken Fyten added a comment -

        The assessment is that it is not worth the extensive effort to replace YUI in the tabSet for purposes of reducing the JS footprint.

        Show
        Ken Fyten added a comment - The assessment is that it is not worth the extensive effort to replace YUI in the tabSet for purposes of reducing the JS footprint.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: