feat: dashboard
This commit is contained in:
@@ -11,9 +11,13 @@ direct-message/
|
||||
├── application/services/ DirectMessageService, OfflineMessageQueueService, FriendService, PeerDeliveryService
|
||||
├── domain/ Direct message models and status-transition rules
|
||||
├── infrastructure/ User-scoped local repositories
|
||||
└── feature/ DM rail, chat view, message rows, user search, friend button
|
||||
└── feature/ DM rail, chat view, message rows, user search, find-people page, friend button
|
||||
```
|
||||
|
||||
## People discovery (`/people`)
|
||||
|
||||
`FindPeopleComponent` (`feature/find-people/`) backs the `/people` route reached from the `/dashboard` "Find people" card and the server rail. When the directory has discoverable people it renders `app-user-search-list`; otherwise it shows an onboarding empty state. The page is a thin wrapper around the existing user-search feature, so friend requests and DM starts flow through the same `FriendService` / `DirectMessageService` paths.
|
||||
|
||||
## Flow
|
||||
|
||||
1. `DirectMessageService.sendMessage()` stores the message locally with `QUEUED`.
|
||||
|
||||
Reference in New Issue
Block a user