**Major Features Added:** - **Inline Reply System**: Replace compose screen with inline reply boxes - **Thread Navigation**: Parent/child navigation with jump functionality - **Chain Flow UI**: Reply counts, expand/collapse animations, visual hierarchy - **Enhanced Animations**: Smooth transitions, hover effects, micro-interactions **Frontend Changes:** - **ThreadedCommentWidget**: Complete rewrite with animations and navigation - **ThreadNode Model**: Added parent references and descendant counting - **ThreadedConversationScreen**: Integrated navigation handlers - **PostDetailScreen**: Replaced with threaded conversation view - **ComposeScreen**: Added reply indicators and context - **PostActions**: Fixed visibility checks for chain buttons **Backend Changes:** - **API Route**: Added /posts/:id/thread endpoint - **Post Repository**: Include allow_chain and visibility fields in feed - **Thread Handler**: Support for fetching post chains **UI/UX Improvements:** - **Reply Context**: Clear indication when replying to specific posts - **Character Counting**: 500 character limit with live counter - **Visual Hierarchy**: Depth-based indentation and styling - **Smooth Animations**: SizeTransition, FadeTransition, hover states - **Chain Navigation**: Parent/child buttons with visual feedback **Technical Enhancements:** - **Animation Controllers**: Proper lifecycle management - **State Management**: Clean separation of concerns - **Navigation Callbacks**: Reusable navigation system - **Error Handling**: Graceful fallbacks and user feedback This creates a Reddit-style threaded conversation experience with smooth animations, inline replies, and intuitive navigation between posts in a chain.
27 lines
688 B
YAML
27 lines
688 B
YAML
version: '3'
|
|
services:
|
|
directus:
|
|
image: directus/directus:latest
|
|
ports:
|
|
- 8055:8055
|
|
volumes:
|
|
- ./uploads:/directus/uploads
|
|
- ./extensions:/directus/extensions
|
|
network_mode: "host"
|
|
environment:
|
|
KEY: "sj_auth_key_replace_me_securely"
|
|
SECRET: "sj_auth_secret_replace_me_securely"
|
|
|
|
# Connect directly to the main 'postgres' database (Sojorn's DB)
|
|
DB_CLIENT: "pg"
|
|
DB_HOST: "127.0.0.1"
|
|
DB_PORT: "5432"
|
|
DB_DATABASE: "postgres"
|
|
DB_USER: "postgres"
|
|
DB_PASSWORD: "A24Zr7AEoch4eO0N"
|
|
|
|
ADMIN_EMAIL: "admin@sojorn.com"
|
|
ADMIN_PASSWORD: "Password123!"
|
|
|
|
PUBLIC_URL: "https://gosojorn.com/cms"
|