Skip to content

Conversation

@RC-CHN
Copy link
Member

@RC-CHN RC-CHN commented Jan 27, 2026

添加了一个dashboard面板
image
image
image
image

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Sorry @RC-CHN, your pull request is larger than the review limit of 150000 diff characters

@RC-CHN RC-CHN marked this pull request as draft January 27, 2026 03:50
…cution

Dashboard Features:
- Vue 3 + TypeScript + Vite frontend with Ocean Breeze UI theme
- Ships management: list, create, delete, view details, logs
- Sessions management: list, view details, TTL extension, delete
- Monaco Editor integration for Python code execution
- WebSocket terminal (xterm.js) for interactive shell
- Real-time status tracking and auto-refresh
- Copy to clipboard functionality

Backend Enhancements:
- Session management API endpoints
- Ship start/stop with session TTL handling
- Multi-stage Docker build with Nginx proxy
- Comprehensive unit and e2e tests
- matplotlib Chinese font configuration fix
Add force_create flag to CreateShipRequest to allow skipping container
reuse logic and always create a new container. This enables users to
choose between quick mode (auto-assign available container) and custom
mode (force new container with custom config).

Changes:
- Add force_create field to CreateShipRequest model and API types
- Update ShipService to respect force_create flag in create_ship
- Fix database queries to handle multiple results using scalars().first()
- Use merge() instead of add() for detached SQLAlchemy objects
- Refactor dashboard UI with quick/custom mode selector
- Rename UI labels from "容器" to "工作区" for better UX
- Add create workspace button to sessions page
- Remove create button from ships list (now via sessions page)
- Add detailed debug logging for ship assignment flow
@RC-CHN RC-CHN marked this pull request as ready for review January 27, 2026 08:49
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Sorry @RC-CHN, your pull request is larger than the review limit of 150000 diff characters

@RC-CHN RC-CHN merged commit 8d23c60 into AstrBotDevs:main Jan 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant