exponentcms / exponent-cms

Content Management, Simple.
exponentcms.org
GNU General Public License v2.0
60 stars 24 forks source link

Upgrade: YUI2 widgets/modules to use YUI3/jQuery #796

Closed exponentcms closed 4 years ago

exponentcms commented 4 years ago

We still use a lot of yui2 stuff and should migrate to yui3...however, not all the 'widgets' in yui2 are fully implemented in yui3 at this point

exponentcms commented 4 years ago

this includes:

exponentcms commented 4 years ago

report/product_report.tpl has been upgraded to yui3, but these additional ones are also yui2 (but may or may not be used/obsolete)

exponentcms commented 4 years ago

(from [b761ce778c9d9cc6bebccdcbca4f958c1e363e18]) Adds a comment to files using yui2 instead of yui3 [#747] https://github.com/exponentcms/exponent-cms/commit/b761ce778c9d9cc6bebccdcbca4f958c1e363e18

exponentcms commented 4 years ago

(from [21a072f863a2a9698f70d151d7aaa47b6ddf743d]) Initial implementation of DataTables widget; updates all the user/group management screens to allow quicker better management of large lists [#1116 #747] https://github.com/exponentcms/exponent-cms/commit/21a072f863a2a9698f70d151d7aaa47b6ddf743d

exponentcms commented 4 years ago

There is now a jQuery slideshow view

exponentcms commented 4 years ago

So the list at this point looks like

exponentcms commented 4 years ago

(from [c45bdbb37e6cfbae602c68ebe94bf7647c701fc5]) Marks several 'controls' and smarty 'plugins' for deprecation, primarily because they are not used and/or missing js files, or are based on YUI2; controls: antispam (old style), config, contact, list, masmail, nextback, quantity (replaced by html5 number) , & yuieditor; plugins: prod_images, yuimenu, & yuimenubar [#747] https://github.com/exponentcms/exponent-cms/commit/c45bdbb37e6cfbae602c68ebe94bf7647c701fc5

exponentcms commented 4 years ago

FWIW, several of these use a similar routine

exponentcms commented 4 years ago

The following have been upgraded to yui3 code:

The following still contain yui2 code:

exponentcms commented 4 years ago

(from [f80166bba4b5c45bf0fceecfd64dd3d707a04e7c]) Updates the 'pull' type module configure views to use yui3 code [#747] https://github.com/exponentcms/exponent-cms/commit/f80166bba4b5c45bf0fceecfd64dd3d707a04e7c

exponentcms commented 4 years ago

As a note...several of these views hold some pretty complex code and it may be more advantageous to move directly to jQuery instead of a quick yui3 fix.

The lightbox.js is a yui2 lightbox which pulls in ajax content on the (month) calendars...there is no suitable existing yui3 equivalent, but there are several jQuery lightboxes with ajax content.

The manage_hierarchy requires a drag/drop enabled tree control.

exponentcms commented 4 years ago

fwiw, the tagtreecontrol used for store categories uses the exp-tree.js file so it would need to be updated also to a drag/drop enabled tree control.

exponentcms commented 4 years ago

(from [3e815f7741f8dece35f401642f987ea03c520d87]) Replace yui2 lightbox used to optionally display calendar events w/ jquery colorbox [#1120 #747]] https://github.com/exponentcms/exponent-cms/commit/3e815f7741f8dece35f401642f987ea03c520d87

exponentcms commented 4 years ago

As an update, the following still contain yui2 code:

exponentcms commented 4 years ago

Both common/configure/module (all frameworks) and container/edit (all frameworks) have been upgraded to yui3 code.

Note, we will NOT plan on upgrading the YUI2 menu views (slingbar, YUI Nav, etc...), nor picker, nor pixidou.

exponentcms commented 4 years ago

Ok, a prioritized list:

Highest priority - non-ecommerce items usable in a bootstrap3 framework

Second priority - ecommerce items usable in a bootstrap3 framework

No priority (will not be updated) - contain yui2 code, but do not fall into the above groups

exponentcms commented 4 years ago

deprecated files listed above removed

exponentcms commented 4 years ago

The nav manage hierarchy view has been updated to jquery/bootstrap3.

exponentcms commented 4 years ago

At this point the only (active, non-deprecated) code/views using yui2 are:

There are other views used by the YUI theme framework such as the old slingbar and other menu bars, the traditional file manager, and the traditional image editor (pixidou). There are NO plans to update this code since we have functional replacements.

exponentcms commented 4 years ago

autocompletecontrol now coded as yui3 (along w/ assoc views)

exponentcms commented 4 years ago

We'll close this since all active/used views, etc... are not updated from yui2. There are still some old YUI2 menus such as the old slingbar, and we have the old traditional file manager and pixidou editor, but they've been deprecated (no longer default)

exponentcms commented 4 years ago

Lighthouse URL: https://exponentcms.lighthouseapp.com/projects/61783/tickets/747