Commit graph

83 commits

Author SHA1 Message Date
John Molakvoæ
8633f13e0a
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
Christopher Ng
86ddc3f3bb Port clear user status select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-28 17:19:06 -08:00
Christopher Ng
c77998209f Port user menu to Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-09 17:54:59 -08:00
jld3103
1f49a56a98
Fix user_status heartbeat response
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-01-25 07:16:26 +01:00
Christopher Ng
5ab35aaa7a Fix user status message input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-20 16:24:15 -08:00
Joas Schilling
5506229d76
fix(user_status): Allow to use enter to complete characters without automatically closing the modal
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-12 16:57:37 +01:00
Joas Schilling
f998fe0af3
Update the user status dashboard widget and fix the icon color
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-02 11:38:27 +01:00
julia.kirschenheuter
af14bbbbbc Change header semantic in the user status dialog
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-29 07:29:45 +00:00
julia.kirschenheuter
e056cd621d User status dialog a11y: make different focus and active state for OnlineStatusSelect and PredefinedStatus
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-17 17:08:24 +00:00
Carl Schwan
a18f5e76d5 Make css rule important
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-18 08:13:01 +00:00
Carl Schwan
7d35e2223b Fix vertical alignment of user status icon
Now it is properly centered even if the font size is bigger (when using
the dislexia font)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 16:09:26 +02:00
John Molakvoæ (skjnldsv)
009700f16e Fix invisible status
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-09-29 17:55:44 +00:00
John Molakvoæ (skjnldsv)
21fd2d8317 Fix user status emoji picking
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-09-28 18:42:13 +00:00
Carl Schwan
3fcb05e900
Port Profile section checbox to NcCheckoxRadioSwitch component
Improve accessibility and unify the design

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 15:38:20 +02:00
Carl Schwan
f3ec1d3a9f
Fix user status in the top bar with dark theme
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 13:37:52 +02:00
Julius Härtl
4beae14fee
Avoid using lists if there are none on the dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-29 08:05:51 +02:00
Julius Härtl
ce9c0b5e30
Fix status button background on dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-29 08:05:51 +02:00
Carl Schwan
f1ce2c2b93
Fix rebasing issues and improve profile settings page a bit more
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:51:10 +02:00
Carl Schwan
1d35a53991
More dark theme fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Carl Schwan
2f30d3227f
Various fixes
- Fix user status dialog
  - Add label where missing
  - Move emoji picker inside input field (similar to talk)
  - Fix selecting an emoji
- Fix multiselect
- Fix button with confirmation action
- Fix some other unrelated dark theme issues
- Fix select2 focus
- Run npm lint:fix

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Vincent Petry
d0473214cd
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:00 +02:00
Vincent Petry
7080187958
Bump @nextcloud/vue to 6.0.0-beta.3 and related
Update @nextcloud/vue to 6.0.0-beta.3
Update vue and vue-template-compiler to 2.7.8
Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:37:46 +02:00
jld3103
3e7a36b309
Make user status heartbeat API publicly accessible
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2022-07-21 13:07:34 +02: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 +00: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 +02: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 +02: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 +02: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 +02: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 +00: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 +02: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 +01:00
Vanessa Pertsch
383387f11c fix: button type to tertiary
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-03-21 13:31:05 +01: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 +00: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 +00: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 +01:00
Louis Chemineau
e101882b92
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +01:00
Louis Chemineau
14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01: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 +01:00
Louis Chemineau
d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +01:00
John Molakvoæ (skjnldsv)
dd7bf0f902
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:53 +01:00
John Molakvoæ (skjnldsv)
74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +01:00
John Molakvoæ (skjnldsv)
85bc851355
Delete outdated bundles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:13:13 +01: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 +00: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 +01: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 +02: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 +00: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 +02: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 +00: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 +02: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 +02:00