# 聊天里的奇怪开关

**URL:** https://meta.discourse.org/t/strange-switch-button-on-chat/275736
**Category:** Support
**Tags:** chat
**Created:** [2023年八月18日 19:49 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736 "2023-08-18T19:49:38Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)
#### Post date: [2023年八月18日 19:49 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/1 "2023-08-18T19:49:39Z")

</div>

我们的论坛上出现了这个，是新的“功能”吗？如何禁用它？

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/4/a/d4a9d399f6fac17be30fd02e1eb00d6fc3a3900e.png)

---

<div class="post-metadata">

### Author: ![twofoursixeight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twofoursixeight/32/574822_2.png) [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)
#### Post date: [2023年八月18日 19:50 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/2 "2023-08-18T19:50:51Z")

</div>

对我来说，这看起来像是 Discourse 的一项新功能

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [2023年八月18日 19:51 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/3 "2023-08-18T19:51:10Z")

</div>

我也能在 Meta 上复现这个问题，所以确实有问题。

注意：如果你无法复现，请在移动视图中查看论坛，然后打开聊天

---

<div class="post-metadata">

### Author: ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)
#### Post date: [2023年八月18日 19:52 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/4 "2023-08-18T19:52:55Z")

</div>

这是否是导致一切崩溃的原因？

> <https://github.com/discourse/discourse/commit/b2b84cc957367c467ec28b70af9c0e392ee8ecab>

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2023年八月18日 19:58 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/7 "2023-08-18T19:58:37Z")

</div>

哇，你已经开始运行了 🙂 出现了一些问题，提交被分成了两部分。应该在几小时内修复。

---

<div class="post-metadata">

### Author: ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)
#### Post date: [2023年八月18日 19:59 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/8 "2023-08-18T19:59:08Z")

</div>

有没有办法暂时禁用/隐藏它（也许使用主题组件）？

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2023年八月18日 20:00 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/9 "2023-08-18T20:00:18Z")

</div>

将此添加到您的主题：

```plaintext
.sidebar__panel-switch-button {
  display: none;
}

```

---

<div class="post-metadata">

### Author: ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)
#### Post date: [2023年八月18日 20:00 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/10 "2023-08-18T20:00:40Z")

</div>

> [@j.jaffeux](#):
>
> 出现了一些问题，提交被分成了两部分。

很高兴知道（起初我以为是工作人员的恶作剧，当我在日志中什么也没看到时，我感到很困惑）

---

<div class="post-metadata">

### Author: ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)
#### Post date: [2023年八月18日 20:00 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/11 "2023-08-18T20:00:59Z")

</div>

这会使聊天全屏时，非聊天侧边栏部分可见吗？

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2023年八月18日 20:01 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/12 "2023-08-18T20:01:25Z")

</div>

不，但对此的修复已合并。

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2023年八月18日 20:02 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/13 "2023-08-18T20:02:14Z")

</div>

我目前还在处理一些关于此的 bug 报告，因此接下来的几个小时内可能会有更多修复。

---

<div class="post-metadata">

### Author: ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)
#### Post date: [2023年八月18日 20:05 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/14 "2023-08-18T20:05:25Z")

</div>

我们最终能使用旧布局吗？我倾向于在阅读帖子时检查特定频道是否有新消息，而无法在查看主题时看到频道列表使这变得不可能。

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2023年八月18日 20:05 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/15 "2023-08-18T20:05:42Z")

</div>

是的，默认将保持不变

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2023年八月18日 22:04 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/17 "2023-08-18T22:04:48Z")

</div>

我认为现在应该可以了。

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2023年八月23日 20:39 UTC](https://meta.discourse.org/t/strange-switch-button-on-chat/275736/18 "2023-08-23T20:39:27Z")

</div>


