◄ ► | Edit | Home | Admin | en de fr et | Sign in

#2770 (Split up up lino_XXX.json into smaller chunks)

by tonis · in Developers · assigned to tonis

Summary

Currently the size of the lino900.js file is ~6.7mb, for both anon and super-admin.


Should be broken into:

1) Main app data: Menu, choice lists, action list.

2) Actor layout data: grid / detail layouts / field information.


Main data can still be called SiteData, and should be separate for each user level and language.

Actor data the same, all grid / details are rendered via an Actor Component, so onComponentMount they can check if they have the correct data for the current user / language.

This will add another level of loading screens though... Unsure what a beautiful way of loading it might be.

Perhaps something YouTube like where we have a progress / spinner bar just under the top-bar to denote loading.

Children

Comments