Commit graph

47 commits

Author SHA1 Message Date
Maksim Sukharev
dee053693e fix(user_status): mount emoji picker outside of dialog
- fix overflow and scroll when emoji picker is open

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2026-02-19 11:52:55 +00:00
Ferdinand Thiessen
31592a6952
chore: fix vue/attribute-hyphenation ESLint rule
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-25 23:34:27 +01:00
Ferdinand Thiessen
70ca9cd841
chore: fix vue/v-on-event-hyphenation ESLint rule
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-25 23:34:22 +01:00
Grigorii K. Shartsev
fb44adc365 refactor(user_status): prepare for Vue 3 migration
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2025-11-26 14:05:37 +01:00
Ferdinand Thiessen
91f3b6b4ee
chore: adjust code to new codestyle
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 13:19:42 +02:00
Maksim Sukharev
47923b9d1c
style(user_status): adjust status modal styles
- remove modal name
- propagate box-sizing
- reduce gap between sections 12px -> 8px
- align icons vertically
- add hover effect to status labels

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-08-01 08:35:38 +02:00
Ferdinand Thiessen
b06f5ba4c4
refactor: Migrate nextcloud-vue usage to new import schema
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-20 02:28:13 +01:00
Ferdinand Thiessen
aea0e8df6a fix: Adjust more places for logical position
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-29 08:32:48 +00:00
Maksim Sukharev
f23875dcb1 fix(user_status): add link to Availability page if user set predefined 'Vacationing'
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-08-26 13:41:56 +02:00
Joas Schilling
50c48aa538
fix(userstatus): Don't set predefined user status as custom when changing "Clear at"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-15 14:39:56 +02:00
Andy Scherzinger
8d8891c5bc
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-30 15:49:33 +02:00
Christopher Ng
af215f6a11 fix(user_status): Fix status update request not being sent
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-24 12:35:07 +01:00
Christopher Ng
a6fac219ca fix(user_status): Fix losing focus to body when closing user status modal
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-01 11:37:40 -08:00
julia.kirschenheuter
558f5f97fc Add logic for predefined status to be visible.
Add styles for radio buttons to be visible in checked, active and focus-visible state.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-22 13:20:34 +02:00
Ferdinand Thiessen
663db2bb34 chore: Update nextcloud-vue to v8 beta2 and renamed changed properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:26 +02:00
Maksim Sukharev
bcb074a90d
wrap user status message input and buttons with native form
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-06-28 15:38:17 +02:00
Ferdinand Thiessen
349e12eb56 fix(user_status): Add missing radiogroup role to online status selector
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Ferdinand Thiessen
2133b0ecdd fix(user_status): Use role=radio for predefined statuses in online status modal
* Instead of tabable DIVs properly assign the radio role
* Set role to radiogroup of list container to group the predefined statuses

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Maksim Sukharev
7455df35e3
fix(status): Store locally status message when editing
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-04-18 15:06:29 +02:00
Joas Schilling
c90d414fdf
fix(status): Correctly set the message and predefined message using the store
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:12 +02:00
Joas Schilling
64776ff042
feat(user_status): Allow to manually revert an automated status
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:57:44 +02:00
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
5ab35aaa7a Fix user status message input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-20 16:24:15 -08: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
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
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
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
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
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
John Molakvoæ (skjnldsv)
74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +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
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 +00: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 +02: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 +02:00
John Molakvoæ (skjnldsv)
9dfea4e982
Fix subline hint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-02 12:13:53 +02:00
Joas Schilling
e9c7fa0f04
Show the subline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 09:31:43 +02: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 +02: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 +02: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 +02:00
Georg Ehrke
0fad921840
Add user-status app
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-31 16:45:27 +02:00