This bounty is no longer available
Web3 DAO | status-im Logo

Use image server for all kind of images and integrate identity rings

Organization

status-im

Deadline

over 1 year ago

Status

ENDED

600 USD

INSTRUCTIONS

Description

Currently the http server in status-go https://github.com/status-im/status-go/blob/develop/server/server.go is used only for identicon and image messages. We should also use it for profile pictures.

There's a branch out that also handles this case, which includes work from @qfrank: https://github.com/status-im/status-mobile/tree/feature/identity-images-http-server https://github.com/status-im/status-go/tree/feature/13334

This branch has a few changes:

  • Adds an identity ring to the image
  • Adds a signal when the port of the http server changes
  • Serves user profile pictures

Some of the work integrating the branch has already been done here:

The important things to note when finishing integrating the branch:

  • If the port of the server changes, the URL should of the image should be updated and re-fetched
  • Status-go should not serve user images if the user has their settings set to not display profile pictures, only identicons should be server
  • If this setting changes, pictures should be reloaded
  • Dark/light theme should be likely passed as a parameter, so that the identity ring can be correctly set
  • Identity ring should be toggled, as we don't want to show it in the old UI, only on the new UI