jld3103
3e7a36b309
Make user status heartbeat API publicly accessible
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2022-07-21 13:07:34 +07:00
szaimen
e8b1740c96
use an en-dash for the userstatus panel
...
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-30 11:57:40 +07:00
Joas Schilling
1429a9a8ef
Also reset the status on clearAt
...
When you set yourself to "DND - In a meeting" for one hour,
the expectation is that you are also "online"/normal again
when the meeting is over. So we extend the logic to also include
the status itself to be reverted.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-27 11:32:53 +07:00
Joas Schilling
52737c029c
Don't overwrite certain values if the refreshing comes in via short updates
...
This e.g. happens from the talk participant list which only has the status, message and icon.
Due to the overwriting e.g. the clearAt was overwritten with null
and afterwards the status modal showed "Invalid date" as "Clear at"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-27 09:30:16 +07:00
Carl Schwan
6d883a8572
Fix various errors reported by eslint
...
And also make sure eslint doesn't try to index apps-extra that contains
other repo with not necessarely the same eslint rules
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 10:12:18 +07:00
Carl Schwan
c1499519d4
Improve accessibility with more visible focus indication for non vue apps
...
- Add visible-focus effect on each header entry
- Show focus outline when using focus-visible (keyboard navigation)
- Add polyfy for focus-visible since it's only very recently available
on webkit
- Change text for link to home button to describe the destination and
not the current page
- Improve focus effect in app sidebar navigation
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 13:21:48 +07:00
John Molakvoæ
fe47cf40da
Dashboard fixes
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-27 10:56:20 +07:00
Carl Schwan
ddc739b5ac
Retrieve user status only once when displaying page
...
We don't need to inject it in the template if the data is already
available in the initial state. This is also a bit cleaner.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-05 19:28:06 +07:00
Vanessa Pertsch
b0b138675a
quick fix for focus on userStatus button
...
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-03-23 14:15:33 +07:00
Vanessa Pertsch
383387f11c
fix: button type to tertiary
...
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-03-21 13:31:05 +07:00
Vanessa Pertsch
bf7150eae7
add new button component
...
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-02 14:33:44 +07:00
szaimen
1116529b56
fix all modals after vue 5.0
...
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-22 13:27:14 +07:00
Joas Schilling
40e141ee4a
Fix selecting user status, clear time and app password scope
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 09:11:42 +07:00
Louis Chemineau
e101882b92
Auto fix warnings
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +07:00
Louis Chemineau
14e57bf70a
Replace license information to SPDX expression
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +07:00
Louis Chemineau
9fc6cc9634
Add generic type and description when its missing
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +07:00
Louis Chemineau
d92cbf5149
Typing corrections
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +07:00
John Molakvoæ (skjnldsv)
dd7bf0f902
Fix dynamic loading
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:53 +07:00
John Molakvoæ (skjnldsv)
74b9803108
Eslint fix
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +07:00
John Molakvoæ (skjnldsv)
85bc851355
Delete outdated bundles
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:13:13 +07:00
szaimen
3c9b6f6809
improve status modal
...
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-30 12:25:54 +07:00
Carl Schwan
92fe694b7f
Fix multiple bugs with user status
...
* Fix editing the status while on a call, don't send a bogus request
* Clean backup user status when setting up a new status manually
* A bit more type hinting
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-23 12:21:42 +07:00
Carl Schwan
89112e5df9
Fix status menu item not listening to status change events
...
This makes it so that the status menu item listens to user_status:status.updated
events even when they are triggered outside of the user status modal.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-20 10:21:23 +07:00
Christopher Ng
3be9d3ca8f
Profile frontend
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-19 04:59:36 +07:00
Carl Schwan
134167ef3f
Add current status in navbar
...
This ports the code to vue and if the user_status app is disabled this
goes back to the previous behavior.
The Avatar vue components detects changes of the status automatically.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-15 20:57:58 +07:00
Valdnet
2eacf7fe1d
l10n: Correct a typo
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-10 15:44:24 +07:00
Valdnet
58a9a70650
l10n: l10n: Spelling unification
...
Spelling unification in Transifex.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-09-10 12:03:03 +07:00
Joas Schilling
e6b579351d
Fix "TypeError: e.t0.response is undefined" spam from user_status
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-20 16:56:34 +07:00
dependabot[bot]
6e5191b702
Bump @nextcloud/router from 1.2.0 to 2.0.0
...
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router ) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-router/releases )
- [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-23 15:56:28 +07:00
John Molakvoæ (skjnldsv)
7ca81f360f
Fix eslint and update bundles
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 13:21:25 +07:00
szaimen
cf8e380f65
make user status usable on mobile
...
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-09 09:30:56 +07:00
John Molakvoæ
6634112099
Fix jsdoc
...
Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
2021-06-17 10:45:23 +07:00
Joas Schilling
38d2f978a6
Save a request everytime we send the heartbeat
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-16 11:32:32 +07:00
Julius Härtl
a9d042deb1
Hide duplicate status in menu and bump bundles
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-27 17:57:17 +07:00
John Molakvoæ (skjnldsv)
3e624dc399
Bump js licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +07:00
Roeland Jago Douma
ea6a9594ca
Catch the error on heartbeat update
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-23 09:47:09 +07:00
Julius Härtl
f1c416da24
Make user status styles scoped
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-04 13:33:47 +07:00
Vincent Petry
08813f541d
UX improvements change status dialog
...
Focus on the custom message field after picking an emoji.
Hitting the enter key while in the custom message field now triggers
saving.
Disable save buttons while saving is in progress.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-20 12:19:00 +07:00
Vincent Petry
f7e1706022
Fix status clearing with initial empty value
...
When selecting an emoji but not specifying a message, the internal
message value was null which caused a server validation error on
sending.
This fixes the SetStatusModal to always work with an empty string
upfront, as this is the value the field would have if edited and cleared
manually.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-20 12:18:13 +07:00
Joas Schilling
97f9b18e9e
Show the full status and icon all the time
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 14:14:00 +07:00
Julius Härtl
0afccb5d9a
Show icon only with dnd status in the message
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-02 13:35:16 +07:00
John Molakvoæ (skjnldsv)
9dfea4e982
Fix subline hint
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-02 12:13:53 +07:00
Joas Schilling
e9c7fa0f04
Show the subline
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 09:31:43 +07:00
Jan C. Borchardt
56670fc904
Status: Add subline for Invisible to explain it properly
...
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-10-01 23:36:35 +07:00
Jan C. Borchardt
b1d0fd27c1
Enable scrollbar for too long content, same way as in Dashboard customize
...
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-10-01 23:34:19 +07:00
John Molakvoæ (skjnldsv)
f240794f2b
Move online status into modal
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-01 22:19:05 +07:00
Jan C. Borchardt
9a517d5b35
Change wording from 'custom status' to 'status message'
...
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-30 16:49:41 +07:00
Valdnet
cd808a31d0
l10n: Rename the directory for translations
...
The application gets the translation from l10n for the "Clear status after" text string.
2020-09-20 14:41:50 +07:00
Georg Ehrke
f4d49758ba
Emit event on status-change
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-14 20:05:27 +07:00
Raimund Schlüßler
6989200147
Change status popover container
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-09-08 08:05:15 +07:00