-
Notifications
You must be signed in to change notification settings - Fork 20
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
Wishlist #28
Comments
|
|
@fdncred I’ve been thinking about the datagrid. A lot of existing JS data grids are optimized for the web; they do work like sorting and filtering in-browser, because calling the back-end is expensive and unreliable. But Nana has very different performance characteristics from a web app; the front-end and back-end are on the same computer, and calling the back end should incur nearly zero latency. I’m still thinking about this, but it might mean that we can roll our own data grid and keep complexity down by keeping the front-end very thin with logic like sorting and filtering in the Rust back-end. |
@rgwood I have no problems with what you suggest. My point is, if we're going to have a nushell-type gui, we should support modern datagrid functionality with all the normal gui functionality. I mean, people come to guis for that type of experience. If they just want to look at text on the screen, they can use the shell, but if we have a gui, the UI should be interactive and clickable. I'm happy to follow your lead and have some type of web framework do the presentation and have rust do the heavy lifting, under the hood. We should definitely allow the frameworks to do what they're each best at. I just have no idea what that looks like at the moment. Just thinking about the user experience, in generic terms, I think we want the UI to be interactive and not just a chalkboard/whiteboard. I think we want elements to be clickable depending on the commands they run. So, the first place I go to is the datagrid, since nushell, in the shell, is so tabular driven. I'm anxious to see what we come up with. |
I believe we have some of the first ones in this issue:
Unless tab completions meant also showing the completions (e.g. in secondary text color) before they happen? |
It would be nice to have a menu bar for simple things like opening a help window. This is a bit tricky to do nicely in a cross-platform way. DetailsTauri offers a simple wrapper around each platform's native menu APIs, but the old Win32 menus on Windows don't even respect dark mode: The Tauri Discord seems to suggest that rolling your own menu in web UI is the usual way to deal with this. So maybe we do something like this on Windows+Linux: Even better would be to do a custom title bar w/menu like VS Code: |
I like the custom title bar with menu idea. It would be cool to have that on mac/linux/windows. |
The text was updated successfully, but these errors were encountered: