Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Index liked status in SQLite #1111

Open
bfollington opened this issue Feb 12, 2024 · 0 comments
Open

Index liked status in SQLite #1111

bfollington opened this issue Feb 12, 2024 · 0 comments
Labels
Enhancement New feature or request Performance

Comments

@bfollington
Copy link
Collaborator

As a follow on from #1106 we should incorporate the liked status of notes into the SQLite index. If we can introduce a liked column for all notes then we can efficiently surface liked status in list views.

@bfollington bfollington added Enhancement New feature or request Performance labels Feb 12, 2024
bfollington added a commit that referenced this issue Feb 14, 2024
- Likes are stored in `_likes_.json`
- Managed by `UserLikesService`
- Likes are listed on your profile publicly in a new "Likes" tab
- Notes can be liked directly from the Deck view
- Notes can be liked from the meta sheet in the editor/viewer
- OR, alternatively, from the button in the bottom right mirroring the
Deck view cards

There is obvious room for improvement by incorporating likes into the DB
index (#1111)
and, as an extension, building content discovery (via likes-of-friends).
There may also be performance issues associated with loading previews
for a large number of likes.

We have also discussed changing the way we handle hidden files
(#1112), which
affects this feature.

# Questions
- Do we want to display like status in list views?
- Should you be able to like notes from list views?

# Demo


https://github.com/subconsciousnetwork/subconscious/assets/5009316/fe56f45f-d609-4465-b6ca-21732d764b85
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancement New feature or request Performance
Projects
None yet
Development

No branches or pull requests

1 participant