Comments (6)
from console.
This looks lovely! It would be great to start integrating this UI with the current implementation.
from console.
Is the intent to be only a keyboard-based interface (I assume this is still TUI)?
Keyboard and optionally mouse.
What are the + signs to the left of task ID? It seems like it expands a node, what would happen then? How would it be triggered?
I was thinking that this would expand the attribute list to one per line below the task, in case the attributes are too long to fit on screen. Perhaps we could add other task info there too, like a stack trace or something. This would be especially useful for 80 column displays. I was assuming you could trigger it by going to the task and pressing right arrow, space, or Enter.
What are the arrows on the right of the "performance" box?
These would expand the performance pane so that the graphs are larger, again useful for 80-column displays. Maybe they'd be a 2x2 grid. The expanded performance pane would also be where more performance data goes if we add it.
When would one look at the date / time?
I dunno, I wouldn't find it useful, but I noticed that both top and bpytop had clocks at the top, so I added it. Maybe uptime of the binary would be more useful :)
How is the menu expanded?
Enter, Space, Escape (this is a global shortcut for the menu), or clicking on it. I was thinking it would either overlay the center of the app like bpytop's, or perhaps a sidebar. bpytop's ASCII art menu is a little too fancy for my taste and I think it should be simple.
It looks like it requires special fonts, which is fine. Have you thought of fallback?
Yep, fallback is a must, and I've designed it so that it looks good without powerline/nerd fonts. That'll be the next thing I work on.
from console.
I'm still working on this. Sorry it's been so slow.
from console.
This looks really amazing. I don't have any major feedback, just some questions.
- Is the intent to be only a keyboard-based interface (I assume this is still TUI)?
- What are the + signs to the left of task ID? It seems like it expands a node, what would happen then? How would it be triggered?
- What are the arrows on the right of the "performance" box?
- When would one look at the date / time?
- How is the menu expanded?
It looks like it requires special fonts, which is fine. Have you thought of fallback?
Edit: amazing, not amazon.
from console.
@pcwalton I've been working on bringing the current UI more in line with your proposal. Here's what I've got so far:
from console.
Related Issues (20)
- Record `ExpectedTask` creation location in console-subscriber tests
- Don't send task names as strings HOT 3
- Flaky `console-subscriber` integration tests HOT 2
- Sorting does not work on all columns in the resources view HOT 2
- `tokio-console` won't quit when the main program has exit HOT 1
- Improve attributes sorting in the resources tab
- subscriber: add grpc-web support to console-subscriber HOT 4
- a global default trace dispatcher has already been set HOT 8
- RUSTSEC-2021-0145: Potential unaligned read
- Console doesn't detect self wakes from `tokio::task::yield_now()` after Tokio 1.23 HOT 5
- Key presses happen twice on Windows HOT 4
- `blocking` and `block_on` tasks have false positive lints HOT 1
- Autodetection of new execution not always working
- Make better use of space in task detail screen HOT 1
- Format "last woken" time prettily HOT 4
- tokio::task::spawn_blocking() tasks show as 'warning: task has never yielded' HOT 2
- Analyze log files and log playback HOT 1
- tokio-console cannot handle window path correctly
- tokio-console cannot show the pause status correctly HOT 5
- assertion failed: meta.is_event() HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from console.