[RFC] Terminal UI #7802
Replies: 32 comments 47 replies
-
Thanks for the amazing work! It's looking great so far. I have some feedback:
|
Beta Was this translation helpful? Give feedback.
-
ContextI am using Problem
InfoTurbo: Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 23.1.0: Mon Oct 9 21:32:11 PDT 2023; root:xnu-10002.41.9~7/RELEASE_ARM64_T6030
Available memory (MB): 18432
Available CPU cores: 11
Binaries:
Node: 18.17.0
npm: 9.6.7
Yarn: N/A
pnpm: 8.15.4
Relevant Packages:
next: 14.2.0-canary.34 // Latest available version is detected (14.2.0-canary.34).
eslint-config-next: 14.2.0-canary.28
react: 18.2.0
react-dom: 18.2.0
typescript: 5.4.2
Next.js Config:
output: N/A Screen.Recording.2024-03-22.at.1.29.19.AM.mov |
Beta Was this translation helpful? Give feedback.
-
in my windows vscode terminal, pressing the arrow key moves 2 packages at a time, and pressing enter does nothing turbo.json.-.Sofi-Site.-.Visual.Studio.Code.-.Insiders.2024-03-21.22-39-35.mp4 |
Beta Was this translation helpful? Give feedback.
-
How would it look like in CI/CD? |
Beta Was this translation helpful? Give feedback.
-
Once it becomes stable, will it replace the old UI? Although this UI looks good, most of the time I'll want to see all the logs at the same time instead of manually changing the package so keeping the existing UI and introducing a flag like |
Beta Was this translation helpful? Give feedback.
-
When an error is encountered, would you consider leaving the experimental UI onscreen with the errored task made active? I was surprised to see the experimental UI close when there was an error. |
Beta Was this translation helpful? Give feedback.
-
I have two feedbacks:
|
Beta Was this translation helpful? Give feedback.
-
I think it should take the opposite approach and consider providing a simple terminal ui option.
The new terminal UI feels like it limits a lot of the functionality of the original terminal app. |
Beta Was this translation helpful? Give feedback.
-
When everything is done, it'd be nice to be able to look at the output before "exiting". Right now it just exits as soon as the last task is done so you can't see any of the outputs. |
Beta Was this translation helpful? Give feedback.
-
The new UI looks great, but it feels like you need to reveal too much of the terminal for more than one task to be visible in the switcher. In other words, the terminal height needs to be set too high for the switcher to show multiple tasks. Normally I would have my terminal reveal maybe 10-15 lines, but to see multiple tasks I need 30-35. What would be nice to have is a way to resize the interactive portion of the experimental UI so that we can select our own sweetspot between interactive terminal space and task switcher height. |
Beta Was this translation helpful? Give feedback.
-
What bothers me is that when I only have on task running (which is common e.g. for Drizzle) it still shows this task UI and I need to jump into the task with enter key. Instead Turbo could notice I am executing just one task and just show me the output of this task with nothing around it. |
Beta Was this translation helpful? Give feedback.
-
For me the output is cut off so I cant see what use action I am doing |
Beta Was this translation helpful? Give feedback.
-
indentation gets weird sometimes... |
Beta Was this translation helpful? Give feedback.
-
file-links aren't clickable: |
Beta Was this translation helpful? Give feedback.
-
Thanks for this! I think there is some space that can be freed up, maybe a `'experimentalUIStyle: "compact" | "default"' prop? Maybe the interactions can be moved to top right and using symbols. |
Beta Was this translation helpful? Give feedback.
-
Is it necessary for all logs to be prefixed? Maybe the header should be bold and colorful instead of the line inside of the block? |
Beta Was this translation helpful? Give feedback.
-
Is the interaction ability bugged? Pressing enter doesn't allow me to send commands to jest watch. a, f, o, q and nothing happens on Turbo v1.13.2 Screen.Recording.2024-04-09.at.12.10.50.movmy task config
I'm using zsh in vscode integrated terminal |
Beta Was this translation helpful? Give feedback.
-
While the UI looks nice, it is completly unusable for me, I am completly lost on how to find errors, and documentation doesn't help. Had to disable it. |
Beta Was this translation helpful? Give feedback.
-
Loving this new UI so far, appreciate all the work that's gone into it! One request, it would be useful to be able to switch to a view that combines the all the logs into one stream (without having to exit, disable the new UI and restart the application). |
Beta Was this translation helpful? Give feedback.
-
There is a flash of the UI when you get a full turbo. |
Beta Was this translation helpful? Give feedback.
-
I just tried the latest canary, the layout looks more organized (which resolves my previous comment #7802 (comment)), great job! However, the tasks show a loading spinner for long running tasks like dev which is quite distracting |
Beta Was this translation helpful? Give feedback.
-
Hi @anthonyshew, the new UI is great but may I ask how do I copy from the raw output of the latest experimental UI? It seems not compatible with the default terminal, hope you will support that feature |
Beta Was this translation helpful? Give feedback.
-
I can't highlight, or copy from the terminal. |
Beta Was this translation helpful? Give feedback.
-
Note here if someone using iterm2 like me and cannot make it scroll. Go to Profile > Terminal > Enable mouse reporting:
|
Beta Was this translation helpful? Give feedback.
-
This new UI is FIRE 🔥 Thank you! 🙏 |
Beta Was this translation helpful? Give feedback.
-
How do we disable the UI in the latest canary build? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Looks like some items are hidden on the left unless I manually press down to reveal them: CleanShot.2024-06-04.at.15.34.20.mp4 |
Beta Was this translation helpful? Give feedback.
-
It also seems like native inertia scrolling isn't supported, so scrolling through feels quite slow / sticky compared to the normal terminal, on a Mac OS trackpad / magic mouse at least |
Beta Was this translation helpful? Give feedback.
-
This new UI breaks when I'm running it in husky precommit: In my root package.json:
and in
when running this, it gives:
The only way to fix this that I've found dso far is to add |
Beta Was this translation helpful? Give feedback.
-
Thank you for feedback
The terminal UI has been released in 2.0! 🥳
We appreciate everyone who participated and look forward to continuing to work with the Turbo community going forward.
If you believe you've found a bug, please report it in Issues.
If you have an idea or enhancement you'd like to suggest, please open a new Discussion.
RFC
In Turborepo 1.13, we're releasing a new terminal UI that changes the way you experience your Turborepo locally.
Because this new experience is quite different from the previous one, we're creating this RFC to collect community feedback.
What is the new terminal UI?
The new UI allows you to:
v1
![Screen capture of the new terminal UI](https://github.com/vercel/turbo/assets/35677084/01767bfe-f5f8-4d52-8faf-dc1439d99e05)new-ui-2.mp4
How do I enable the new terminal UI?
The new UI can be enabled two ways:
--experimental-ui
flag when you run yourturbo
commandsexperimentalUI
key to yourturbo.json
How do I make a task interactive?
Set the
interactive
key to true on any task that you'd like to make interactive. Note that anyinteractive
task must also have thepersistent
key set totrue
, as well.How do I give feedback?
We're excited to hear from you! Please comment below with any feedback you have, whether it be an issue or other general feedback. The core team will triage comments here and move issues to the Issues board as needed.
Beta Was this translation helpful? Give feedback.
All reactions