rubyforgood / pet-rescue

Pet Rescue is an application making it easy to link adopters/fosters with pets. We work with grassroots pet rescue organizations to understand how we can make the most impact.
MIT License
57 stars 95 forks source link

Add ViewComponents and replace nice_partials implementation #832

Closed mononoken closed 1 month ago

mononoken commented 2 months ago

Description

We have discussed how nice_partials is niche and ViewComponents is fairly regarded and used. Plus there are nice benefits to ViewComponents such as it allowing us to test our view models in isolation.

This issue aims to get our nice_partials implementation replaced with ViewComponents and set up the infrastructure to use ViewComponents for the rest of the app.

Acceptance Criteria