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
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
[x] Remove nice_partials gem
[x] Add ViewComponents gem
[x] Replace nice_partials templates in views/components/ with components
[x] Replace shared partials in views/shared/ with components where applicable
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
views/components/
with componentsviews/shared/
with components where applicable