Uh oh!
There was an error while loading. Please reload this page.
feat(dav): implement personal absence settings - #40767
Conversation
Uh oh!
There was an error while loading. Please reload this page.
| $this->initialState->provideInitialState('hide_absence', $hideAbsence); | ||
| if (!$hideAbsence) { | ||
| try { | ||
| $absence = $this->absenceMapper->findByUserId($this->userId); |
Check notice
Code scanning / Psalm
PossiblyNullArgument
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
st3iny
commented
Nov 7, 2023
Rebase round 2 to finally get green CI 🙃 |
nickvergessen
commented
Nov 10, 2023
Could this be moved into an OCS endpoint so talk mobile clients could set the OOO as well? |
ChristophWurst
commented
Nov 14, 2023
Good idea! #41458 |
| lastDay: formatDateAsYMD(this.lastDay), | ||
| status: this.status, | ||
| message: this.message, | ||
| }) |
There was a problem hiding this comment.
Should show success after this?
| async clearAbsence() { | ||
| this.loading = true | ||
| try { | ||
| await axios.delete(generateUrl('/apps/dav/settings/absence')) |
There was a problem hiding this comment.
Should show success after this?
tflidd
commented
Dec 11, 2023
For translation, I'm not 100% sure of the strings
I tend to the first option, but in this case it would make sense to define the different kind of absence status like in other software (e.g. busy, away, available, ....) |
nickvergessen
commented
Dec 11, 2023
The first one. the "Short" is set as "User status", the long one is shown in Mail and Talk close to the inputs iirc |
Summary
The new absence form is hidden/disabled by default. It has to be manually enabled via the app config
hide_absence_settings.The help texts and descriptions might some need more work once the feature is fleshed out.
TODO
Checklist