You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skeleton modes are used for the initial loading of the entire page. So when I am directed to a page, the skeleton mode of the components is shown until the components themselves or the entire page is loaded.
Loading mode, on the other hand, is used when the components themselves no longer need to be loaded, but the data is processed or validated via a button click, for example (classic example “processing”).
To make this easier for the user and reflect this global/page state, we should enable the user to trigger the skeleton mode via an injection. the injection is already implemented. OnyxPageLyout and OnyxForm are providing this property. The issue arises when we have OnyxForm nested inside an OnyxPageLayout. For example if we set the skeleton prop to true on OnyxPageLayout layer, it doesn't reach the components inside the OnyxForm.
Acceptance criteria
components inside an OnyxForm can inject (have access to) the skeleton prop on OnyxPageLayout layer, only if it's not set on OnyxForm layer.
skeleton prop on OnyxForm layer tакеs advantage before the skeleton prop on OnyxPageLayout layer.
A description for the prop is added and shown in stroybook
Why?
From @jannick-ux:
To make this easier for the user and reflect this global/page state, we should enable the user to trigger the skeleton mode via an injection. the injection is already implemented. OnyxPageLyout and OnyxForm are providing this property. The issue arises when we have OnyxForm nested inside an OnyxPageLayout. For example if we set the skeleton prop to true on OnyxPageLayout layer, it doesn't reach the components inside the OnyxForm.
Acceptance criteria
Implementation details
see
Definition of Done
Approval
The text was updated successfully, but these errors were encountered: