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 #1536

Merged
merged 92 commits into from
Aug 2, 2022
Merged

Quick start dialog #1536

merged 92 commits into from
Aug 2, 2022

Conversation

mayman99
Copy link
Contributor

@mayman99 mayman99 commented Jun 14, 2022

🎉 New feature

depends on ign-gui418

Closes #1252
ezgif com-gif-maker (4)
ezgif com-gif-maker (3)

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Mohamad added 10 commits May 7, 2022 11:11
Signed-off-by: Mohamad <mohamad@openrobotics.org>
wip
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
@chapulina chapulina added 🏰 citadel Ignition Citadel OOBE 📦✨ Out-of-box experience labels Jun 14, 2022
Mohamad added 2 commits June 15, 2022 12:22
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
@chapulina chapulina added the needs upstream release Blocked by a release of an upstream library label Jun 15, 2022
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did a high-level initial review, with some suggestions

src/gui/CMakeLists.txt Outdated Show resolved Hide resolved
src/ign.cc Outdated Show resolved Hide resolved
src/ign.cc Outdated Show resolved Hide resolved
src/ign.cc Outdated Show resolved Hide resolved
src/ign.cc Outdated Show resolved Hide resolved
src/gui/resources/QuickSetup.qml Outdated Show resolved Hide resolved
src/gui/Gui.cc Outdated Show resolved Hide resolved
src/gui/Gui.cc Outdated Show resolved Hide resolved
src/gui/resources/QuickSetup.qml Outdated Show resolved Hide resolved
src/ign.cc Outdated Show resolved Hide resolved
src/gui/QuickSetup.hh Outdated Show resolved Hide resolved
Mohamad added 10 commits June 16, 2022 10:52
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
@mayman99 mayman99 self-assigned this Aug 1, 2022
@chapulina
Copy link
Contributor

I couldn't reproduce it thinking

I can try again soon. Did you try deleting ~/.ignition/gazebo/gui.config, then opening Gazebo and choosing the empty world?

@mayman99
Copy link
Contributor Author

mayman99 commented Aug 1, 2022

I couldn't reproduce it thinking

I can try again soon. Did you try deleting ~/.ignition/gazebo/gui.config, then opening Gazebo and choosing the empty world?

I see, I could reproduce it when the gui.config is deleted 👍

chapulina and others added 5 commits August 1, 2022 21:45
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Mohamad <mohamad@openrobotics.org>
src/gui/Gui.cc Show resolved Hide resolved
@mayman99
Copy link
Contributor Author

mayman99 commented Aug 2, 2022

Thanks for the quick fix!, I went through the changes and it lgtm

Signed-off-by: Louise Poubel <louise@openrobotics.org>
@chapulina chapulina added the needs upstream release Blocked by a release of an upstream library label Aug 2, 2022
@chapulina chapulina mentioned this pull request Aug 2, 2022
7 tasks
@mayman99
Copy link
Contributor Author

mayman99 commented Aug 2, 2022

did a quick test run and nothing seems to be broken

Signed-off-by: Louise Poubel <louise@openrobotics.org>
@chapulina chapulina removed the needs upstream release Blocked by a release of an upstream library label Aug 2, 2022
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ready to go! 🚀 I added an automated test and also checked these scenarios manually:

  • Loading ign gazebo after rm -rf ~/.ignition/gazebo/
  • Choosing not to show again updates ~/.ignition/gazebo/gui.config and works the next time simulation is open
  • Choosing Fuel worlds (all 5 work)
  • Choosing installed worlds
  • Choosing the empty world
  • Passing a custom --gui-config
    • Checked that its show_again value is read and updated correctly
    • That config is used instead of the one in the chosen file
  • Ctrl+C on the terminal with the quick start open doesn't load the main window
  • Closing the quick start dialog loads the blank world
  • Searching for worlds

Signed-off-by: Louise Poubel <louise@openrobotics.org>
EXPECT_TRUE(handler->ShowAgain());

handler->SetStartingWorld("banana");
EXPECT_EQ("banana", handler->StartingWorld());
Copy link
Contributor Author

@mayman99 mayman99 Aug 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍌 🍌
test looks very good 👍

Signed-off-by: Louise Poubel <louise@openrobotics.org>
@chapulina chapulina merged commit 2edbf56 into ign-gazebo3 Aug 2, 2022
@chapulina chapulina deleted the quick_setup_menu branch August 2, 2022 22:55
@chapulina chapulina mentioned this pull request Aug 3, 2022
@chapulina
Copy link
Contributor

I made a change on bf32363 to improve the tests, and that actually broke usage 🤦🏽‍♀️ Looking into it.

@chapulina chapulina mentioned this pull request Aug 3, 2022
8 tasks
@chapulina
Copy link
Contributor

@chapulina chapulina mentioned this pull request Aug 11, 2022
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏰 citadel Ignition Citadel enhancement New feature or request OOBE 📦✨ Out-of-box experience
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants