Blogs from WikiToLearn

Bells and whistles from the WikiToLearn Community

  • WikiToLearn.org
  • WikiToLearn Stats
  • Community Portal
  • Join us!

What’s next for WikiToLearn?

13 August 2018 by dcarrara Leave a Comment

Google Summer of Code is finishing and many things have been done on WikiToLearn since previous post. A little recap is needed.

Talking with mentors has been crucial because they told me to focus on finishing CRUD interaction with API backend instead of working on “history mode” viewer.

On the CRUD part, users now have full control of courses and chapters, they can:

  • Edit courses title
  • Add new empty chapters to a course
  • Reorder course chapters
  • Edit chapters title
  • Add new empty page to a chapter
  • Reorder chapters pages
  • [WIP] Write content of a page

Chapter editor have the same UI of course’s one because you can do similar actions in both of them. Here you can see a real web app screenshot of it

Chapter editor user interface

Now there is some important work to do: let users write organized content in a useful and easy manner.
They need an editor that lets them insert:

  • Math formulas (with real-time compiling and rendering)
  • Theorems and demonstrations
  • Images

For these tasks we make use of CKEditor (now at the 5th version, compatible with our build system), we have to create/use existing plugins to let users write beautiful content ready to be read.

The difficult part is that this information needs to be structured to be easily saved and reused. I read most of CKEditor docs and I integrated it in our webapp, I prepared a local repo for it because we need to plugin some custom modules for make it working with math, images and with our data structure and we have to lock-down some features we don’t use. It is a bit difficult to know which part has to be touched in order to make it working but I am on the way because I understood CKEditor fundamentals by reading the docs.

The work on WikiToLearn webapp will continue even after the end of GSoC, I’ll let you know how it goes.

Filed Under: Senza categoria

WikiToLearn web app course editor almost done

10 July 2018 by dcarrara Leave a Comment

Hi, it’s a bit of time that I didn’t write a blog post and many things on WikiToLearn ecosystem happened. Course editor mode is almost finished: now you can add, remove and edit chapter on a course, with new revamped Dialog and Modal components for confirming and editing views. You can see it below in action.

https://blogs.wikitolearn.org/wp-content/uploads/2018/07/Screencast-from-10-07-18-101633.webm

These works needed an update on the API backend and some discussion with mentors so they took some time to implement. (because you know, _etags…)
I introduced a feature not present on previous Modal and Dialog compoents that dismiss them on clicking outside their view. This is important because Modals which haven’t “confirm” or “dismiss” buttons couldn’t be closed before.

Another important work has been done on making typography fluid. When resizing the window the typography should change little by little and media queries aren’t enough. This has been done using viewport units, so font size change smoothly (check https://www.youtube.com/watch?v=Wb5xDcUNq48&t=2s for more information).

Now WTLIcons are clickable, more styles have been fixed and PWA banner is displaying again!

Now we can work on page editor and course history viewer!

Filed Under: Senza categoria

GSoC 2018: First period summary

14 June 2018 by dcarrara Leave a Comment

Hi everybody, it has been a month since I started working on WikiToLearn PWA for Google Summer of Code program and many things happened!
WTL frontend needed some improvements in terms of usability and functionalities. Course needed a way to update their metadata: title and chapters order for example
So I implemented a work-in-progress EDIT MODE, as you can see below. You can drag chapters, insert new ones and/or modify course title.

Now that editing structures works, I started to write some unit and integration tests. I had to change the current setup to make it working: PhantomJS is no longer maintained so I replaced it with Chrome Headless for now.
New components have been added: Snackbar for displaying messages, Error component has been rewiewed and it is available globally by setting the “error” variable from any component.

https://blogs.wikitolearn.org/wp-content/uploads/2018/06/Screencast-from-14-06-2018-121312.webm

One problem regarding OAuth2 authentication was that the token was expiring without being refreshed automatically. Now the PWA can detect if a token is expiring in little time (thanks to @crisbal and its vue-keycloak package) and refresh it.
As of now, it is a very great experience, i learned a lot using VueJS, mentors helped me a lot by keeping me focused on what needs to be done now, and what can be delayed after. Thanks a lot all.

Filed Under: Senza categoria

Summary of my first two weeks at GSoC

27 May 2018 by dcarrara Leave a Comment

Hi everybody, first two weeks are gone so I am going to do a little summary of what I did and what’s next!
WikiToLearn frontend needed a easily way to navigate between courses, so I coded a little pagination component that make transition between pages more user-friendly. This component can be reused in other scenaries too because it is flexible.


Frontend needed a way to know if there are pending network requests so I introduced a little animation when requests spawn, hiding it when they finish.

https://blogs.wikitolearn.org/wp-content/uploads/2018/05/Screencast-from-14-06-2018-114622.webm

Migration to webpack 4 has been done with success, build time is decreased by 30-40%, and bundle size is lower too! From 472kB to 325kB!

Initial work to include WorkBox, a JS library to handle service workers, has been done by replacing old sw-precache plugin.
And what’s about our user’s data? I made a standalone privacy policy page to show where your data goes and how they are used in our application.

And so what’s next?
We need to focus more on usability and make courses and chapters’ structure editable. Then we can set up all for unit and integration tests. We can update some dependencies’ configuration too to cut off a few kB of resources and seconds of building time.

Filed Under: Senza categoria

WikiToLearn GSoC goals and expectations

9 May 2018 by dcarrara Leave a Comment

Hi everyone, I’m Demetrio, a student of University of Milano-Bicocca, who has been contributing to WikiToLearn since 2017. I found this community very helpful and friendly, they have worked immediately to make me feel important by giving me resources and primary tasks to do. They included me in their official meetings so I felt motivated: this has been the main reason I am still happy to contribute to this great project.

I have been chosen as a GSoC student to work full-time on WikiToLearn web app. The main topics of this job experience can be summarized as “making web app production-ready”. To do so, I have written a proposal explaining what I am going to do next. First, I am going to make little changes to the views so we have functional webapp in little time. Then, I can start the migration to WebPack 4, contribute to the docs, write tests and think about offline experience. My main expectations from these great communities (WikiToLearn and KDE) are: friendly helps and useful feedbacks on what I am going to do. I am hopeful that this will be a great job experience for my personal and professional growth.

Filed Under: WikiToLearn Community

Recent Posts

  • What’s next for WikiToLearn?
  • WikiToLearn web app course editor almost done
  • GSoC 2018: First period summary
  • Summary of my first two weeks at GSoC
  • WikiToLearn GSoC goals and expectations

Tags

#Akademy #FSFE #QtCon #QtCon2016 #wtlatAkademy akademy2016 christmass foss Importation_Working_Group Interview kde knowledge openbooks Reports TeXLa WikiMania 2016 wikitolearn WikiToLearn1.0 WikiToLearn IndiaConf wtl

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Copyright © 2021 · Enterprise Pro Theme on Genesis Framework · WordPress · Log in

Utilizziamo i cookie per essere sicuri che tu possa avere la migliore esperienza sul nostro sito. Se continui ad utilizzare questo sito noi assumiamo che tu ne sia felice.Ok