sublinks / sublinks-frontend

MIT License
17 stars 5 forks source link

Connect post creation page to API #148

Closed kgilles closed 3 months ago

kgilles commented 4 months ago

Noticeable Changes

Note that it's currently not possible to create a post without a URL because of https://github.com/sublinks/sublinks-api/issues/385. Plus, image uploads are being giving an incorrect URL so they won't show up properly until https://github.com/sublinks/sublinks-api/issues/357 is resolved.


Screenshot 2024-05-06 at 12 46 12 PM Screenshot 2024-05-06 at 12 46 00 PM

Pdzly commented 4 months ago

I think there should be an option to have it controlled with url query params. like ?community=someid&title=MyNeWTitle..... But this can be done after this.

Pdzly commented 4 months ago

https://github.com/sublinks/sublinks-api/pull/386

This PR should fix the first issue you mentioned.

kgilles commented 4 months ago

I think there should be an option to have it controlled with url query params. like ?community=someid&title=MyNeWTitle..... But this can be done after this.

@Pdzly Not a bad idea. Have you seen this implemented in any Lemmy instances/themes?

I've created an idea issue for this. And semi-related I also created a follow-up to prefill the community selector when navigating from a community page: https://github.com/sublinks/sublinks-frontend/issues/150