Skip to content

Commit

Permalink
chore: retire activity (#12006)
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed May 16, 2024
1 parent f6a4428 commit 0f6eb33
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 552 deletions.
53 changes: 0 additions & 53 deletions frontend/src/components/ActivityTable/ActivityCommentLink.vue

This file was deleted.

93 changes: 0 additions & 93 deletions frontend/src/components/ActivityTable/ActivityTable.vue

This file was deleted.

32 changes: 0 additions & 32 deletions frontend/src/components/ActivityTable/ActivityTypeLink.vue

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/src/components/ActivityTable/types.ts

This file was deleted.

49 changes: 0 additions & 49 deletions frontend/src/components/ActivityTable/utils.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ export const usePreBackupContext = () => {
await useIssueCommentStore().createIssueComment({
issueName: issue.value.name,
comment: `${action} prior backup for task [${issue.value.title}].`,
payload: {
issueName: issue.value.title,
},
});
} catch {
// fail to comment won't be too bad
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@ export const useRollbackContext = () => {
await useIssueCommentStore().createIssueComment({
issueName: issue.value.name,
comment: `${action} SQL rollback log for task [${issue.value.title}].`,
payload: {
issueName: issue.value.title,
},
});
} catch {
// fail to comment won't be too bad
Expand Down
4 changes: 0 additions & 4 deletions frontend/src/store/modules/v1/issueComment.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { defineStore } from "pinia";
import { reactive } from "vue";
import { issueServiceClient } from "@/grpcweb";
import type { ActivityIssueCommentCreatePayload } from "@/types";
import type {
IssueComment,
ListIssueCommentsRequest,
Expand Down Expand Up @@ -61,17 +60,14 @@ export const useIssueCommentStore = defineStore("issue_comment", () => {
const createIssueComment = async ({
issueName,
comment,
payload,
}: {
issueName: string;
comment: string;
payload?: ActivityIssueCommentCreatePayload;
}) => {
const issueComment = await issueServiceClient.createIssueComment({
parent: issueName,
issueComment: {
comment,
payload: JSON.stringify(payload ?? {}),
},
});
issueCommentMap.set(issueName, [
Expand Down

0 comments on commit 0f6eb33

Please sign in to comment.