Profile photo preview on the dashboard menu is not showing up on certain webpages.
waridrox
Chrome v89
Sure @Elukoye 馃槃, go for it! 馃殌
Ok 馃憣 am on it
@waridrox ,just to be clear about the issue ,what I noticed is some header images on some posts aren't loading,is that what you meant by profile preview not showing up on certain web pages ?
I am referring to the profile photo image next to the dashboard icon.
Oh yea , I have seen it , the video wasn't loading previously :). Thanks for the clarification.
Hi @waridrox, @jywarren, @RuthNjeri,
I need a little help here, I was wondering if the navbar component persists through the application.html.erb file. I am trying to locate the profile image in the navbar. And understand the project better
Hey @Elukoye ,
This might be the component you want to dig in :)
https://github.com/publiclab/plots2/blob/bd0bc112112a1d92f4181fe77deeca7cfdb8d00d/app/views/layouts/_header.html.erb#L112
Wow i also noticed that missing icon. Using the Chrome developer tools we should be able to see if there is a request failing? Thanks for catching this and offering to work on it, both of you!
So strange -- yeah you can right click it too to open the image itself:
Actually on waiting a moment, mine went from grey to having a picture again. @waridrox are you sure it persists and is not just a very slow loading image?
Thank you!!!
@daemon1024 thanks ,will look into it .馃槂
@jywarren I agree with you ,I did notice that the image loads after some time.Could it be a lag while the page is loading?
Hi all, I believe the profile icon loading problem is still persistent even after the webpage fully loads.
On further observation, the profile image after clicking on Share your work button
is not requested to begin with, so I think it defaults to the grey img:
On the other hand, the img that gets loaded on the dashboard is requested from the stored google storage:
thanks @waridrox for the analysis, will sure help 馃槃
Most helpful comment
Hey @Elukoye ,
This might be the component you want to dig in :)
https://github.com/publiclab/plots2/blob/bd0bc112112a1d92f4181fe77deeca7cfdb8d00d/app/views/layouts/_header.html.erb#L112