Closed kasugaijin closed 9 months ago
Hi, can I work on this please?
@queen-x-vee Yes sounds good. I updated the ticket as before we add avatars anywhere, we need a foundational piece of work to create a reusable avatar partial. So let me know if you are happy to implement this.
Sure! I am.
@queen-x-vee all yours!
How is this going @queen-x-vee ?
@queen-x-vee How's this going? Let me know if you don't want it and I will reassign!
Ok this issue is now up for grabs! FYI @queen-x-vee
@kasugaijin, I can take this on.
Ok all yours @phonghpham
When a user visits/staff
they see an avatar that is the user's uploaded image or name initials if no image has been uploaded.See this PR for implementation: https://github.com/rubyforgood/pet-rescue/pull/326This PR: https://github.com/rubyforgood/pet-rescue/pull/326 implemented a reusable view for avatars but it used view component (which we decided is not a library we want to incorporate at this time) so was reverted. We need the same outcome but using nice_partials instead.
Acceptance criteria