an appview-less Bluesky client using Constellation and PDS Queries reddwarf.app
frontend spa bluesky reddwarf microcosm

Adds basic like state tracking using Atom Util #1

merged
opened by minito.dev targeting main

Stores liked post URIs in the atom store, modifying the Atom store in the util to store both the Post Uri and the LikeUri, to allow for storing what posts were liked and allowing for deleting the like record.

Also modified the hasLiked boolean to be true if the post has a like string, or if the post exists in the Liked Posts Cache.

0
by minito.dev 2 comments

hey i just noticed that the PR description mentions modifying the atom, but the diff only includes changes to the UniversalPostRenderer.tsx file.

when i tried applying the patch locally i ran into an error Argument of type 'boolean' is not assignable to parameter of type 'SetStateAction<string | undefined>'.ts(2345)

it seems like the atom changes might not have been included in the diff

Submitted a new pull that includes the atom change.

Sorry about that! I made a patch file to create thIs Pr and only grabbed the latest commit in the branch that I made off of main.

sign up or login to add to the discussion
1
by minito.dev 1 comment
pull request successfully merged
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:qix7sitiwccjnuz6u2ol667h/sh.tangled.repo.pull/3m2osdwfvwv22