Skip to content

feat: rebase client onto lemmy v4 API, and add compatibility adapters - #729

Draft
Xyphyn wants to merge 35 commits into
mainfrom
lemmy-v4
Draft

feat: rebase client onto lemmy v4 API, and add compatibility adapters#729
Xyphyn wants to merge 35 commits into
mainfrom
lemmy-v4

Conversation

@Xyphyn

@Xyphyn Xyphyn commented Jun 4, 2026

Copy link
Copy Markdown
Owner

I've been rewriting many parts of the application to be much more efficient (notice how there's twice as many lines removed as added)

  • Stuff like comments, posts, etc are now managed with Model classes like PostModel, CommentModel, etc.
  • This fixes quite a few reactivity issues with sveltekit load functions as it manages $state itself.
  • although I mostly did it because Lemmy v4 has a new post_actions property that is nullable for some reason
  • either way this is an improvement
  • Using $derived MUCH more often too

Closes #728

@Xyphyn
Xyphyn marked this pull request as draft June 4, 2026 19:25
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 8, 2026

Copy link
Copy Markdown

Deploying photon with  Cloudflare Pages  Cloudflare Pages

Latest commit: 22cf44f
Status:🚫  Build failed.

View logs

@Xyphyn
Xyphyn force-pushed the lemmy-v4 branch 2 times, most recently from 6be2ca7 to 763b6d1 Compare July 10, 2026 21:54
@Xyphyn
Xyphyn force-pushed the main branch 3 times, most recently from 4fad360 to 89d5f98 Compare July 10, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to support API v4

1 participant