gazebosim/gz-gui

Option to blacklist plugins from showing on the menu

オープン

#290 opened on 2021/09/24

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (68 件のフォーク)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (103 個のスター)
PR merge metrics
 (PR metrics pending)

説明

We have a way of whitelisting the plugins that we want to show on the menu with <window><plugins><show>, as explained on this tutorial. It would be nice to have a way of blacklisting a few plugins too.

Desired behavior

All plugins from the paths are shown on the menu except for the ones explicitly blacklisted.

Alternatives considered

:thinking:

Implementation suggestion

Similar to the show implementation here:

https://github.com/ignitionrobotics/ign-gui/blob/1cad501ad0c7da9f7811efa75ed3af80e5ee6a07/src/MainWindow.cc#L465-L472

We could have a hide.

We should make sure it plays well with show and from_paths.

Additional context

It would be nice to blacklist plugins we don't want users to try out yet, or plugins that don't work well when inserted from the menu.

コントリビューターガイド