gazebosim/gz-gui

Option to blacklist plugins from showing on the menu

开放

#290 创建于 2021年9月24日

 (0 条评论) (0 个反应) (0 位负责人)C++ (68 个派生)auto 404
enhancementhelp wanted

仓库指标

星标
 (103 个星标)
PR 合并指标
 (平均合并 8小时 31分钟) (30 天内合并 3 个 PR)

描述

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.

贡献者指南