diff --git a/webui/src/components/Author.tsx b/webui/src/components/Author.tsx
index 272ca5b515be2f89c065296b86b12b75c61c1e1a..593b5d361bb010e1612f4c4b8cf20a233613d120 100644
--- a/webui/src/components/Author.tsx
+++ b/webui/src/components/Author.tsx
@@ -15,7 +15,7 @@ type Props = AuthoredFragment & {
const Author = ({ author, ...props }: Props) => {
return (
-
+
{author.displayName}
diff --git a/webui/src/components/BugTitleForm/BugTitleForm.tsx b/webui/src/components/BugTitleForm/BugTitleForm.tsx
index 1092b203a9e77c72f4e51b3289e138393151381e..2a3c4db00d63d95d2ab52a16e540d10cb0e5d21d 100644
--- a/webui/src/components/BugTitleForm/BugTitleForm.tsx
+++ b/webui/src/components/BugTitleForm/BugTitleForm.tsx
@@ -90,7 +90,7 @@ function BugTitleForm({ bug }: Props) {
setTitle({
variables: {
input: {
- prefix: bug.humanId,
+ prefix: bug.id,
title: issueTitleInput.value,
},
},
diff --git a/webui/src/components/Identity/CurrentIdentity.tsx b/webui/src/components/Identity/CurrentIdentity.tsx
index 1fd424c177450b3a1b04a5777d4fd7fa78577a87..2d62dcdb65f20875148dd9d94811b209e6848617 100644
--- a/webui/src/components/Identity/CurrentIdentity.tsx
+++ b/webui/src/components/Identity/CurrentIdentity.tsx
@@ -96,7 +96,7 @@ const CurrentIdentity = () => {
color="inherit"
className={classes.profileLink}
component={RouterLink}
- to={`/user/${user.humanId}`}
+ to={`/user/${user.id}`}
>
Open profile
diff --git a/webui/src/graphql/fragments.graphql b/webui/src/graphql/fragments.graphql
index d01c488a004ab4c44c535115656a19f05b00570d..227d00b2fc087e9a80495afb56a3b58ee4eb3c5f 100644
--- a/webui/src/graphql/fragments.graphql
+++ b/webui/src/graphql/fragments.graphql
@@ -16,5 +16,6 @@ fragment authored on Authored {
displayName
avatarUrl
humanId
+ id
}
}
diff --git a/webui/src/pages/identity/BugList.tsx b/webui/src/pages/identity/BugList.tsx
index c7994827b24805e929fcff69322977248572ed76..fbddb0feccda4360d0ee9ca69453345f326d2b67 100644
--- a/webui/src/pages/identity/BugList.tsx
+++ b/webui/src/pages/identity/BugList.tsx
@@ -24,14 +24,14 @@ const useStyles = makeStyles((theme) => ({
}));
type Props = {
- humanId: string;
+ id: string;
};
-function BugList({ humanId }: Props) {
+function BugList({ id }: Props) {
const classes = useStyles();
const { loading, error, data } = useGetBugsByUserQuery({
variables: {
- query: 'author:' + humanId + ' sort:creation',
+ query: 'author:' + id + ' sort:creation',
},
});
diff --git a/webui/src/pages/identity/Identity.tsx b/webui/src/pages/identity/Identity.tsx
index 5bfc87c0d1aae3a0c4f39d9d15a26112b660033d..5170eeea54ae6e420cb95ec1c0b1ee7d6fd98455 100644
--- a/webui/src/pages/identity/Identity.tsx
+++ b/webui/src/pages/identity/Identity.tsx
@@ -51,9 +51,9 @@ const Identity = ({ identity }: Props) => {
const { loading, error, data } = useGetUserStatisticQuery({
variables: {
- authorQuery: 'author:' + user?.humanId,
- participantQuery: 'participant:' + user?.humanId,
- actionQuery: 'actor:' + user?.humanId,
+ authorQuery: 'author:' + user?.id,
+ participantQuery: 'participant:' + user?.id,
+ actionQuery: 'actor:' + user?.id,
},
});
@@ -111,7 +111,7 @@ const Identity = ({ identity }: Props) => {
Statistics
@@ -120,7 +120,7 @@ const Identity = ({ identity }: Props) => {
@@ -129,7 +129,7 @@ const Identity = ({ identity }: Props) => {
diff --git a/webui/src/pages/list/BugRow.tsx b/webui/src/pages/list/BugRow.tsx
index a1466d6349d83a8117d8bb628b986e5d2f30e073..562149f31fa0cd6a8d4573bfa4665bae10f4731d 100644
--- a/webui/src/pages/list/BugRow.tsx
+++ b/webui/src/pages/list/BugRow.tsx
@@ -106,7 +106,7 @@ function BugRow({ bug }: Props) {
-
+
{bug.title}
{bug.labels.length > 0 &&
diff --git a/webui/src/pages/new/NewBug.graphql b/webui/src/pages/new/NewBug.graphql
index 92df016e569af74396e13b7fcae7544a1b28d4d2..ef024e41a15e1119a565f946dfb82a01956f0a93 100644
--- a/webui/src/pages/new/NewBug.graphql
+++ b/webui/src/pages/new/NewBug.graphql
@@ -1,7 +1,7 @@
mutation newBug($input: NewBugInput!) {
newBug(input: $input) {
bug {
- humanId
+ id
}
}
-}
\ No newline at end of file
+}
diff --git a/webui/src/pages/new/NewBugPage.tsx b/webui/src/pages/new/NewBugPage.tsx
index 4dc60e3c0ae26eff7e0fbecf3e591d4b6e58b7cb..cdec3558cfe2013e901bfbb0d3d0799c5f8b3ba7 100644
--- a/webui/src/pages/new/NewBugPage.tsx
+++ b/webui/src/pages/new/NewBugPage.tsx
@@ -62,7 +62,7 @@ function NewBugPage() {
},
},
}).then(function (data) {
- const id = data.data?.newBug.bug.humanId;
+ const id = data.data?.newBug.bug.id;
history.push('/bug/' + id);
});
issueTitleInput.value = '';