1.2.3 • Published 9 months ago
gell-messaging v1.2.3
gell-messaging
Broadcast
- send message to multiple recepients
- draft to publish workflow
- ability to recall message
Brainstorm
- use existing gell-session concepts and patterns
- other concepts
- conversation two person conference conference * community
Messaging Types/Scenarios
- broadcast
- to everyone or group
- direct
- non-conference
- chat
- conference/conversation
- comment
Realm Definitions
- realm: MESSAGING
- BROADCAST * message sent to a group of users
- RECEIPT
- CHAT
Message Composition
- "DRAFT" status
- content encoding
- markdown * plain text
Workflow Abstraction
- started work on a "workflow" abstraction that's based on Session abstraction
Events
Actions
- save
- publish
- recall/rescind
- deliver
- read
Persistence
- use
gell-session
to represent message State - supports message hierarchy/threaded messages
- sender/recipient have same session id
- how to support chat? this is case where user id/session id key does not work would not support multiple user messages as part of the same chat
Queries
- messages for user
- can use "activity" related queries filter by user not sure how efficient this really is
- unread message count
- metrics system supports this