`vp run`: Terminal UI for parallel/persistent tasks with per-task log panes (like Turborepo's TUI)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust, typescript
Hướng nghiên cứu
Start by examining the mentioned WIP vite_tui crate in vite-task and how vp run currently launches parallel tasks and streams their output. The issue describes desired task selection, per-task logs, interaction, configuration, and non-TTY fallback, but does not define implementation boundaries; agree on scope with maintainers before starting. Done means the agreed TUI behavior works for parallel persistent tasks and falls back to streamed output when stdout is not a TTY or in CI.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
When I run vp run dev at the root of a Vite+ monorepo with several apps, every app's dev server writes to the same terminal at once. With more than two or three apps it's hard to find the logs for the one I care about (e.g. a single Next.js app's errors get buried under another app's HMR output).
--log labeled helps tell lines apart, but with several long-running dev servers it's still a single mixed stream.
I'm coming from Turborepo, where turbo dev opens a terminal UI that lists each task in a sidebar and shows the selected task's logs in its own pane. That made running many apps at once much easier to work with.
Suggested solution
An interactive terminal UI for vp run when several tasks run in parallel, especially persistent ones like dev:
- A task list sidebar showing each task and its status (running / done / failed)
- A log pane for the selected task, with scrollback
- Keybindings to switch tasks (↑/↓ or j/k), scroll logs, toggle the sidebar, and copy selected output
- An "interact" mode that forwards stdin to the selected task (for tools with interactive prompts or watch-mode shortcuts)
- Opt-in or opt-out via a flag (e.g.
--ui=tui|stream) and a config field (e.g.run.uiinvite.config.ts) - Automatic fallback to the current streamed output when stdout isn't a TTY or in CI
Reference: https://turborepo.dev/docs/crafting-your-repository/developing-applications#using-the-terminal-ui
Alternative
vp run --log labeled/--log grouped: better than nothing, but still one shared stream- Running each app in its own terminal tab, which loses the single-command workflow
Additional context
- A maintainer suggested opening this issue after I asked about it on Discord
- A TUI was also asked about in Discussion #1216
- vite-task seems to have a WIP
vite_tuicrate, so this may already be on the radar - Related: #1167 (consolidated output), #2909 (label colors), #2914 (
--login config)
Validations
- Read the Contributing Guidelines.
- Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
- Check that there isn't already an issue requesting the same feature.
- Ngôn ngữ chính
- Rust
- Star
- 6.3k
- Fork
- 283
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 208
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của voidzero-dev/vite-plus
-
contribution welcome
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
voidzero-dev/vite-plus#3096 · 1 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pending triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
voidzero-dev/vite-plus#2882 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
voidzero-dev/vite-plus#2097 · 10 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pending triage
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 78/100
voidzero-dev/vite-plus#3110 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pending triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
voidzero-dev/vite-plus#3107 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của voidzero-dev/vite-plus
Issue tương tự
-
area:config area:security bug good first issue platform:linux platform:windows priority:medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
rtk-ai/rtk#4651 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
vllm-project/agentic-api#463 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug good first issue priority:high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Konfirm-xyz/konfirm-contracts#163 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
GL backend reports vendor id 0 for AMD GPUs on Windows (GL_VENDOR is "ATI Technologies Inc.")Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày