-
Notifications
You must be signed in to change notification settings - Fork 123
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
Implement a reusable empty state partial for all places that need them #1255
Conversation
@jp524 cool I will take a look tomorrow! FYI - some conflicts now we merged some stuff :) |
app/views/organizations/staff/adoption_application_reviews/_search_results.html.erb
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great @jp524
Just one comment, and a merge conflict (we have been merging a lot recently)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome @jp524 !
Thank you
🔗 Issue
Resolves #1224.
✍️ Description
Modified all relevant views to use the new
empty_state
partial. I liked the look of the existing card in/adoptable_pets
so I decided to reuse that in the partial.📷 Screenshots/Demos
Here's a sample of views using the new partial:
staff > pet > photos
staff > foster pets
adopter fosterer > adopted pets
adoptable pets