swarmcity / SwarmCityDapp

Swarm City dApp FrontEnd
MIT License
28 stars 10 forks source link

Ensure avatars are fetched and stored consistently #757

Closed bkawk closed 5 years ago

bkawk commented 6 years ago

Location

Throughout the application

Expected behavior

All avatars are now being fetched from IPFS, any inconsistencies from this need to removed

Actual behavior

The local storage is primed with a default avatar from file here

1) Default https://github.com/swarmcity/SwarmCitySite/blob/master/index.html#L39 and somewhere we are also setting the users avatar to redux.

2) Delete user and Avatar 3) Add and Save avatars 4) Get and store other peoples avatars

This work relies on the IPFS resolver work being completed

Steps to reproduce the problem

look through the code / inspect redux to see that the inconsistencies in where we fetch and store the avatars.

Operating system / hardware

MacOS/ All

Time Estimate

Once the IPFS resolver is complete, 2 hours for each instance so 8 in total