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

Allow the user to design empty states #17

Open
davidjb99 opened this issue Mar 22, 2021 · 0 comments
Open

Allow the user to design empty states #17

davidjb99 opened this issue Mar 22, 2021 · 0 comments
Labels
Model-editor Issues related to the funk Model editor

Comments

@davidjb99
Copy link
Contributor

Sometimes data sources return empty list. For example, when no items were found in a list. This is a common edge case which designers want to cover. See Refactoring UI p. 234-236

Sometimes surrounding UI is dependent on the empty state. In elm we do things like.

case results of
   [ ] -> "No results"
   _ -> viewResults results
@davidjb99 davidjb99 added the Model-editor Issues related to the funk Model editor label Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Model-editor Issues related to the funk Model editor
Development

No branches or pull requests

1 participant