Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise the Contao components #332

Open
leofeyer opened this issue Feb 15, 2019 · 6 comments

Comments

@leofeyer
Copy link
Member

commented Feb 15, 2019

We should check which Contao components have become obsolete and remove or deprecate them.

KEEP

Component Evaluation
ace ACE editor used in the back end
dropzone Drag and drop file uploads
highlight Highlight.js syntax highlighter
stylect Cross-browser select menu support
tinymce4 TinyMCE 4 – there is TinyMCE 5 meanwhile though

KEEP or REPLACE

Component Evaluation
chosen Multi-select drop-downs; unmaintained but stable
colorbox jQuery lightbox
colorpicker Mostly used in the internal CSS editor; unmaintained
datepicker Unmaintained but stable
mediabox Lightbox for images and videos; unmaintained
simplemodal Modal dialogues in the back end; unmaintained but stable
swipe Used for the content element slider; unmaintained but stable
tablesort MooTools table sorter
tablesorter jQuery table sorter

REMOVE

Component Evaluation
compass SASS compass integration; highly outdated
html5shiv HTML5 elements shiv; no longer required
mediaelement HTML5 audio/video player; no longer required
respimage Responsive image shiv; no longer required

@leofeyer leofeyer added the feature label Feb 15, 2019

@leofeyer leofeyer added this to the 4.8.0 milestone Feb 15, 2019

@leofeyer leofeyer self-assigned this May 10, 2019

leofeyer added a commit that referenced this issue May 10, 2019
leofeyer added a commit that referenced this issue May 10, 2019
leofeyer added a commit that referenced this issue May 10, 2019
leofeyer added a commit that referenced this issue May 10, 2019
@andyKempf

This comment has been minimized.

Copy link

commented May 11, 2019

Hi leofeyer,
first of all many thanks for this great CMS!

My suggestion would be to implement all components in the frontend (like accordion or colorbox) with Vanilla JS to resolve the dependency on jQuery. More and more apps and websites do without jQuery to save resources and achieve more pagespeed. (Github also does without jQuery in the meantime)

Of course, it would still be possible to include jQuery for third-party plugins anyway.

Good accessible vendor plugins are:

Many greetings from Munich!

@leofeyer

This comment has been minimized.

Copy link
Member Author

commented Jul 10, 2019

We are planning to integrate PhotoSwipe in Contao 4.9, because it supports responsive-images.

@leofeyer leofeyer modified the milestones: 4.8, 4.9 Jul 10, 2019

@leofeyer

This comment has been minimized.

Copy link
Member Author

commented Aug 16, 2019

There is also an actively maintained tablesorter fork (see contao-components/tablesorter#1) if we should decide not to replace the two existing table sorters with a vanilla JS solution.

@fkaminski

This comment has been minimized.

Copy link

commented Aug 20, 2019

Is it possible to consider the fade-transition possibilities ( and more ) when replacing the swipe.js component in the future? For example like:
https://github.com/nolimits4web/swiper
http://idangero.us/swiper/demos/

@fritzmg

This comment has been minimized.

Copy link
Collaborator

commented Sep 2, 2019

We are planning to integrate PhotoSwipe in Contao 4.9, because it supports responsive-images.

But that's only for images and does not support any other formats, right? (e.g. HTML via CSS ID, URL or AJAX; Videos, etc.)

@andyKempf

This comment has been minimized.

Copy link

commented Sep 10, 2019

Is it also planned to replace the accordion in the frontend with a vanilla solution? This would then resolve the dependency on jQuery a further step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.