Skip to content
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

Quick start dialog #1252

Closed
chapulina opened this issue Dec 15, 2021 · 6 comments
Closed

Quick start dialog #1252

chapulina opened this issue Dec 15, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request GUI Gazebo's graphical interface (not pure Ignition GUI) OOBE 📦✨ Out-of-box experience

Comments

@chapulina
Copy link
Contributor

A user starting Gazebo for the first time may not know what to do after they run ign gazebo for the first time. An empty world shows up... And now what?

It's common for applications to offer an initial dialog with some quickstart options for beginners. These can range from simple examples to complex simulations, ready to be used out of the box.

Desired behavior

When a user opens ign gazebo for the first time, they see a dialog with options for loading example worlds, or even more complex worlds from Ignition Fuel, such as the Edifice or Fortress worlds. There should be a checkbox for the user to choose not to see the box in the future.

Alternatives considered

Besides letting the user load a world, we could also have some sort of instructions like a self-guided tutorial, so they walk through the interface and know where to poke around.

Implementation suggestion

We could try to get inspiration from other programs to design a dialog that's easy to use. I think we should have a handful of recommended entry points (3 or 4) more prominently placed, with thumbnails and whatnot, as well as a list of other examples available.

The setting for the user not to see the dialog in the future could be saved in a file under ~/.ignition/gazebo, similar to Gazebo classic's ~/.gazebo/gui.ini.

@chapulina chapulina added enhancement New feature or request GUI Gazebo's graphical interface (not pure Ignition GUI) labels Dec 15, 2021
@chapulina chapulina added the OOBE 📦✨ Out-of-box experience label Dec 20, 2021
@mayman99
Copy link
Contributor

mayman99 commented Apr 18, 2022

I've drafter sth like this, initial menu taken from blender.
Untitled presentation

I believe there is a place for one more item on the left side, but I'm not sure which option to add there, if we would like to add any.

For the photos, we could some random photos from our fuel worlds, and load one with the link to its world at run time

@chapulina
Copy link
Contributor Author

Thanks for the draft, @mayman99 !

One thing to consider is displaying thumbnails of some of the worlds that can be loaded. The ones installed with Gazebo don't have thumbnails, but the ones from Fuel do. We could curate a list of a few worlds that are featured with thumbnails, to start with those can be just the Edifice and Fortress worlds from Fuel. The installed worlds can stay in the dropdown.

One possible inspiration is the quickstart dialog here I didn't find a better screenshot, but see how there's a thumbnail for each example and a bit of text above it.

@mayman99
Copy link
Contributor

Sounds good, like the thumbnails idea.

@mayman99
Copy link
Contributor

mayman99 commented May 4, 2022

regarding the implementation (design not finished yet), just to go over what I think of how this could work, I'm planning of adding a QML component along side GazeboDrawer in src/gui, along side a C++ class. this QuickSetup QML would be started from Gui.cc and attached to a parent item like the background item or sideDrawer.

For saving the settings (don't show again setting), I'm thinking of adding a filed in the already existing gui.config.

I was considering implementing this as a GUI plugin instead, but I'm not sure if this is needed/better.

@chapulina
Copy link
Contributor Author

The plan sounds good to me. I don't think a plugin would be the best approach here since we want this to show up every time.

@chapulina
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GUI Gazebo's graphical interface (not pure Ignition GUI) OOBE 📦✨ Out-of-box experience
Projects
None yet
Development

No branches or pull requests

2 participants