Repository navigation
Status overview #20931
Description
Activity
- added1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care of
on May 11, 2020 It would be nice to set a certain time span or end date for a status, e.g. "Holiday until 17.05.2020".
@go2s Yes, the plan is to have a "Clear status in 1 hour / 1 day / 1 week" feature.
Reacted by bpcurse, Christoph Wurst, BornToBeRoot and KaiHoliday
Nitpick: this is a bit specific. How about unavailable, which covers vacation, out of office and being sick
Reacted by Georg Ehrke and Lars BeckerI think the reason, why someone is unavailable, provides a good value for communication, because you can express a grading. If someone is sick or on vaction, you might get no answere, but if someone is out of office, or doing homeoffice, you might get answer.
Reacted by Christoph WurstFair enough, out of office does not mean unavailable. But being sick, public holiday and vacation can be seen as unavailable IMO :)
@go2sh You will have the ability to set a custom icon and custom message like
🌴 On Vacationor🤒 On sick leave.The status should really be on a lower level:
- 🟢 Available
- 🟠 Busy (e.g. in a meeting right now, but i will be available after)
- 🔴 Unavailable.
Reacted by Christoph Wurst, Christoph Seitz and BornToBeRootAh nice, that wasn't clear to me. :-)
So for mobile it would be great to have it in:
- propfind "nc:sharees" of files/folders, so that we can directly show it in file list
- search for users when sharing (should be "ocs/v2.php/apps/files_sharing/api/v1/sharees")
Reacted by Georg Ehrke@rullzer @jancborchardt Should the user-status be visible on public pages as well or should it only be visible to other users?
2 remaining items
Let's keep this open to track further improvements and client parity.
ToDo for a follow-up PR:
- inject user-status into share search endpoint
- The invisible icon is black on dark background when dark theme is used.
- Add Max length to input field
Notes from @jancborchardt:
- Status indicator icon overlaid on your own avatar in the top right
- In the avatar menu which opens when you click on another person's avatar
- In Talk in the Participants list as a subline
- In sharing as a subline
- In the sharing suggestion dropdown as a subline
- In the Dashboard below the title
Reacted by KaiPHP API: #22106
Followup PR: #22109
Pull-Request in Nc/Vue:nextcloud-libraries/nextcloud-vue#1259
@azul That is an issue in the devtools, see vuejs/devtools-v6#430.
Vuex itself will work correctly though.
Edit: you can just disable User Status in the apps management, if it's causing too many issues for you
Reacted by azul@georgehrke You're right - it's just in the dev tools. The issue in my code was a different one. Thanks for the hints. 😄
Summary
It would be nice if in your Nextcloud you could relay your own status to other users. So they know what you are doing.
Details
A lot of modern communication platforms have statuses. Something like that would be useful for Nextcloud as well. That way you can signal that you are busy, on holiday, on site somewhere etc.
To be extended
API
Details
DB:
user_statusid(unsigned int, not null, autoincrement)user_id(string, not null)status_type(string, not null) => available, busy, unavailablestatus_icon(string) => 1 unicode charactermessage(string) => custom messagecreated_at(unsigned int, not null) => unixtimeclear_at(unsigned int) => unixtimeAPI spec (OCS):
Req:
GET /ocs/v1.php/cloud/capabilitiesRes:
Req:
GET /ocs/v1.php/apps/user_status/api/v1/statusesRes:
Allowed parameters:
limitoffsetReq:
GET /ocs/v1.php/apps/user_status/api/v1/statuses/adminRes:
Req:
GET /ocs/v1.php/apps/user_status/api/v1/statusRes:
Set a new status:
Req:
PUT /ocs/v1.php/apps/user_status/api/v1/statusClear status:
Req:
DELETE /ocs/v1.php/apps/user_status/api/v1/statusNotes on privacy:
The APIs should respect the sharing privacy settings. (e.g. only allow to fetch status within own groups, etc.)
Acceptance criteria
To be extended.