-
Notifications
You must be signed in to change notification settings - Fork 4
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
Ability to have engagements where the Intern/Language is uncertain. #2834
Conversation
…n that can be set when the specific intern/language is unknown for an engagement as of yet.
…l checks to update, and the rest of the CRUD operations and dtos handle nameWhenUnknown and optional language/intern ids.
🗞 GraphQL SummaryView schema changes@@ -559,9 +559,9 @@
countryOfOriginId: ID
disbursementCompleteDate: Date
endDateOverride: Date
growthPlan: CreateDefinedFileVersionInput
- internId: ID!
+ internId: ID
mentorId: ID
methodologies: [ProductMethodology!]
position: InternshipPosition
projectId: ID!
@@ -605,9 +605,9 @@
disbursementCompleteDate: Date
endDateOverride: Date
firstScripture: Boolean
historicGoal: String
- languageId: ID!
+ languageId: ID
lukePartnership: Boolean
"""
This is the methodology that will be set on products extracted out of the pnp.
@@ -1374,8 +1374,18 @@
initialEndDate: SecuredDateNullable!
lastReactivatedAt: SecuredDateTime!
lastSuspendedAt: SecuredDateTime!
modifiedAt: DateTime!
+
+ """
+ Automatically set when we know what kind of engagement this is, but not
+ specifically what language/intern this is engaged to.
+ This is only set when the id this is engaged to is not defined.
+ For example, if this is a language engagement but the language is
+ unknown, the language ID would be null and this value would be set.
+ Once an ID for language is set, this value would be set to null again.
+ """
+ nameWhenUnknown: SecuredStringNullable!
parent: Project!
project: Project!
"""Based on the project's sensitivity"""
@@ -1956,8 +1966,18 @@
lastSuspendedAt: SecuredDateTime!
mentor: SecuredUser!
methodologies: SecuredMethodologies!
modifiedAt: DateTime!
+
+ """
+ Automatically set when we know what kind of engagement this is, but not
+ specifically what language/intern this is engaged to.
+ This is only set when the id this is engaged to is not defined.
+ For example, if this is a language engagement but the language is
+ unknown, the language ID would be null and this value would be set.
+ Once an ID for language is set, this value would be set to null again.
+ """
+ nameWhenUnknown: SecuredStringNullable!
parent: InternshipProject!
position: SecuredInternPosition!
project: Project!
@@ -2267,8 +2287,18 @@
lukePartnership: SecuredBoolean!
modifiedAt: DateTime!
"""
+ Automatically set when we know what kind of engagement this is, but not
+ specifically what language/intern this is engaged to.
+ This is only set when the id this is engaged to is not defined.
+ For example, if this is a language engagement but the language is
+ unknown, the language ID would be null and this value would be set.
+ Once an ID for language is set, this value would be set to null again.
+ """
+ nameWhenUnknown: SecuredStringNullable!
+
+ """
The progress report due next. This is the period currently in progress.
"""
nextProgressReportDue: SecuredProgressReport!
openToInvestorVisit: SecuredBoolean!
@@ -6205,8 +6235,11 @@
disbursementCompleteDate: Date
endDateOverride: Date
growthPlan: CreateDefinedFileVersionInput
id: ID!
+
+ """Leave null/undefined if intern is not known yet."""
+ internId: ID
mentorId: ID
methodologies: [ProductMethodology!]
position: InternshipPosition
startDateOverride: Date
@@ -6252,8 +6285,11 @@
endDateOverride: Date
firstScripture: Boolean
historicGoal: String
id: ID!
+
+ """Leave null/undefined if language is not known yet."""
+ languageId: ID
lukePartnership: Boolean
"""
This is the methodology that will be set on products extracted out of the pnp.
|
Requirements: Need to be able to add a Language or Intern engagement without specifying the language or intern because there are times in a project when other engagement details are developing but the language or intern itself if unknown. There are also times when an incorrect language or intern is inadvertently added, and right now the only way to correct it is either deleting the engagement and creating a new one with the correct language or intern, or by going straight to the db to establish the correct connections. The solution to these problems is by letting a user create an engagement without necessarily specifying the intern or language, and then letting the user update the engagement later on in the engagement’s detail page. When asked about how to distinguish between multiple unknown engagements, Seth said he wanted some sort of arbitrarily generated name for each unknown language/intern (perhaps Language 1,2,3, Intern 1,2,3 or Language A,B,C etc).
|
…rep to pending consultant endorsement that there are no unknown engagements.
@CarsonF Ready at your convenience. |
This lived to the end of its lifetime and died |
Closes SeedCompany/cord-field#1121
┆Issue is synchronized with this Monday item by Unito