andobando

joined 1 year ago
[–] andobando@lemmy.world 1 points 1 year ago (1 children)

What was difficult about ansible? The 4 step instructions worked perfectly for me.

[–] andobando@lemmy.world 2 points 1 year ago

Ah, my ide auto pulls in imports sometimes. Thank you

[–] andobando@lemmy.world 1 points 1 year ago

Ah, my ide auto pulls in imports sometimes. Thank you

[–] andobando@lemmy.world 0 points 1 year ago (2 children)

Can you move the server name to an .env variable so I don’t have to run a sed? sharing my sed:

Yes, definitely will do.

On desktop browser, I’m getting a ‘500 internal error’ on the /r/post/xxx route, but not sure why. The console isn’t showing anything. The page.server.js seems to get the JSON fine from the API, but the .svelte file in that route is failing.

I think I know this issue. When clicking a post from the front page it stores the post so upon landing on /post/xxx it doesn't have to refetch that data. It fetches the comments on /post/xxx but not the post itself. Just need to fetch the post itself if someone lands directly on that page.

[–] andobando@lemmy.world 2 points 1 year ago (3 children)

Can you move the server name to an .env variable so I don’t have to run a sed? sharing my sed:

Yes, definitely will do.

On desktop browser, I’m getting a ‘500 internal error’ on the /r/post/xxx route, but not sure why. The console isn’t showing anything. The page.server.js seems to get the JSON fine from the API, but the .svelte file in that route is failing.

I think I know this issue. When clicking a post from the front page it stores the post so upon landing on /post/xxx it doesn't have to refetch that data. It fetches the comments on /post/xxx but not the post itself. Just need to fetch the post itself if someone lands directly on that page.

[–] andobando@lemmy.world 1 points 1 year ago

No need to be pro. Can always make a pull request and get feedback, good way to learn so if you're feeling up for it at all give it a shot!

 

There's a ton of issues with the UI I want to address and there's a number of things I want to experiment such as how communities are subscribed to, so I started writing a new UI in SvelteKit. I also have Capacitor setup which would allow this to triple as a native iOS and Android application.

Would love some help if anyone is interested.

Github https://github.com/ando818/lemmy-ui-svelte

Preview so far though much yet still has to be done