buster / rrun

minimalistic command launcher in rust
GNU General Public License v2.0
112 stars 14 forks source link

Create a nicer UI #12

Open nightscape opened 8 years ago

nightscape commented 8 years ago

The current UI is usable, but not really eye-candy ;) Moreover, having only one line for the user-specified query and the results makes selection of completions slower than necessary. I would propose to create a UI similar to Albert and Alfred. I'm not an expert in UI toolkits, but would see the following features as desirable:

Besides the current GTK UI, QT or Conrod might be good options. Possibly also other candidates from the awesome rust listing.

@buster Do you see any other desirables or options?

nightscape commented 8 years ago

Also some useful information here: https://www.reddit.com/r/rust/comments/2zqjix/what_would_you_use_for_a_rust_gui/

buster commented 8 years ago

From my point of view:

rrun UI should be as small and as fast as possible. Wich also means: no animations or transitions popping up.

Apart from that, i'm open for everything. I feel like GTK is the way to go, for now. Except you would like to design an entirely new and fancy UI in Conrod.. Take a look at the GTK widget gallery: https://developer.gnome.org/gtk3/stable/ch03.html For me, they all look nice enough and the best thing is that they are using the theme i set up for all other applications. Also, GTK themeing nowadays is done with CSS, i think. So that's a plus in your list as well.

I suppose one could add a ListBox to the window when completing?

buster commented 8 years ago

Take a look at http://stackoverflow.com/questions/14410821/how-to-style-gtk-with-custom-css

It looks like you can style your GTK widgets with custom CSS...

nightscape commented 8 years ago

WIP for completion list: https://github.com/buster/rrun/tree/completion_list It looks like one just has to fill the corresponding ListStore correctly which I didn't get to (and probably won't in the next few days :disappointed:)... If you have time to play with it, have fun :sparkles: :+1:

nightscape commented 8 years ago

I saw your fix and I'm happy with it, as it allows for instant evaluation in cases where the completion executes without errors. A minor issue is that deleting characters does not invoke completion anymore, but I don't think this is a show-stopper for merging this.

nightscape commented 8 years ago

With your consent, I'll create a new release (maybe 0.2.0?) on Github and try to find some people that could create 2 or 3 nice themes for rrun.

buster commented 8 years ago

Sure, actually I already started doing that on my laptop but didn't finish to build a 0.2.0..

buster commented 8 years ago

I just uploaded a fresh .deb package. And also uploaded a new version to crates.io: https://crates.io/crates/rrun