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

Fix common widget Pose #431

Merged
merged 3 commits into from
Jul 7, 2022
Merged

Conversation

AzulRadio
Copy link
Contributor

@AzulRadio AzulRadio commented Jul 1, 2022

Signed-off-by: youhy haoyuan2019@outlook.com

Feature patch

Make changes for common widget GzPose.qml according to #424

Summary

Behavior should be exactly the same as before.

Can also be tested with gz-sim#1571

Checklist

  • Signed all commits for DCO
  • Added tests
  • 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.

Signed-off-by: youhy <haoyuan2019@outlook.com>
@github-actions github-actions bot added the 🏰 citadel Ignition Citadel label Jul 1, 2022
@codecov
Copy link

codecov bot commented Jul 1, 2022

Codecov Report

Merging #431 (7dc0373) into ign-gui3 (cc557e9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           ign-gui3     #431   +/-   ##
=========================================
  Coverage     66.12%   66.12%           
=========================================
  Files            29       29           
  Lines          3218     3218           
=========================================
  Hits           2128     2128           
  Misses         1090     1090           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cc557e9...7dc0373. Read the comment docs.

Copy link
Contributor

@jennuine jennuine left a comment

Choose a reason for hiding this comment

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

Left some comments from the original PR to help make it easier to track. This one needs to be addressed as well: #424 (comment)

include/ignition/gui/qml/GzPose.qml Outdated Show resolved Hide resolved
include/ignition/gui/qml/GzPose.qml Outdated Show resolved Hide resolved
@@ -66,6 +66,9 @@ Item {
*/
signal gzPoseSet(double _x, double _y, double _z, double _roll, double _pitch, double _yaw)

// Maximum spinbox value
property double spinMax: Number.MAX_VALUE


/*** The following are private variables: ***/
// Show Pose bar (used to control expand)
Copy link
Contributor

Choose a reason for hiding this comment

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

Continuing this conversation: #424 (comment)

If the parent is controlling show, then we should move it out of the private variables comment

Copy link
Contributor Author

Choose a reason for hiding this comment

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

More on this here: #424 (comment)

@chapulina chapulina added the OOBE 📦✨ Out-of-box experience label Jul 5, 2022
Signed-off-by: youhy <haoyuan2019@outlook.com>
@AzulRadio AzulRadio marked this pull request as ready for review July 6, 2022 20:32
@AzulRadio AzulRadio requested a review from chapulina as a code owner July 6, 2022 20:32
Signed-off-by: youhy <haoyuan2019@outlook.com>
@AzulRadio AzulRadio merged commit bc53940 into ign-gui3 Jul 7, 2022
@AzulRadio AzulRadio deleted the azulradio/common_widget_pose_fix branch July 7, 2022 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏰 citadel Ignition Citadel OOBE 📦✨ Out-of-box experience
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants