giveth-dapp icon indicating copy to clipboard operation
giveth-dapp copied to clipboard

image doesn't load in verification wizard

Open divine-comedian opened this issue 3 years ago • 10 comments

I'm verifying my project on the wizard. I used one of the default giveth.io project photos.

when I arrive at the wizard my image doesn't show up where it normally should, it looks like its broken -

image.png

divine-comedian avatar Sep 25 '21 00:09 divine-comedian

This issue is actually related to giveth.io. If user uses app default SVGs as a project image, a number will be saved in DB except of SVG url. That is weird!

image

RamRamez avatar Sep 25 '21 14:09 RamRamez

I made those images hidden in verification in PR #2547

We should fix this in giveth.io (#261)

RamRamez avatar Sep 25 '21 16:09 RamRamez

I made those images hidden in verification in PR #2547

We should fix this in giveth.io (#261)

@RamRamez I've fixed that in the backend, could you confirm if it is ok?

mohammadranjbarz avatar Sep 27 '21 10:09 mohammadranjbarz

As I talked with @mohammadranjbarz, this issue needs a minor change in backend, so I move it to in progress.

RamRamez avatar Sep 27 '21 14:09 RamRamez

@RamRamez Could you test it again? We merged another PR and I created a verified campaign (with no image in givethio) and it was ok

https://develop.giveth.io/campaign/demo-slug

mohammadranjbarz avatar Sep 28 '21 10:09 mohammadranjbarz

Thanks @mohammadranjbarz. I move this issue to UAT test.

@divine-comedian Can you test it?

RamRamez avatar Sep 28 '21 10:09 RamRamez

testing now on develop.giveth.io

I can see the image is no longer broken but it looks like default image isn't quite right.

This is how my project looks on next.giveth.io

image

and this is the image shows up in the verification wizard -

image

ideally a user who chooses any of these default giveth.io project images would have the same image when they migrate their project to giveth TRACE.

I will note that these default images might change as we redesign our platforms in the future

image

divine-comedian avatar Sep 28 '21 14:09 divine-comedian

testing now on develop.giveth.io

I can see the image is no longer broken but it looks like default image isn't quite right.

This is how my project looks on next.giveth.io

image

and this is the image shows up in the verification wizard -

image

ideally a user who chooses any of these default giveth.io project images would have the same image when they migrate their project to giveth TRACE.

I will note that these default images might change as we redesign our platforms in the future

image

Yeah because the images are numbers in givethio for instance "1", "2" ,... we don't know what is it, so we set our default image for that. ( doesn't matter whats the image in givethio)

Showing exactly that one make our codes a little messy, but if the product need it we can do it ( although I think if a project doesn't have an image in giveth it would not have lots of chances to become verified) @MoeNick what do you think?

mohammadranjbarz avatar Sep 28 '21 14:09 mohammadranjbarz

@divine-comedian Thanks for reporting this.

I have reported this issue in IO #261. We should fix it there. If we fix it there, the default images will be automatically shown here.

RamRamez avatar Sep 28 '21 15:09 RamRamez

@mohammadranjbarz

You raise a really great point. I'm okay with calling the present state "good enough" because you're right, it's very unlikely a project would succeed verification without a unique photo.

divine-comedian avatar Sep 29 '21 13:09 divine-comedian