By Private Profile 0ba00c4f on 2017-06-30 10:01 in GSoC 17 JS tests for Joomla 4

Thursday, 29th June 2017 on Glip

Time: 10.00p.m (Colombo Sri Lanka), 6:30 p.m (Munich Germany)

Report: Supun

Previous meeting report

 

List of Attendees Overview

 

Mentor

 

A

Student

 

A

Ruchiranga Wickramsinghe

RW

X

Supun Wanniarachchi

SW

x

Ashan Fernando

AF

X

     

Dimitris Grammatiko

DG

X

     

Yves Hoppe

YH

X

     

Tobias Zulauf

TZ

       

David Neukirchen

DN

       

 

Topics

1. Update on the work done during the previous week

https://github.com/Supun94/gsoc17_js_tests/commits/permissions-vanillajs

 

https://github.com/Supun94/gsoc17_js_tests/commits/treeselectmenu-vanillajs

 

https://github.com/Supun94/gsoc17_js_tests/commits/frontendediting-vanillajs



Blog :

https://docs.google.com/document/d/1PspNNUDti21hXgmRHfAM2gpUHE5qNFOGwkzHPfvJNGc/edit?usp=sharing

 

Discussed about challenging areas mentors proposed some solutions. Dimitris recommended to use the Joomla object and define the function in there (eg: Joomla.mediaField ) and also joomla has a native method similar to $.extend() in media/system/js/core.js

 

Supun asked what’s the use of 'use strict'  https://github.com/Supun94/gsoc17_js_tests/blob/media-infobar-nmm/media/system/js/fields/fielduser.js#L10 and more discussed about strict mode https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode  ,  

 

2. Blog post improvements

Ruchiranga shared his last year blog (https://magazine.joomla.org/issues/issue-june-2016/item/3052-just-married-joomla-and-jasmine ) post and suggested to add more images and try to make the blog more interesting.

 

3. Other important things

Dimitris mentioned Joomla 4 wants to move the UI elements to web components, thus we started this: https://joomla-projects.github.io/custom-elements . Once all the other tasks are completed we have to review the tests there as well https://github.com/joomla-projects/custom-elements/blob/master/test/alert-test.html . It’s a vue app and need to review tests and added it in future task list https://github.com/joomla-projects/gsoc17_js_tests/issues/22 .

 

4. Tasks for next week


1. VanillaJS conversion :
treeselectmenu + tabstate(with new changes) + frontendediting + permission ->> Need to tests and do the changes.

mediafield , fielduser, subform Vanilla js ->> Have some remainig works and will complete it during next week

2. Already added few tests for media-infobar and will finish it
3. Complete article draft according to suggestions

4. Look into Dimitris PRs and use them as starting point for your work as applicable (test PRs, improve them, write relevant tests etc)

5. Lookinto the PR https://github.com/joomla-projects/gsoc16_js-unit-tests/pull/43 , integrate those tests and get it working