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

Create expanding type header to reduce code duplication #1169

Merged
merged 3 commits into from
Nov 6, 2021

Conversation

nkoenig
Copy link
Contributor

@nkoenig nkoenig commented Nov 5, 2021

Signed-off-by: Nate Koenig [email protected]

🎉 New feature

Summary

Reduce code duplication in component inspector QML files by adding an ExpandingTypeHeader.qml element.

Test it

Run the component inspector, and try expanding elements such as Pose and Light.

Checklist

Note to maintainers: Remember to use Squash-Merge

@nkoenig nkoenig requested a review from chapulina as a code owner November 5, 2021 20:42
Signed-off-by: Nate Koenig <[email protected]>
@github-actions github-actions bot added 🌱 garden Ignition Garden 🏯 fortress Ignition Fortress labels Nov 5, 2021
@codecov
Copy link

codecov bot commented Nov 5, 2021

Codecov Report

Merging #1169 (0e4e559) into ign-gazebo6 (a90bf42) will increase coverage by 0.02%.
The diff coverage is n/a.

❗ Current head 0e4e559 differs from pull request most recent head 6d1f58d. Consider uploading reports for the commit 6d1f58d to get more accurate results
Impacted file tree graph

@@               Coverage Diff               @@
##           ign-gazebo6    #1169      +/-   ##
===============================================
+ Coverage        62.15%   62.18%   +0.02%     
===============================================
  Files              256      256              
  Lines            20355    20355              
===============================================
+ Hits             12651    12657       +6     
+ Misses            7704     7698       -6     
Impacted Files Coverage Δ
src/SimulationRunner.cc 93.92% <0.00%> (+1.01%) ⬆️

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 a90bf42...6d1f58d. Read the comment docs.

@chapulina chapulina added the GUI Gazebo's graphical interface (not pure Ignition GUI) label Nov 5, 2021
Signed-off-by: Nate Koenig <[email protected]>
@iche033 iche033 changed the title Create exanpding type header to reduce code duplication Create expanding type header to reduce code duplication Nov 5, 2021
@nkoenig nkoenig merged commit 9e4b5e4 into ign-gazebo6 Nov 6, 2021
@nkoenig nkoenig deleted the exanding_header branch November 6, 2021 00:23
WilliamLewww pushed a commit to WilliamLewww/ign-gazebo that referenced this pull request Dec 7, 2021
* Create exanpding type header to reduce code duplication in the component inspector

Signed-off-by: Nate Koenig <[email protected]>

* Revert TypeHeader changes

Signed-off-by: Nate Koenig <[email protected]>

* Removed extra lines

Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>
Signed-off-by: William Lew <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress 🌱 garden Ignition Garden GUI Gazebo's graphical interface (not pure Ignition GUI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants