-
Notifications
You must be signed in to change notification settings - Fork 44
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
Offer a way to disable warnings on marker manager #326
Conversation
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-gui6 #326 +/- ##
============================================
- Coverage 65.76% 65.74% -0.02%
============================================
Files 34 34
Lines 4761 4767 +6
============================================
+ Hits 3131 3134 +3
- Misses 1630 1633 +3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor style issue
Signed-off-by: Louise Poubel <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
* Added log storing for ign-gui (#272) Signed-off-by: Nikhil Nair <[email protected]> Signed-off-by: Louise Poubel <[email protected]> Co-authored-by: Louise Poubel <[email protected]> * Don't crash if a plugin has invalid QML (#315) Signed-off-by: Louise Poubel <[email protected]> * Set marker point size from message (#317) Signed-off-by: Louise Poubel <[email protected]> * Don't set visual scale for point markers (#321) Signed-off-by: Louise Poubel <[email protected]> * Fix TopicEcho plugin message display (#322) - Change binding of width property in delegate (see: https://stackoverflow.com/questions/63767669/parent-is-null-in-listview-delegate-after-upgrade-to-qt-5-15) - Use scoped reference to model.display (see: https://forum.qt.io/topic/92085/using-qstringlistmodel-as-model-in-listview) Signed-off-by: Rhys Mainwaring <[email protected]> * Use qmldir to define QML module with IgnSpinBox (#319) Signed-off-by: William Wedler <[email protected]> Co-authored-by: Louise Poubel <[email protected]> * Add PreRender event to MinimalScene (#325) Signed-off-by: Louise Poubel <[email protected]> * Offer a way to disable warnings on marker manager (#326) Signed-off-by: Louise Poubel <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> * Fix codecheck (#329) Signed-off-by: Louise Poubel <[email protected]> * Fix codecheck (#332) Signed-off-by: Louise Poubel <[email protected]> * Grid config: set values from startup and improve layout (#324) Signed-off-by: Louise Poubel <[email protected]> Co-authored-by: Nikhil Nair <[email protected]> Co-authored-by: Rhys Mainwaring <[email protected]> Co-authored-by: Will <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> Co-authored-by: Jenn Nguyen <[email protected]>
🎉 New feature
Summary
Sometimes it's nice to treat the marker actions as idempotent, so performing the same action multiple times is not an error. But for other use cases, it may be expected that actions like deleting an nonexistent marker are mistakes. So I added a way of disabling the warnings while maintaining the default behaviour.
Test it
Try to delete markers in a nonexistent namespace. By default you'll see a warning, but if you add
<warn_on_action_failure>false</warn_on_action_failure>
to the plugin, then no warning is printed.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸