# “外出办公”用户指示器

**URL:** <https://meta.discourse.org/t/out-of-office-user-indicator/228096>\
**Category:** Feature\
**Created:** [2022 年5 月 25 日 17:22 UTC](https://meta.discourse.org/t/out-of-office-user-indicator/228096 "2022-05-25T17:22:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2022 年5 月 27 日 00:47 UTC](https://meta.discourse.org/t/out-of-office-user-indicator/228096/4 "2022-05-27T00:47:51Z")

</div>

@andrei 正在为 Discourse 中的“用户状态”开发官方支持，请参阅：

> <https://github.com/discourse/discourse/pull/16875>
>
> This PR adds custom user status to Discourse. The feature is turned off by defau…lt. To enable it, set the hidden site setting \`enable\_user\_status\`.
> 
> Use this button to set custom status:
> \<img width="250" alt="Screenshot 2022-05-19 at 22 43 35" src="https://user-images.githubusercontent.com/1274517/169376963-dbf07269-9346-44ce-850b-81a7b8a003da.png"\>
> 
> Then enter status on the opened modal:
> 
> \<img width="250" alt="Screenshot 2022-05-19 at 22 43 44" src="https://user-images.githubusercontent.com/1274517/169377183-d884bcec-8199-4e0c-87c6-dd4f341aa04c.png"\>
> 
> For now, it's possible to set only text status, the PR that'll allow adding emoji to status will follow soon. Unless it's implemented, user status will be shown everywhere with the fallback emoji – :mega:.
> 
> This PR adds rendering status on the user avatar in the header:
> 
> \<img width="178" alt="Screenshot 2022-05-19 at 22 51 05" src="https://user-images.githubusercontent.com/1274517/169379282-2cd3153e-28b4-4f74-a690-0320efe92dc7.png"\>
> 
> and on the user card:
> 
> \<img width="400" alt="Screenshot 2022-05-19 at 22 58 13" src="https://user-images.githubusercontent.com/1274517/169380933-a03825a5-4c99-4d58-a65c-e7497f57edc0.png"\>
> 
> Also, when status is set, it's shown on the \<kbd\>Set custom status\</kbd\> button on the user menu:
> \<img width="250" alt="Screenshot 2022-05-19 at 22 58 27" src="https://user-images.githubusercontent.com/1274517/169381004-5d1befbe-a307-451e-aaab-fb644f2d88e5.png"\>

希望我们能尽快实现！

---

_[View the full topic](https://meta.discourse.org/t/out-of-office-user-indicator/228096)._
