-
Notifications
You must be signed in to change notification settings - Fork 35
Don't fetch the side list when it's not needed #110
Comments
@teosarca We have to init here.This is because sideList is just regular gridView, that has to fetch for example layout at the init. Check also that is one and only call for sidelist - to avoid fetching so much data each time you open and close sidelist again. This way of thinking is for dropdowns/lookups okay, whole views not okay. |
@damianprzygodzki yes Damian, but why fetching it when user clicks first time on it. |
Okay, i see likely solution, but still, im not sure that is okay for views. Lazy loading is not always good from UX perspective. If we can do something in background, and forestall user behavior and let him do not wait for something, so lets do that. Seeing everywhere loaders giving for an user feeling of slow app. |
We gonna probably change sidebar behaviour in some close future, as discussed with @metas-mk. We shall postpone this. |
About lazy loading, i've created a new issue to gather ideas: #130 |
[#631](metasfresh/metasfresh-webui-frontend-legacy#631) Minor grid view layout tweaks [#628](https://github.com/metasfresh/metasfresh-webui-frontr /process/start response [#294](metasfresh/metasfresh-webui-api-legacy#294) Refactor /process/start response [#1291](#1291) Manufacturing Order Window adjustments [#620](metasfresh/metasfresh-webui-frontend-legacy#620) When deleting a newly created document, frontend shall not ask the user if he/she wants to leave the page [#619](metasfresh/metasfresh-webui-frontend-legacy#619) Address editor silently ignores changes if the mandatory fields are not filled [#1057](#1057) Role window WebUI [#267](metasfresh/metasfresh-webui-frontend-legacy#267) Sidelist refactor [#886](#886) GrandTotal missing in GridView of Purchase Order [#695](#695) swingUI: provide lib-dirs to access user jars and dlls at runtime [#110](metasfresh/metasfresh-webui-frontend-legacy#110) Don't fetch the side list when it's not needed [#88](metasfresh/metasfresh-webui-frontend-legacy#88) Special Place for Record dependent content [#636](metasfresh/metasfresh-webui-frontend-legacy#636) Sidelist Fontsize too small me-45
IT |
Test case: open a particular sales order
=> the side list is fetched even though is not displayed and it might be never displayed
The text was updated successfully, but these errors were encountered: