Sanjel-Energy-Services / eService_WorkItems

0 stars 0 forks source link

Crew Management - Employee Schedule Schedules update #88

Open JasonSchneider19 opened 1 year ago

JasonSchneider19 commented 1 year ago

Currently in the Crew Mgmt - Employee Schedule, we have 15&6 and 5&2. image There are a few more that need to be added: 10/4, 21/14 and 7/3-7/4

For 10/4 - This means that a person is working 10 days, gets 4 days off, works 10, 4 off etc image

21/4 - This means that a person is working 21 days, gets 4 days off, works 21, 4 off etc image

7/3-7/4 - This means that a person is working 7 days, gets 3 days off, works 7, 4 off and repeat - this one needs additional configuration. image Rotation Schedule - Logistics.xlsx

arcurve-cheryl-chan commented 1 year ago

@awangatsanjel I believe this is something you did for us in the past (added to the database somehow?). Do you want us to look into this?

awangatsanjel commented 1 year ago

Yes. This will a task on my side to create a mechnisam to support 7/3 & 7/4 schedule.

arcurve-cheryl-chan commented 1 year ago

OK, thanks Adam! I'll add the Sanjel tag to this and move it to the Ready column.

arcurve-cheryl-chan commented 1 year ago

We might need to update the Crew Mgmt - Employee Schedule page to show all the options as there will be too many to just have on the page as currently. @JasonSchneider19 do you have a preference on how you'd like this displayed?

awangatsanjel commented 1 year ago

@sairamk22

The duplicate checkboxes for 7&3/7&4 groups are correct, since this type of schedule template is a combined schedule. There is a flag IsCombinedSchedule can tell. You will need to change code to show only one of them. The key value is RotationIndex. When you do the refactoring, the orginal RotationTemplateId parameter needs to be changed to RotationIndex. For the existing rotations, RotationTemplateId and RotationIndex have same value. So the behavior won't be affected before you have 7&3/7&4 enabled.

arcurve-cheryl-chan commented 1 year ago

Jason will be getting some UX feedback for this today.

JasonSchneider19 commented 1 year ago

@arcurve-cheryl-chan the preference would be to have a "Shift Groups" that would create a hover to see all the colors. When hovering, would like it in the following order:

Image

This is in order of usage and importance. There are currently duplicates in the list and the colors need to be different. For 7&3/7&4 groups - please use Navy Ble/Dark Green Other groups pick some colors with all being different..... If we cannot hover, let me know

awangatsanjel commented 1 year ago

@JasonSchneider19 You can pick up the colors for each group. I can update the master data.

JasonSchneider19 commented 1 year ago

@awangatsanjel @arcurve-cheryl-chan Here are my color choices: • 15/6 x 3 – Leave colors as is • 7&3/7&4 (need 3 colors) Blue - 2C365E (44,54,94) Green - 0B6E4F (11,110,79) Engineering Orange - D00000 (208,0,0) • 21 & 14 (Need 5 Colors) Mint Green - BEE9E8 (190,233,232) Moonstone - 62B6CB (98,182,203) Indigo Dye - 1B4965 (27,73,101) Columbia Blue - CAE9FF ( 202,233,255) Picton Blue - 5FA8D3 (95,168,211) • 5&2 (leave black) • 10&4 (Need 2 colors) Byzantium - 7A306C (122,48,108) Cool Grey - 8E8DBE (142,141,190)

JasonSchneider19 commented 1 year ago

@arcurve-cheryl-chan If we are doing clicks to load the boxes, a click here would work too. Just have a crew legend name, click on it and bring up all the colors and shifts.

sairamk22 commented 1 year ago

@JasonSchneider19 I made all the changes mentioned. I've added crew and shiftgroups to a accordion. Please review this and let me know if this works

Image

JasonSchneider19 commented 1 year ago

@sairamk22 I think all we really need here is the legend. Keep this simple for reference

JasonSchneider19 commented 12 months ago

@sairamk22 Can we change this back to something like: (this is what i meant by the above comment)

Image

lets keep this simple please

sairamk22 commented 12 months ago

@JasonSchneider19 My bad. I will fix it right away

cameliabalan commented 12 months ago

Tested in the latest build #112 and the Shift Groups button displays the shifts and groups as shown in the picture above.