mirror of
https://github.com/AJaySi/ALwrity.git
synced 2026-04-25 08:55:58 +03:00
[PR #354] [MERGED] Align GSC SearchAnalytics requests to docs, fix decay logic, add task-report endpoints/UI and tests #319
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#319
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/354
Author: @AJaySi
Created: 2/13/2026
Status: ✅ Merged
Merged: 2/14/2026
Merged by: @AJaySi
Base:
main← Head:codex/schedule-content-strategy-tasks-for-alwrity📝 Commits (1)
70c349dFix test path in GSC design review doc📊 Changes
10 files changed (+578 additions, -17 deletions)
View changed files
📝
backend/api/onboarding_utils/onboarding_completion_service.py(+26 -0)📝
backend/routers/gsc_auth.py(+54 -0)➕
backend/services/gsc_query_request_shapes_tests.py(+41 -0)📝
backend/services/gsc_service.py(+52 -17)➕
backend/services/gsc_task_report_service.py(+196 -0)➕
docs/gsc_step5_dashboard_design_review.md(+52 -0)📝
frontend/src/api/gsc.ts(+35 -0)📝
frontend/src/components/OnboardingWizard/IntegrationsStep.tsx(+15 -0)📝
frontend/src/components/SEODashboard/SEODashboard.tsx(+5 -0)➕
frontend/src/components/shared/GSCTaskReportsPanel.tsx(+102 -0)📄 Description
Motivation
Description
backend/services/gsc_service.py(_build_search_analytics_request) and constantsDEFAULT_SEARCH_TYPE='web'andMAX_ROW_LIMIT=25000, and switched verification/aggregate/query calls to use it to enforcetype, boundedrowLimit, non-negativestartRow, and omittingdimensionsfor aggregate totals.backend/services/gsc_task_report_service.pyby adding_fetch_query_rows_range(...)and comparing equivalent windows (current 30d vs previous 30d) instead of slicing a 60d set, and implemented theGSCTaskReportServiceused to construct the 4 issue sections and Google query templates.backend/routers/gsc_auth.py(GET /gsc/task-reports,POST /gsc/task-reports/run), onboarding bootstrap to create/verify platform-insights tasks inbackend/api/onboarding_utils/onboarding_completion_service.py, a reusable frontend panelfrontend/src/components/shared/GSCTaskReportsPanel.tsx, client methods infrontend/src/api/gsc.ts, and added the panel intoIntegrationsStep.tsxandSEODashboard.tsx.docs/gsc_step5_dashboard_design_review.mdsummarizing design considerations, issues solved (1–4), exact code edits, and validation performed.Testing
PYTHONPATH=backend pytest -q backend/services/gsc_query_request_shapes_tests.pywhich passed (2 passed) and produced expected warnings but no failures.python -m compileallon modified backend modules which completed successfully.Codex Task
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.