mirror of
https://github.com/AJaySi/ALwrity.git
synced 2026-04-25 08:55:58 +03:00
[PR #399] [MERGED] Centralize onboarding scheduled SEO task health endpoint and add dashboard panel #706
Labels
No labels
AI Content Agents
AI Content Strategy
AI Content planning
AI Marketing Tools
AI SEO
AI personalization
AI writer
ALwrity Copi-lot
Alwrity web search
Anthropic
DeepSeek
Gemini AI
Integration
LLM
OnBoarding
OnBoarding
RAG knowledgebase Memory
bug
documentation
enhancement
good first issue
help wanted
invalid
openai
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ALwrity#706
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AJaySi/ALwrity/pull/399
Author: @AJaySi
Created: 3/8/2026
Status: ✅ Merged
Merged: 3/9/2026
Merged by: @AJaySi
Base:
main← Head:codex/implement-central-visibility-for-seo-onboarding-tasks📝 Commits (2)
936dd14Add consolidated onboarding SEO task health API and dashboard panel6b141eeMerge branch 'main' into codex/implement-central-visibility-for-seo-onboarding-tasks📊 Changes
5 files changed (+298 additions, -363 deletions)
View changed files
📝
backend/api/seo_dashboard.py(+40 -41)📝
backend/app.py(+9 -1)📝
backend/services/seo/dashboard_service.py(+123 -2)📝
frontend/src/api/seoDashboard.ts(+40 -0)📝
frontend/src/components/SEODashboard/SEODashboard.tsx(+86 -319)📄 Description
Motivation
Description
SEODashboardService.get_onboarding_scheduled_task_health(...)with helpers_get_single_task_health(...)and_summarize_execution_result(...)to consolidate status,next_execution,last_success,last_failure,consecutive_failures, and a latest execution log summary for the four onboarding task models (OnboardingFullWebsiteAnalysisTask,DeepCompetitorAnalysisTask,SIFIndexingTask,MarketTrendsTask) inbackend/services/seo/dashboard_service.py.get_onboarding_task_health(...)and exposed routeGET /api/seo-dashboard/onboarding-task-healthinbackend/api/seo_dashboard.pyand wired it into the app inbackend/app.pyso callers can fetch the unified task health payload.get_sif_indexing_health(...)to reuse the new centralized service method instead of running its own duplicate queries and to return a consistent task/last_run structure.getOnboardingTaskHealth(...)client call infrontend/src/api/seoDashboard.ts, and UI updates infrontend/src/components/SEODashboard/SEODashboard.tsxto fetch the consolidated task health, render a single “Onboarding Scheduled SEO Tasks” panel listing all four tasks, and align status chips and actionable copy for statuses:active,failed,paused,needs_intervention, andnot_scheduled.Testing
python -m py_compile backend/services/seo/dashboard_service.py backend/api/seo_dashboard.py backend/app.py, which completed successfully.cd frontend && npm run -s build, which failed in this environment due to missingreact-scripts(environment dependency issue), so the production frontend build was not validated here.http://localhost:3000returned an empty response), so UI runtime verification could not be captured in this environment.Codex Task
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.