7 Commits

Author SHA1 Message Date
Arseniy Klempner
78b7ef64be
feat: add user following feature
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>
2025-12-12 10:16:27 -08:00
Danish Arora
1165cc23c6
chore: zoom in font 2025-11-20 15:41:29 -05:00
Danish Arora
d12a76ff99
chore: raw UI 2025-11-17 18:29:28 -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
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