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

Add Skeleton Loading View #52

Open
1 task done
NikolaiMadlener opened this issue Jan 7, 2025 · 1 comment · May be fixed by #54
Open
1 task done

Add Skeleton Loading View #52

NikolaiMadlener opened this issue Jan 7, 2025 · 1 comment · May be fixed by #54
Assignees
Labels
enhancement New feature or request

Comments

@NikolaiMadlener
Copy link

NikolaiMadlener commented Jan 7, 2025

Problem

SpeziViews lacks a skeleton loading component, leaving developers to handle loading states manually or with less polished solutions.

Solution

Add a reusable SwiftUI skeleton loading view to SpeziViews. It should support customizable layouts by leveraging a ViewBuilder closure to define custom placeholder shapes. Additionally, it should come with a shimmer effect/animation to enhance the loading experience.

Additional context

Proposal of what it could look like:
skeleton

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@NikolaiMadlener NikolaiMadlener added the enhancement New feature or request label Jan 7, 2025
@PSchmiedmayer
Copy link
Member

Nice, I like the idea. Could be combined with ViewState in a nice way that it provides some nice components for a .processing state.

@NikolaiMadlener NikolaiMadlener self-assigned this Jan 10, 2025
@NikolaiMadlener NikolaiMadlener linked a pull request Jan 13, 2025 that will close this issue
1 task
@NikolaiMadlener NikolaiMadlener linked a pull request Jan 13, 2025 that will close this issue
1 task
@PSchmiedmayer PSchmiedmayer moved this from Backlog to In Progress in Project Planning Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants