Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create skeleton() modifier #589

Open
PavelHolec opened this issue Jun 9, 2023 · 0 comments
Open

Create skeleton() modifier #589

PavelHolec opened this issue Jun 9, 2023 · 0 comments
Assignees
Labels
feature Orbit component related changes

Comments

@PavelHolec
Copy link
Collaborator

PavelHolec commented Jun 9, 2023

The modifier should behave like the native redacted() modifier (iOS14+ only, otherwise we would simply use that one). Its purpose is to redact/skeletonize the content inside components and replace it with appropriate skeleton shapes (recursively, for all subcomponents).

If possible, the iOS14+ redactionReasons environment should be used and supported, so that the skeleton() acts as a iOS13 wrapper.

The easiler alternative is to purely use the redacted() modifier and support this enhancement only for iOS14+.

Atomic components would act upon this environment value and use appropriate skeleton overlay.

Intermediate components could override this and create a specific skeleton overlay for customized parts.

This makes it easier to "skeletonize" the whole ListChoice etc. based on actual (mocked) data.

@PavelHolec PavelHolec added the enhancement New feature or request label Jun 9, 2023
@PavelHolec PavelHolec added feature Orbit component related changes and removed enhancement New feature or request labels Mar 27, 2024
@sjavora sjavora self-assigned this Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Orbit component related changes
Projects
None yet
Development

No branches or pull requests

2 participants