-
Notifications
You must be signed in to change notification settings - Fork 34
Loading of empty delivery Days Window take long #847
Comments
It is pure backend time (12.30s) which frontend is waiting to get response. Only thing frontend can do is to add some spinner, maybe with "Loading data..." text, into container of GridView. I'll need more feedback from @damianprzygodzki how can we achieve this and how to make it in generic way. |
@cadavre True, that would be the best. Remark that on first time when i am loading it, it works exactly how it's needed. Layout is displayed ASAP. And when data is available, the rows are displayed. |
@cadavre I think that the best thing to do for gridview without data is to add some initial text in place of "There are no detail rows" something like "Loading the data...". @teosarca The case is that for performance issue we allow to show only gridview, when and data and layout are ready to do not re-render whole view few times due to component dependencies in data (QuickActions, Table (size, orderBy, queryHitLimit etc)). We can remove that, but it is change in assumption, may cause lot of problems, so refactor and performance research needed. We should postpone that (move to the farthest milestone we can). |
IMHO, the frontend shall be as fluent as possible. More, atm, the behaviour is not consistent. Case 1: Here is how it looks when the view is loaded first time, i.e. you can see it by clicking on https://w101.metasfresh.com:8443/window/540110 Case 2: Here is how it looks when i am refreshing the page |
Fluent with bad performance is impossible :)
We do not optimize for that. I've said already about the reason:
And in reference to other screeshots. I am aware about all that things. And i can just copy and paste my last message.
|
ok, let's talk when u have time because to be honest I don't understand |
We found out that this is caused by already generated On call we made assumption to make "Minimum Viable Solution" to solve this for now:
With no.1 we're waiting for @damianprzygodzki to make a live preview or screen movie or GIF showing how it works and judge if it's flickering or not. Reminder: this is not high priority. |
btw, i am taking out status:in-discussion because it's no longer in discussion. |
[#878](metasfresh/metasfresh-webui-frontend-legacy#878) Error firework when logout [#880](metasfresh/metasfresh-webui-frontend-legacy#880) Change Icon for URL Link [#881](metasfresh/metasfresh-webui-frontend-legacy#881) Error when pressing Action Menu in Collapsible Grid Window [#883](metasfresh/metasfresh-webui-frontend-legacy#883) hu editor doesn't update [#451](metasfresh/metasfresh-webui-api-legacy#451) Provide view sticky filters to be displayed by frontend [#456](metasfresh/metasfresh-webui-api-legacy#456) Outbound Mail endpoint prototype [#1807](#1807) Fix "Create primary key" process [#879](metasfresh/metasfresh-webui-frontend-legacy#879) Avatar Picture not deleted from Header when cleared in Profile Settings [#1802](#1802) picking terminal is not opening [#436](metasfresh/metasfresh-webui-api-legacy#436) Manufacturing Order Issue not possible after barcode filtering [#453](metasfresh/metasfresh-webui-api-legacy#453) Password process parameters shall allow showing the password [#849](metasfresh/metasfresh-webui-frontend-legacy#849) manufacturing order doesn't open [#437](metasfresh/metasfresh-webui-api-legacy#437) Load/ Reload of delivery Days window takes too long. [#446](metasfresh/metasfresh-webui-api-legacy#446) Cannot open the menu when logged in as System Administrator [#433](metasfresh/metasfresh-webui-api-legacy#433) Show Manufacturing Order number in window header [#1793](#1793) fix jasper document for vendor returns [#848](metasfresh/metasfresh-webui-frontend-legacy#848) notifications don't update [#400](metasfresh/metasfresh-webui-api-legacy#400) minimum password length error message not displayed [#444](metasfresh/metasfresh-webui-api-legacy#444) Make Dashboard Translatable [#447](metasfresh/metasfresh-webui-api-legacy#447) Truncate WEBUI_ViewSelection tables on startup [#847](metasfresh/metasfresh-webui-frontend-legacy#847) Loading of empty delivery Days Window take long [#1735](#1735) istransferwhennull not working in webUI but in java client [#1748](#1748) Project Documentation: Screenshots [#795](metasfresh/metasfresh-webui-frontend-legacy#795) On tab stale event, don't refresh tabs which are queryOnLoad but are not the active tab me-45
Results of IT Tested on webui Opening Liefertage (Delivery Days) window (540110) happens immediately => OK |
Type of issue
Feature request
Current behavior
Currently, the first opening and reload after refresh takes very long for window/540110 delivery days. Also when refreshing/ reloading it shows weird behavior.
Expected behavior
Something that is better for the user. Let's discuss ;-)
The text was updated successfully, but these errors were encountered: