csoc-de / Shifts

MIT License
30 stars 7 forks source link

Defining an hourly shift function #41

Open hscs-it opened 1 year ago

hscs-it commented 1 year ago

The app is a great idea, but unfortunately, it has never worked for me "cloudn't fetch data": NC 26 and 27 versions. It would be fantastic if you could create hourly shifts and assign them to other users. This feature would be very helpful for larger organizations

csoc-kevink commented 1 year ago

Hey, did you create a calendar for the shifts, an admin and analyst (user) group as well as a separate group for each level? shifts_groups

In the admin panel you can set the names of the calendar and groups: shifts_settings

Currently a shift cannot be repeated hourly. As a workaround you can create a shift with a length of one hour an repeat it every day. We will look into this feature

hscs-it commented 1 year ago

@csoc-kevink Thanks, It actually worked! My bad for not realizing that I needed to set up User Groups to make it function.

And I've got another idea for a cool feature – wouldn't it be awesome if I could give a user more than just one shift? I tried it, but when I checked the interface, it seemed like only one shift per user was doable.

csoc-kevink commented 1 year ago

I think we will update the Readme to include a full setup guide and add a FAQ ^^

Do you mean the same shift type multiple times for one user or multiple differen shifts for one user? I think the second one is already possible. The first i need to test, but what would be the benifit of assigning the same shift type multiple times to one user?

hscs-it commented 1 year ago

I mean:

  1. multiple different shifts to a User
  2. Same shift type to multiple users

Benefits:

  1. I can assign a user multiple services/Shifts such as telephone service availability and on-site availability to a specific location/workplace etc.
  2. It is possible that multiple users have the same shift, such as telephone service.

And it would be also great if I can see who changed the Shifts. Thanks a lot @csoc-kevink

csoc-kevink commented 1 year ago

I think that is already possible. You can configure a shift more than once a day and you can assign different shifts to the same user: multishift_shifts

multishift2_shifts

A logging feature would be nice. I will add it to our todo :+1:

mrdmiller2 commented 1 year ago

Apparently even with me creating the groups and Calendar's needed.. it's still giving the "Could not fetch data error" message.

This is running Nextcloud 27.1.2

A thought occurs, do the group names have to be as default or can they be custom as I have them here:

Untitled