How saraeyad/msdaq- works
صبارة بوست is an Arabic-first newsroom product: staff authenticate, manage and prepare articles through a gated seven-step publishing flow, while readers browse a public read-only site. Separate newsroom capabilities include editorial tools, a shared file library, a calendar, and trust feedback; administrators manage analytics, users, roles, and categories. The React client routes these workspaces to feature pages and API services backed by a Laravel API. The graph follows documented capabilities and sampled route wiring; unsampled page-to-service calls are not inferred.
Main entry points: AppRoutes.tsx Route composition · PublicLayout.tsx Public layout · PublishingFlow.tsx Seven-step publishing · StandaloneToolPage.tsx Standalone tools
Components 21
Public site
- Public pages
src/features/public-site - Public layout
src/layouts/PublicLayout.tsx
Newsroom workflow
- Article workspace
src/features/newsroom/articles/NewsroomArticlesPage.tsx - Seven-step publishing
src/features/publishing-flow/PublishingFlow.tsx - Publish gates
src/lib/publishing/publish-gate.ts - Editorial calendar
src/features/calendar/CalendarPage.tsx - File library
src/features/newsroom/library/LibraryPage.tsx
Editorial tools
- Standalone tools
src/features/tools/StandaloneToolPage.tsx - Editorial review
src/features/tools/smart-editor/EditorialReviewPanel.tsx - Trust index
src/features/trust-index/pages/TrustIndexPlatformPage.tsx
Administration
- Dashboard and analytics
src/features/admin/dashboard/AdminDashboardPage.tsx - Team and roles
src/features/admin/team/TeamManagementPage.tsx - Category management
src/features/admin/categories/CategoriesManagementPage.tsx
Application platform
- Locale context
src/context/locale.tsx - Authentication
src/context/auth/provider.tsx - Route composition
src/router/AppRoutes.tsx - Backend API clients
src/services/api
Other components
- Reader
- Newsroom staff
- Administrator
- Laravel backend
Connections 21
- Reader → Route composition: opens pages
README.md - Route composition → Public layout: routes public
src/router/AppRoutes.tsx - Public layout → Public pages: hosts pages
src/layouts/PublicLayout.tsx - Newsroom staff → Route composition: opens workspace
README.md - Administrator → Route composition: opens admin
README.md - Route composition → Article workspace: routes articles
src/router/AppRoutes.tsx - Route composition → Seven-step publishing: routes publishing
src/router/AppRoutes.tsx - Seven-step publishing → Publish gates: checks gates
README.md - Seven-step publishing → Backend API clients: submits content
- Route composition → Editorial calendar: routes calendar
src/router/AppRoutes.tsx - Route composition → File library: routes library
src/router/AppRoutes.tsx - Route composition → Standalone tools: routes tools
src/router/AppRoutes.tsx - Standalone tools → Editorial review: renders review
- Route composition → Trust index: routes trust index
src/router/AppRoutes.tsx - Route composition → Dashboard and analytics: routes dashboard
src/router/AppRoutes.tsx - Route composition → Team and roles: routes team
src/router/AppRoutes.tsx - Route composition → Category management: routes categories
src/router/AppRoutes.tsx - Newsroom staff → Authentication: authenticates
README.md - Route composition → Authentication: guards workspace
src/router/AppRoutes.tsx - Public layout → Locale context: reads locale
src/layouts/PublicLayout.tsx - Backend API clients → Laravel backend: sends API requests
README.md