alexpunct / chatgpt-journal

Your journal/diary + ChatGPT = Chat Journal
https://www.chatjournal.ai
MIT License
40 stars 11 forks source link

User profile picture placeholder issue #17

Closed alexpunct closed 1 year ago

alexpunct commented 1 year ago

Currently if the user doesn't have an avatar set, in the header there's a broken image being displayed. We should display a generic image instead.

kaushikc44 commented 1 year ago

Can you please specify the file will try to do it.

alexpunct commented 1 year ago

Can you please specify the file will try to do it.

Sure, you can find it in src/lib_skeleton/AppBar/AppBar.svelte

kaushikc44 commented 1 year ago

Hi I have couple of questions regarding the Superbase as its mentioned I have to use that , and I haven't previously worked with it so . I have the URL and the secret key, where exactly am I suppose to put those ? Sorry I am beginner about it

alexpunct commented 1 year ago

Hi I have couple of questions regarding the Superbase as its mentioned I have to use that , and I haven't previously worked with it so . I have the URL and the secret key, where exactly am I suppose to put those ? Sorry I am beginner about it

Please read the Supabase documentation. They also have a svelte starter kit where they explain how to set it up. Maybe do that tutorial first. Then if you have supabase cli installed you can run the migrations and run the app.

If you get it working and feel you can outline the steps to set it up better, please contribute with a Pull Request for the documentation part.

kaushikc44 commented 1 year ago

I set up exactly how the doc mentioned, yet I am getting an error.

alexpunct commented 1 year ago

I set up exactly how the doc mentioned, yet I am getting an error.

Did you setup this project or the example in the documentation? You also need to run the migrations in the supabase folder on this repo.

kaushikc44 commented 1 year ago

Let me try I will try to figure this out using my application and then probably try sorry I haven't touched svelt also haven't done any open source contribution.

alexpunct commented 1 year ago

@kaushikc44 I'm picking this one up as it needs to be fixed asap