aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-08-23 14:48:49 +0200
committerMichael Muré <batolettre@gmail.com>2022-08-23 14:48:49 +0200
commit6ed4b8b7a1185ad278eb2e40b32e859f828233d9 (patch)
treed22507f4ab418bfe5221ca409348b540b53139f8 /webui/src/pages
parent45b04351d8d02e53b3401b0ee23f7cbe750b63cd (diff)
downloadgit-bug-6ed4b8b7a1185ad278eb2e40b32e859f828233d9.tar.gz
webui: adapt to CombinedId
Diffstat (limited to 'webui/src/pages')
-rw-r--r--webui/src/pages/bug/BugQuery.graphql1
-rw-r--r--webui/src/pages/bug/EditCommentForm.tsx3
-rw-r--r--webui/src/pages/bug/MessageHistory.graphql1
-rw-r--r--webui/src/pages/bug/TimelineQuery.graphql1
-rw-r--r--webui/src/pages/identity/GetBugsByUser.graphql1
-rw-r--r--webui/src/pages/identity/GetUserStatistic.graphql1
-rw-r--r--webui/src/pages/list/FilterToolbar.graphql1
-rw-r--r--webui/src/pages/list/ListIdentities.graphql1
-rw-r--r--webui/src/pages/list/ListLabels.graphql1
-rw-r--r--webui/src/pages/list/ListQuery.graphql1
10 files changed, 10 insertions, 2 deletions
diff --git a/webui/src/pages/bug/BugQuery.graphql b/webui/src/pages/bug/BugQuery.graphql
index cdc4723f..9d4cede8 100644
--- a/webui/src/pages/bug/BugQuery.graphql
+++ b/webui/src/pages/bug/BugQuery.graphql
@@ -2,6 +2,7 @@
query GetBug($id: String!) {
repository {
+ name
bug(prefix: $id) {
...Bug
}
diff --git a/webui/src/pages/bug/EditCommentForm.tsx b/webui/src/pages/bug/EditCommentForm.tsx
index 4da051e6..b265735b 100644
--- a/webui/src/pages/bug/EditCommentForm.tsx
+++ b/webui/src/pages/bug/EditCommentForm.tsx
@@ -58,9 +58,8 @@ function EditCommentForm({ bug, comment, onCancel, onPostSubmit }: Props) {
editComment({
variables: {
input: {
- prefix: bug.id,
+ targetPrefix: comment.id,
message: message,
- target: comment.id,
},
},
}).then((result) => {
diff --git a/webui/src/pages/bug/MessageHistory.graphql b/webui/src/pages/bug/MessageHistory.graphql
index e90eb459..6daab75c 100644
--- a/webui/src/pages/bug/MessageHistory.graphql
+++ b/webui/src/pages/bug/MessageHistory.graphql
@@ -3,6 +3,7 @@
query MessageHistory($bugIdPrefix: String!) {
repository {
+ name
bug(prefix: $bugIdPrefix) {
timeline {
comments: nodes {
diff --git a/webui/src/pages/bug/TimelineQuery.graphql b/webui/src/pages/bug/TimelineQuery.graphql
index 6d78ab7f..7c9badfd 100644
--- a/webui/src/pages/bug/TimelineQuery.graphql
+++ b/webui/src/pages/bug/TimelineQuery.graphql
@@ -6,6 +6,7 @@
query Timeline($id: String!, $first: Int = 10, $after: String) {
repository {
+ name
bug(prefix: $id) {
timeline(first: $first, after: $after) {
nodes {
diff --git a/webui/src/pages/identity/GetBugsByUser.graphql b/webui/src/pages/identity/GetBugsByUser.graphql
index 38f139ab..5bb09553 100644
--- a/webui/src/pages/identity/GetBugsByUser.graphql
+++ b/webui/src/pages/identity/GetBugsByUser.graphql
@@ -1,5 +1,6 @@
query GetBugsByUser($query: String) {
repository {
+ name
allBugs(query: $query) {
nodes {
id
diff --git a/webui/src/pages/identity/GetUserStatistic.graphql b/webui/src/pages/identity/GetUserStatistic.graphql
index a7598320..bc7ab874 100644
--- a/webui/src/pages/identity/GetUserStatistic.graphql
+++ b/webui/src/pages/identity/GetUserStatistic.graphql
@@ -4,6 +4,7 @@ query GetUserStatistic(
$actionQuery: String!
) {
repository {
+ name
authored: allBugs(query: $authorQuery) {
totalCount
}
diff --git a/webui/src/pages/list/FilterToolbar.graphql b/webui/src/pages/list/FilterToolbar.graphql
index cd103f44..2d2435cf 100644
--- a/webui/src/pages/list/FilterToolbar.graphql
+++ b/webui/src/pages/list/FilterToolbar.graphql
@@ -1,5 +1,6 @@
query BugCount($query: String) {
repository {
+ name
bugs: allBugs(query: $query) {
totalCount
}
diff --git a/webui/src/pages/list/ListIdentities.graphql b/webui/src/pages/list/ListIdentities.graphql
index 1d909496..9a92dae7 100644
--- a/webui/src/pages/list/ListIdentities.graphql
+++ b/webui/src/pages/list/ListIdentities.graphql
@@ -1,5 +1,6 @@
query ListIdentities {
repository {
+ name
allIdentities {
nodes {
id
diff --git a/webui/src/pages/list/ListLabels.graphql b/webui/src/pages/list/ListLabels.graphql
index 35f25e25..84ed38dd 100644
--- a/webui/src/pages/list/ListLabels.graphql
+++ b/webui/src/pages/list/ListLabels.graphql
@@ -1,5 +1,6 @@
query ListLabels {
repository {
+ name
validLabels {
nodes {
name
diff --git a/webui/src/pages/list/ListQuery.graphql b/webui/src/pages/list/ListQuery.graphql
index ded60c8a..922e8e09 100644
--- a/webui/src/pages/list/ListQuery.graphql
+++ b/webui/src/pages/list/ListQuery.graphql
@@ -8,6 +8,7 @@ query ListBugs(
$query: String
) {
repository {
+ name
bugs: allBugs(
first: $first
last: $last