Add functionality to check if category is non cla (AKA family)
Disables the assign tab if the category is family and prevents it from being accessed. Also writes a message on the banner near the of the screen (pictured below)
Rebased off the other ticket. The commits for this branch start from f1bd484
Any other changes that would benefit highlighting?
Error message
Will give Rosie and Sannah a demo to find out what they think of the error message and get possible suggestions on what it could be.
Picture of message written after clicking on the assign tab and the category is family
Extra commits
Rebased off the other ticket as it contained the family_feature_flag code.
AssignProviderValidation code
Also realised we have a service called AssignProviderValidation. Will be looking to make sure of this next time I work on this.
Update: Decided not to use this in the end since it was for validating certain input fields have values. Now adding logic to this felt unnecessary and like I was overcomplicating things.
Checklist
[x] Provided JIRA ticket number in the title, e.g. "LGA-152: Sample title"
What does this pull request do?
assign
tab if the category is family and prevents it from being accessed. Also writes a message on the banner near the of the screen (pictured below)f1bd484
Any other changes that would benefit highlighting?
Error message
Will give Rosie and Sannah a demo to find out what they think of the error message and get possible suggestions on what it could be.
Picture of message written after clicking on the
assign
tab and the category is familyExtra commits
Rebased off the other ticket as it contained the
family_feature_flag
code.AssignProviderValidation code
Also realised we have a service called
AssignProviderValidation
. Will be looking to make sure of this next time I work on this.Update
: Decided not to use this in the end since it was for validating certain input fields have values. Now adding logic to this felt unnecessary and like I was overcomplicating things.Checklist