elaastic / elaastic-questions-server

Server component of the elaastic-questions application
GNU Affero General Public License v3.0
5 stars 2 forks source link

Javascript audit #273

Closed jtranier closed 6 days ago

jtranier commented 2 months ago

Description

Inventory

Application source code

Dedicated files

onboarding.js

Set of functions providing onboarding facilities.

result-graph.js

Set of functions to render graphs (confidence graph & evaluation graph).

elaastic/VueCkEditorComponent

Vue2 component wrapping CKEditor.

elaastic/util.js

Provides isVisible and ensureIsVisible utilitarian functions.

elaastic/auto-reload.js

Automatic page reload on websocket message reception.

elaastic/draxo/draxo-fn.js

Ad-hoc function using jQuery to interact with the DOM to implement DRAXO evaluations.

elaastic/draxo/draxo-form-app.js

Vue2 app implementing the DRAXO form.

Inline Javascript

SemanticUI component activation

3-columns layout

Help menu

Confirmation modal (jQuery)

Revision mode management

Using jQuery

Modal learner access popup

Modal LTI access

Scroll to hash & selected sequence management

Handle nb of registered users

Analytics

Assignment overview

Inline javascript to enhance the selected sequence & ensure it is visible.

Dashboard

Chat GPT

Config sequence

Teacher recommendation

Response form

Evaluation phase

Likert evaluation

Confidence degree selection

Response form

Share access modal

Assignment management

Question management

Import statement

Fake explanations management

Statement editor

Subscription form

Libraries

Vega

Data visualisation system.

Underscore

Library facilitating array & object manipulations and support functional programming.

jQuery

It probably won't be needed anymore when the composants will be developed under VueJS.

intro.js

For onboarding...

js.cookie.js

Cookies management.

bootstrap-modal-js

MathJax

For maths.

VueJS

SemanticUI js components

Support current UI.

jtranier commented 6 days ago

I close this issue as the inventory has been done.

We've started the "Vue3 components" migration by the likert scale component, used within the "confronting viewpoints" interaction. He various interactions are good candidates to be migrated to simplify their adaptation. The steps associated to the teacher commands could be a good candidate as well.

More generally, it is probably interesting to migrate any for the identified javascripts bunch of code as soon as we need to modify them.