-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V3 add first names to project info (#913)
* Refactor consultants to a list and include first name in Sanity * Refactor project info to include first names
- Loading branch information
Showing
6 changed files
with
60 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,9 +55,28 @@ export const customerCaseProjectInfo = defineField({ | |
defineField({ | ||
name: "consultants", | ||
description: | ||
"The consultants enrolled in the project. Use employee emails (e.g. '[email protected]').", | ||
"The consultants enrolled in the project. Use employee emails and first names (e.g. '[email protected]' and Odd Morten).", | ||
type: "array", | ||
of: [{ type: "email" }], | ||
of: [ | ||
{ | ||
type: "object", | ||
title: "List of employees in project", | ||
name: "employeesInProjectList", | ||
fields: [ | ||
{ | ||
name: "employeeEmail", | ||
title: "Add employee email (e.g. [email protected])", | ||
type: "email", | ||
}, | ||
{ | ||
name: "employeeFirstName", | ||
title: | ||
"Add the first name(s) of the consultant corresponding to the email above. If there are multiple employees with the same name, feel free to include the initials of the last name (e.g. Odd Morten S.)", | ||
type: "string", | ||
}, | ||
], | ||
}, | ||
], | ||
}), | ||
defineField({ | ||
name: "collaborators", | ||
|