15 Commits

Author SHA1 Message Date
Arseniy Klempner
2624dd1e50
feat: add user following feature (#29)
Add ability for users to follow other users and see their posts in a
personalized feed. Following data is stored locally in IndexedDB.

Core (@opchan/core):
- Add Following type and FollowingCache interface
- Add FOLLOWING store to IndexedDB schema (v6)
- Add following CRUD methods to LocalDatabase
- Create FollowingService with follow/unfollow/toggle methods
- Add getFollowingPostsFromCache transformer function
- Export FollowingService from core index

React (@opchan/react):
- Add following state to ContentSlice in opchanStore
- Add following methods to useContent hook:
  - toggleFollow, followUser, unfollowUser
  - isFollowing (sync), getFollowingPosts, clearAllFollowing
- Add comprehensive JSDoc documentation with examples

App:
- Create FollowButton component
- Create FollowingCard and FollowingList components
- Create FollowingPage with Following and Feed tabs
- Add follow/unfollow button to PostCard and PostDetail
- Add FOLLOWING nav link to Header
- Add /following route to App

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 10:02:10 +05:30
Danish Arora
1165cc23c6
chore: zoom in font 2025-11-20 15:41:29 -05:00
Danish Arora
bc3db4382f
chore: add remix banner 2025-11-19 01:37:06 -05:00
Danish Arora
e54c8c12f3
chore: rename 'connect' to 'login' 2025-11-19 00:31:51 -05:00
Danish Arora
d12a76ff99
chore: raw UI 2025-11-17 18:29:28 -05:00
Danish Arora
bf7b3f20a1
feat: add sync status for messages 2025-11-14 14:37:00 -05:00
Danish Arora
78ff8b537b
chore(UI): moar raw 2025-11-14 14:02:27 -05:00
Danish Arora
82cf351920
chore: mobile responsive + UI be more raw 2025-11-14 13:45:22 -05:00
Danish Arora
14aa6d43aa
chore: show delegation flag for non-anonymous sessions 2025-10-30 13:50:57 +05:30
Danish Arora
21ee78de61
feat: allow anonymous users 2025-10-29 17:53:59 +05:30
Danish Arora
05fc7b6da3
chore: remove bitcoin + appkit, use eth + viem/wagmi 2025-10-28 12:45:05 +05:30
Danish Arora
0ea489a37b
chore: upgrade to latest waku, hydration improvevments 2025-10-23 18:20:16 +05:30
Danish Arora
a38723999a
fix: spam console.log 2025-10-23 13:49:21 +05:30
Danish Arora
f9863121ba
chore: linting + improve CSS 2025-10-03 19:00:01 +05:30
Danish Arora
cca6299eb5
feat: library (#26)
* chore: move to /app

* chore: setup workspace

* chore: move lib

* wip

* fix: build and memory leak

* fix: app content hydration for message manager

* fix: non-ens wallets engagement, syncing hydration

* chore: improvements

* chore: IdentityContext

* chore: time range for sds store query to 1 month

* chore: remove client prop

* remove env logs

* wip

* FIX HYDRATION

* fix: message signing

* chore: rename providers

* fix: hydration interface

* state consistentcy

* fix: ens

* chore: minimal docs

* chore: update readme

* local build
2025-09-25 21:52:40 +05:30