Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drtii 1557 min staff #1920

Merged
merged 103 commits into from
Nov 6, 2024
Merged

Drtii 1557 min staff #1920

merged 103 commits into from
Nov 6, 2024

Conversation

ngu04
Copy link
Contributor

@ngu04 ngu04 commented Sep 11, 2024

  • Add edit staff form for updating staffing
  • remove min staff implementation from 1st slice
  • also removing port config and adding terminal config for shift which we will using in next slice

Nilesh Gupta and others added 30 commits August 27, 2024 17:17
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
* DRTII-1557 Tidying

* DRTII-1557 Convert to backend component

* DRTII-1557 Start refactoring month staffing to fix state issues

* DRTII-1557 Finish refactoring monthly staffing. Fix planning page refreshes

* DRTII-1557 Send all shifts to frontend rather than one month

* DRTII-1557 Fix from main ticket branch
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
ngu04 and others added 10 commits October 29, 2024 08:27
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
* DRTII-1557 Store staff assignments in map to make updates really fast

* DRTII-1557 Add comparison of solutions

* DRTII-1557 Reinstate key

* removing commented and unsed content

Signed-off-by: Nilesh Gupta <[email protected]>

* fixing the test

Signed-off-by: Nilesh Gupta <[email protected]>

---------

Signed-off-by: Nilesh Gupta <[email protected]>
Co-authored-by: Rich Birch <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Copy link
Collaborator

@richbirch richbirch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one getting the functionality working.
A few things left:

  • Tidying
  • Consistent and clear naming
  • Remove dead code
  • Fix some dodgy logic

shared/src/main/scala/drt/shared/StaffAssignment.scala Outdated Show resolved Hide resolved
SplitUtil.scala Outdated Show resolved Hide resolved
Copy link
Collaborator

@richbirch richbirch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

ngu04 added 9 commits November 5, 2024 16:54
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
Signed-off-by: Nilesh Gupta <[email protected]>
@ngu04 ngu04 merged commit 320ac3d into master Nov 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants