andrei
(Andrei Prigorshnev)
4 Octubre, 2022 10:16
1
With this announcement, we’re making publicly available a new feature that enables you to set a custom status message. After setting, that message will be shown next to your avatar on posts, in chat, on your user card etc.:
You can use it to let everyone know that you’re temporarily unavailable, are on a long vacation, or just to share your mood.
You can now test this feature on try.discourse.org
How to use it
To set custom status, go to the user menu and press the Set custom status button (this may look a bit different for you if you haven’t enabled the new user menu yet):
Then choose emoji and description, and, optionally, set an auto removing timer. For example, you can set status “ vacation” until Oct 9:
and everyone on the forum will see it. For example, on your posts:
To clear status, open the status modal and press the delete button:
How to enable it on your forum
To enable this feature, look for the enable user status
setting:
After enabling it everyone on your forum will be able to set a custom status message.
43 Me gusta
Tris20
(Tristan)
4 Octubre, 2022 10:10
18
Out of curiousity, has there been any investigation into synching this with outlook or ms teams? How can I access it with the api?
8 Me gusta
Canapin
(Coin-coin le Canapin)
4 Octubre, 2022 11:04
19
Cool feature.
I think I remember a similar feature, via a plugin, which allowed you to set hours of availability, It’s helpful on forums where you interact with people during their working hours.
But I can’t find it.
Anyways, do you plan to add recurring time spans so we could achieve the same thing?
4 Me gusta
Coin-coin le Canapin:
I think I remember a similar feature, via a plugin, which allowed you to set hours of availability, It’s helpful on forums where you interact with people during their working hours.
I wrote a simple one once, that allows you to visualise people’s relative working day: GitHub - paviliondev/discourse-team-timezones: A dashboard is placed at the top of specified category topic lists to show waking hours of specified group, e.g. staff
But there is a more sophisticated team solution, but its somewhat different.
6 Me gusta
mcwumbly
(Dave McClure)
4 Octubre, 2022 13:32
21
The idea of integrating it with calendars has come up. We haven’t really done much investigation, but expect there may be some complexity around authentication.
There’s the “do not disturb” feature, which has preferences for a “notification schedule” Do not disturb mode
We agree these features are closely related and may bring them closer together in the future, but they are separate at this time.
8 Me gusta
pfaffman
(Jay Pfaffman)
4 Octubre, 2022 15:55
22
With Reverse engineer the Discourse API ?
If outlook or whatever has webhooks you could conceivably make it update statuses in Discourse.
3 Me gusta
Tris20
(Tristan)
4 Octubre, 2022 17:21
24
That was my initial thought, but I’m not seeing many options:
I can see my username in the response but not the request. To me it looks like status can only be set by the user during an existing session. Am I missing something here? Is there a way to specify via api the username for setting status?
3 Me gusta
pfaffman
(Jay Pfaffman)
4 Octubre, 2022 18:33
26
I think you just use a global api key and pass the user you want to change as the user in the header.
4 Me gusta
RGJ
(Richard - Communiteq)
5 Octubre, 2022 10:39
28
Is it me or do those icons look misaligned (too low / aligned to bottom of text instead of top/middle)
7 Me gusta
andrei
(Andrei Prigorshnev)
5 Octubre, 2022 15:15
32
You’re right, currently it’s only possible to set the current user’s status, you’re not missing anything.
This feature is very young now, and we’re currently working on some further improvements to it that potentially may (or may not) lead to adding a server method that will let you set status of any user. I think it’s worth waiting a bit until we deliver more improvements to user status.
Yes, this definitely can be improved. I’ll take care of it, thank you for reporting!
8 Me gusta
riking
(Kane York)
8 Octubre, 2022 06:18
34
Great use for scoped API keys - either set-status for single user or whole site. status: In a meeting
10 Me gusta
kynic
11 Octubre, 2022 16:06
35
On mobile the emoji shows on left side why is that?
2 Me gusta
Either intentional or its a bug since its overflows. I don’t think it should be displayed there since it could be mistaken as a flair.
3 Me gusta
andrei
(Andrei Prigorshnev)
12 Octubre, 2022 16:38
39
Here is the fix:
discourse:main
← discourse:fix/status-emoji-alignment-on-posts
opened 02:03PM - 12 Oct 22 UTC
User status emojis on posts were misaligned, they were placed too low. This PR f… ixes it.
Before:
<img width="584" alt="Screenshot 2022-10-12 at 18 02 46" src="https://user-images.githubusercontent.com/1274517/195364032-621b1479-1847-44f6-a680-f42cbcb6fb50.png">
After:
<img width="589" alt="Screenshot 2022-10-12 at 18 02 33" src="https://user-images.githubusercontent.com/1274517/195364052-e5571966-9f99-4f24-9541-375eab4a3b39.png">
Here is the fix for this problem:
discourse:main
← discourse:fix/status-emoji-was-shown-on-the-left-on-mobile
opened 04:06PM - 12 Oct 22 UTC
Before:
<img width="455" alt="Screenshot 2022-10-12 at 20 04 28" src="https:/… /user-images.githubusercontent.com/1274517/195393305-e6d34d0a-b130-4a5f-86fc-11e413549cd1.png">
After:
<img width="456" alt="Screenshot 2022-10-12 at 20 04 11" src="https://user-images.githubusercontent.com/1274517/195393139-6549ef18-18eb-4221-a591-f41068a8f707.png">
9 Me gusta
kynic
15 Octubre, 2022 20:21
40
Thank you now it looks good
3 Me gusta
So, if I change the theme, the status is gone and I need to set it up again .
4 Me gusta
andrei
(Andrei Prigorshnev)
21 Octubre, 2022 21:26
42
@robotnjik , thank you for reporting this! I can reproduce it, looks like switching between any themes removes user status. I’ll fix it.
8 Me gusta
andrei
(Andrei Prigorshnev)
4 Noviembre, 2022 20:35
43
Turned out, status was getting cleared not only when switching a theme, but when editing pretty much any user preference except of status itself.
This fixes it:
discourse:main
← discourse:fix/do-not-clear-status-when-editing-user-preferences
opened 06:39PM - 04 Nov 22 UTC
The problem was [reported](https://meta.discourse.org/t/user-status/240335/42) a… s a problem with changing theme in user preferences, after saving a new theme the previously set user status was disappearing. Turned out though that the problem was more wide, changing pretty much any setting in user preferences apart from user status itself led to clearing the status.
9 Me gusta
andrei
(Andrei Prigorshnev)
25 Noviembre, 2022 13:12
44
This PR adds a REST API scope for user status:
discourse:main
← discourse:dev/api-scope-for-user-status
opened 10:15AM - 22 Nov 22 UTC
This adds API scope for the user status:
<img width="473" alt="image" src="ht… tps://user-images.githubusercontent.com/1274517/203367065-2ad79a55-fd45-416d-9a78-a2e273c0a54c.png">
This also adds a get method to the user status controller. We didn't need a dedicated method that returns status before because the server returns status with user objects, but I think we need to provide this method for API clients.
It’s possible now. Note, that you need to use an API key with the All Users level to do it:
More details about using Discourse REST API is here – Discourse REST API Documentation .
13 Me gusta
mattdm
(Matthew Miller)
29 Noviembre, 2022 04:22
45
Is there a webhook which fires when status is set?
5 Me gusta