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

Add performer deathdate #856

Merged
merged 3 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions frontend/src/components/editCard/ModifyEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export interface PerformerDetails {
gender?: GenderEnum | null;
disambiguation?: string | null;
birthdate?: string | null;
deathdate?: string | null;
career_start_year?: number | null;
career_end_year?: number | null;
height?: number | null;
Expand Down Expand Up @@ -199,6 +200,12 @@ export const renderPerformerDetails = (
oldValue={oldPerformerDetails?.birthdate}
showDiff={showDiff}
/>
<ChangeRow
name="Deathdate"
newValue={performerDetails.deathdate}
oldValue={oldPerformerDetails?.deathdate}
showDiff={showDiff}
/>
<ChangeRow
name="Eye Color"
newValue={
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/graphql/fragments/EditFragment.gql
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ fragment EditFragment on Edit {
...URLFragment
}
birthdate
deathdate
ethnicity
country
eye_color
Expand Down Expand Up @@ -193,6 +194,7 @@ fragment EditFragment on Edit {
disambiguation
gender
birthdate
deathdate
ethnicity
country
eye_color
Expand Down
1 change: 1 addition & 0 deletions frontend/src/graphql/fragments/PerformerFragment.gql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ fragment PerformerFragment on Performer {
aliases
gender
birth_date
death_date
age
height
hair_color
Expand Down
1 change: 1 addition & 0 deletions frontend/src/graphql/queries/Draft.gql
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ query Draft($id: ID!) {
aliases
gender
birthdate
deathdate
urls
ethnicity
country
Expand Down
1 change: 1 addition & 0 deletions frontend/src/graphql/queries/EditUpdate.gql
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ query EditUpdate($id: ID!) {
disambiguation
gender
birthdate
deathdate
ethnicity
country
eye_color
Expand Down
Loading
Loading