-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turbo 2 UI: Can't copy terminal outputs #8372
Comments
Up! Its a great V0 but not the best UX yet My struggles are the same, so duplicating some ideas I support and adding new ones:
|
Also had some issues debugging an error that was happening in a different task. Having some kind of UX that points to tasks that have thrown an error, like coloring the name in red, or having some kind of notification would be great. Ex: Youre running a nextjs app, and a server, the server throws an error and is not well catched in your nextjs app so you dont see the error as it is in the context of the server task |
When you say "can't copy", are you meaning the same as #8306 or are you meaning "can't select at all"? |
I can't select at all. |
A scrollbar can solver the problem with going up or down. If there is no scrollbar a "go to latest" solves the problem of going down. In my opinon it would also need something extra to go up faster. |
Same for me. Can't even select the text. In vscode and terminal is powershell 😅 |
This comment was marked as spam.
This comment was marked as spam.
Yep, can't select anything at all from my VS Code terminal. This completely destroys UX because you cannot copy errors etc... |
I reverted back to 1.0 because of the scroll issue. It does not behave like a normal terminal window when scrolling. |
Setting env var |
There is a config option in the turbo.json file to toggle back to the old output: https://turbo.build/repo/docs/reference/configuration#ui |
Although this new UI is a great idea, it seems half baked. |
@leonard-henriquez This feature was the first to go through the official RFC process: #7802 Bugs are bugs and we are working hard at getting fixes. |
I truly appreciate all the open-source work that has been put into Turbo. |
@mxn2020 Can you open an issue with a reproduction. This seems like a very different issue from the original one reported |
Same for me since i've updated turbo to v2 it consumes way more resources and my poor laptop gets too hot. Please add me in the issue you create. Meanwhile, coming back to the main thread, is there an ETA for being able to copy the console contents? Is in the roadmap? This is the main issue we face with this new version and makes debugging really hard in several scenarios. And indeed the scroll speed is the second most painful regression :S |
Btw I know its late for this kind of feedback, but, why not just running N terminal sessions instead of a single one with this complicated feature? Just opening N terminals in the right order would do. Since I've updated to turbo 2 thats what Im actually doing while these features are not there. As I cant debug without the copy paste behaviour, I just go one by one to the specific folders and run the dev commands. This way I have the 3-4 tasks running. I feel like building this full single multi-terminal from scratch could be a bit overkill isnt? |
Hey, folks, updating here: We've disabled the terminal UI in We're still focused on getting the fix for this and appreciate the kind feedback on this. We'll be back. As a reminder, options to toggle the TUI on and off at your convenience:
|
for the scrolling, this terminal ui is pretty decent for scrollbar handling inspiration |
In the interest of ensuring we're keeping issues focused on one thing at a time, I've created an Issue to focus on scrolling here. Please leave feedback on scrolling there. 🙏 Those of us on the core team will be focusing on copying terminal outputs on this issue. We appreciate those of you contributing feedback on this Issue and appreciate you keeping up with our housekeeping. |
This isn't entirely the same, but it's the same root cause—the border, which also breaks links. When in, i.e., vscode, you can ⌘-click links from eslint, etc, but this wraps them and breaks longer links. |
@lishaduck You're correct that that wouldn't be in scope for this issue. If you'd like to report it in a new one, that would be great. |
how ca we disable this ? |
Is there a way to quickly scroll to the end? I tried key strokes like page down and end, or arrow keys, seems I'm only able to use mouse scroll. This is slow, especially if the logs has gone many lines down. |
@duard, you can control your UI preference using the @shawnmclean, we're tracking improving scrolling here if you'd like better visibility. |
I agree with @lveillard, reimplementing tmux is the wrong direction. The DX will always be subpar compared to what the user is used to from their actual terminal. Instead the user should just open N terminal sessions so they can get the full features of whatever environment they run their terminal sessions in (be it VSCode, tmux, Zellij, Zed, just their native terminal app, etc.) and the Turborepo daemon should deduplicate task runs across the multiple sessions behind the scenes. |
Verify canary release
Link to code that reproduces this issue
turbo dev
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
turbo-darwin-arm64@2.0.3-canary.0
Describe the Bug
After installing the new Turbo Repo V2 there was a moment of exiting in seeying the new UI. Followed shortly by a bit disapointment and reverting back to the old UI.
I have 2 things that would be great to have improved.
1 - Can't copy/select anything.
Have you ever copied some long to look on google for a possible fix.
Well I can't copy anything apart from clicking on links that VS Code recognizes.
2 - Scrolling is hard and slow.
Have you ever console.log a whole api response?
Well with this new UI forget it you will never reach the top.
IF you are not at the bottom. The application will continue to print things off screen and if you want to see the latest things.
It's going to take you a good 5 to 20 seconds to get to what's being run now.
Suggestions:
Expected Behavior
Be able to scroll quickly and be able to copy text from the terminal.
To Reproduce
turbo dev
Additional context
I tested it on canary.
I'm running on a MAC M2 Pro V14.2.1
Terminal running in VS Code.
Running on ZSH: zsh 5.9 (arm-apple-darwin22.6.0)
Running Oh-my-zsh:
ZSH_THEME="robbyrussell"
The text was updated successfully, but these errors were encountered: