-
Notifications
You must be signed in to change notification settings - Fork 25
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
Block Picker takes up too much space #131
Comments
@JohnsonMyton thanks for your student's feedback! Yes, I think this can be improved by implementing subcategories. Currently the first word is being repeated to simulate subcategories in the single hierarchy, taking too much horizontal space. |
@JohnsonMyton what's the specs of the students machines? And the screen resolution? Excited to hear you are considering this for use in education context. Could you reach out to me at [email protected] - I would love to know more of the context. We're also developing this for learners but haven't manged to expose many students to this yet because of summer break. |
A quick and easy change here might be moving the category to the end of the line… so you'd have:
Then users who collapse the width of that column can still see the most useful bit. If we want to get more interesting, we could consider relying on an icon + color to group them into their respective groups instead, dropping the category from the label (and/or moving it to a tooltip). This would allow us to better use the space while still keeping a pretty strong association between blocks of the same category. The GNOME UI icons are public domain, so we could lean on those for each category. Something like this: |
Shortens categories and gives them icons and tooltips. I couldn't find the Gnome icons so I edited and used the Godot icons. Loading the icons was not optimized Similar to the idea endlessm#131 (comment) - Check for changes that might break code ![image](https://github.com/user-attachments/assets/f1f68275-a740-4acf-94c9-d5610efc0293)
@cassidyjames what do you think about the implementation done by @DoomTas3r here? #270 I have tried it and although it helps, I still find odd to have 2 columns in the tab: If you think this is an improvement we should merge. Thanks @DoomTas3r for your contribution! |
@cassidyjames please also point @DoomTas3r to the SVGs of the GNOME UI icons so the current placeholders can be replaced. |
@ch0m5 I like it! They look like tabs. Could they even be standard Godot TabBar? In particular if TabBar already has logic for adding scroll buttons when the icons overflow. And I don't think that the sub category list is needed at all. The user can just scroll to find the other sub categories like Comparison, Boolean. |
What Happened
Hello! Love the idea of the project, wanted to add one of my first, instant thoughts. The amount of space for the actual blocks is pretty small, and on my students computers it's even smaller. One of the issues I think is that the gifts take up too much space -
Spec
The Block Picker should be a single area. Currently it has 2 columns: one for the categories (left) and one for the blocks themselves (right).
Convert the category selector buttons (currently first column) into title bar buttons. When clicking a title bar button, the page scrolls to show the blocks of that category. There is no need for subcategory buttons (eg. Logic | Conditionals), just category (eg. Logic).
The title bar buttons should be icon only, with a tooltip for the category name. Each category must have its own distinguishable icon. And colored with the category color.
References
The text was updated successfully, but these errors were encountered: