Skip to content

feat: consolidate data dashboard and redesign conversations - #9846

Merged
Soulter merged 9 commits into
AstrBotDevs:masterfrom
Soulter:codex/data-dashboard
Aug 27, 2026
Merged

feat: consolidate data dashboard and redesign conversations#9846
Soulter merged 9 commits into
AstrBotDevs:masterfrom
Soulter:codex/data-dashboard

Conversation

@Soulter

@Soulter Soulter commented Aug 27, 2026

Copy link
Copy Markdown
Member

Summary

  • consolidate statistics, conversations, logs, and traces under a tabbed Data workspace and remove the duplicate sidebar entries
  • refresh the statistics dashboard styling, labels, model colors, platform icons, aliases, and live uptime display
  • add a paginated conversation workspace with keyword, bot ID, conversation type, UMO, and time sorting filters
  • support compact multi-select conversation actions, title editing, detail previews, and a legacy-view fallback
  • add a read-only, word-wrapped Monaco viewer for the selected conversation's raw history JSON
  • extend the conversation API for server-side filtering, sorting, and filter options, with regenerated API clients and public OpenAPI artifacts
  • update Chinese and English WebUI, FAQ, configuration, and platform guides for the new Data workspace navigation

Testing

  • uv run pytest tests/test_conversation_list.py tests/test_fastapi_v1_dashboard.py tests/unit/test_stat_service.py (96 passed)
  • cd dashboard && pnpm build
  • cd docs && pnpm docs:build
  • uv run ruff format .
  • uv run ruff check .

Summary by Sourcery

Consolidate dashboard data tools into a unified Data workspace and enhance conversation discovery and management.

New Features:

  • Add a unified Data workspace with tabbed access to statistics, conversations, logs, and traces.
  • Introduce a paginated conversation workspace with server-side filtering, sorting, session grouping, previews, title editing, bulk export/deletion, and legacy-view fallback.
  • Add read-only raw conversation history inspection and configurable conversation filter options through the API.

Enhancements:

  • Refresh the statistics dashboard with updated visual styling, platform and model presentation, aliases, copy actions, and live uptime tracking.
  • Expose conversation filtering and sorting through the database and service layers, with regenerated clients and OpenAPI artifacts.
  • Reorganize navigation and preserve compatibility through redirects from the previous data-related routes.
  • Improve console integration and platform icon handling across the dashboard.

Documentation:

  • Update English and Chinese WebUI, FAQ, configuration, and platform documentation for the Data workspace navigation and conversation features.

Tests:

  • Expand database, API, and statistics service coverage for conversation filters, grouped pagination, filter options, sorting, and UMO display names.

@dosubot dosubot Bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Aug 27, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @Soulter, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 6 days and 2 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@dosubot dosubot Bot added the area:webui The bug / feature is about webui(dashboard) of astrbot. label Aug 27, 2026
@Soulter
Soulter merged commit 6903085 into AstrBotDevs:master Aug 27, 2026
21 checks passed
@Soulter
Soulter deleted the codex/data-dashboard branch August 27, 2026 15:28
BegoniaHe pushed a commit to Xero-Team/AstrBot that referenced this pull request Aug 28, 2026
…evs#9846)

Mount the statistics, conversations, logs, and trace tabs under
/dashboard so /data can stay the runtime file manager. Drop the legacy
conversation page, keep pip-install and export step-up, and reuse MDI
icons instead of Lucide.

Upstream-Commit: 6903085
Upstream-Author: Soulter <37870767+Soulter@users.noreply.github.com>
Upstream-PR: AstrBotDevs#9846
Sync-Disposition: adapt
Fork-Adaptation: Keep DataFilesPage at /data, omit LegacyConversationPage and ru-RU, preserve Console/export step-up and the Playwright T2I card, and implement filters on ConversationStore instead of BaseDatabase.
Tested: uv run pytest tests/unit/db/test_conversation_store.py tests/unit/test_stat_service.py tests/unit/dashboard -q; cd dashboard && pnpm exec vue-tsc --noEmit && pnpm exec vitest run --config vitest.config.ts tests/statsPage.vitest.ts tests/tracePage.vitest.ts tests/traceDisplayer.vitest.ts tests/dataFilesPage.vitest.ts tests/viewDialogLayouts.vitest.ts
BegoniaHe added a commit to Xero-Team/AstrBot that referenced this pull request Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webui The bug / feature is about webui(dashboard) of astrbot. size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant