# 某些偏好设置选项卡缺少 PluginOutlet

**URL:** https://meta.discourse.org/t/missing-pluginoutlet-for-some-preference-tabs/274892
**Category:** Development
**Created:** [2023年八月12日 10:33 UTC](https://meta.discourse.org/t/missing-pluginoutlet-for-some-preference-tabs/274892 "2023-08-12T10:33:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pangbo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pangbo/32/538562_2.png) [@pangbo](https://meta.discourse.org/u/pangbo)
#### Post date: [2023年八月12日 10:33 UTC](https://meta.discourse.org/t/missing-pluginoutlet-for-some-preference-tabs/274892/1 "2023-08-12T10:33:28Z")

</div>

我即将向 preferences 的 Tracking 选项卡添加一个新设置，但在 [tracking.hbs](https://github.com/discourse/discourse/blob/7ca5ee6cd2bcde191a192d9c3aa8bb6a6c3a4166/app/assets/javascripts/discourse/app/templates/preferences/tracking.hbs) 中没有找到任何 PluginOutlets。我检查了其他选项卡，像 interface、emails 这样的选项卡有 `user-preferences-interface` 这样的 PluginOutlets，但 categories、tracking 没有。

这让我非常困惑，我想知道这是设计如此吗？如果不是，是否有可能为这些选项卡添加 PluginOutlet？

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2023年八月12日 12:50 UTC](https://meta.discourse.org/t/missing-pluginoutlet-for-some-preference-tabs/274892/2 "2023-08-12T12:50:38Z")

</div>

你可以尝试提交一个 PR 来添加它。我认为那些通常会被接受。
