I have a complex action where i want to pause render. But I want the user to actually see a loader or similar. If i put pause render on the action it will be imidiate and the loader will not be shown as pause render is already invoked. As a fix I can in another action first show the loader, then call the initial action and then hide the loader. The issuse is that this pattern would in general where needed double the amount of actions needed and makes it much less structured.
Is there anything I should do within the capabilities already in the platform to achieve this?
Have you concidered for instance having a global loader built in as visual dialog with spinner that an action can invoke with its setting:
If pause render is chosen; display an optional parameter called showPauseRenderSpinner and in addition spesify to use a standard or spesific user feedback message (title and body). The loader it self should be global (either just 1 or many) and configured on a environment or app level.
Hi!
Thanks for your feedback.
When your action is running, is the loader spanning the whole view? In a normal use case, when a loader e.g. covers the whole container (loader being enabled in the beginning of the action) - pause render does not matter since the affected UI is behind that loader. However, if the loader is on e.g. a button below a large table, the issue might be relevant (but as you mention, may be solved by enabling the loader from another action).
Let me know which of the two above is relevant to your use case. I would suggest a more dynamic way of setting “Pause render” (e.g. the possibility to update this setting on the action itself inside the action).
The loader is typically set on the container.
Or that the action should as the very first step invoke a show dialog that is a loader dialog with some tect and a GIF.
In both cases it seems that the pause render works to well and thus kicks in to early.
Having double actions is not a good solution so if it could be provided a pause rende loader and loader text or similar I believe that would be of good value. Or a more dynamic way of setting pause render