From 903ec124f667c46f6cc53f6f1ef1cc091d027d5c Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Tue, 21 May 2024 12:37:21 +0530 Subject: [PATCH 1/2] chore: add identifier in search query --- lib/linear_queries.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/linear_queries.rb b/lib/linear_queries.rb index 6f46abd6c..d9da707c9 100644 --- a/lib/linear_queries.rb +++ b/lib/linear_queries.rb @@ -53,6 +53,7 @@ module LinearQueries id title description + identifier } } } From 23ac2d9e4b1e83cc242af9e673cfb6034c7c8549 Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Tue, 21 May 2024 16:53:20 +0530 Subject: [PATCH 2/2] chore: remove unused code --- .../i18n/locale/en/integrations.json | 41 ------------------- .../conversation/linear/validations.js | 10 ----- 2 files changed, 51 deletions(-) delete mode 100644 app/javascript/dashboard/routes/dashboard/conversation/linear/validations.js diff --git a/app/javascript/dashboard/i18n/locale/en/integrations.json b/app/javascript/dashboard/i18n/locale/en/integrations.json index 008ae37b4..231892079 100644 --- a/app/javascript/dashboard/i18n/locale/en/integrations.json +++ b/app/javascript/dashboard/i18n/locale/en/integrations.json @@ -203,47 +203,6 @@ "API_SUCCESS": "Dashboard app deleted successfully", "API_ERROR": "We couldn't delete the app. Please try again later" } - }, - "LINEAR": { - "ADD_OR_LINK": { - "TITLE": "Create/link linear issue", - "DESCRIPTION": "Create or link a linear issue to the conversation", - "FORM": { - "TITLE": { - "LABEL": "Title", - "PLACEHOLDER": "Enter title", - "REQUIRED_ERROR": "Title is required" - }, - "DESCRIPTION": { - "LABEL": "Description", - "PLACEHOLDER": "SLA for premium customers" - }, - "TEAM": { - "LABEL": "Team", - "REQUIRED_ERROR": "Team is required" - }, - "ASSIGNEE": { - "LABEL": "Assignee" - }, - "PRIORITY": { - "LABEL": "Priority" - }, - "LABEL": { - "LABEL": "Label" - }, - "STATUS": { - "LABEL": "Status" - }, - "PROJECT": { - "LABEL": "Project" - } - }, - "CREATE": "Create", - "CANCEL": "Cancel", - "CREATE_ERROR": "There was an error creating the issue, please try again", - "LOADING_TEAM_ERROR": "There was an error fetching the teams, please try again", - "LOADING_TEAM_ENTITIES_ERROR": "There was an error fetching the team entities, please try again" - } } } } diff --git a/app/javascript/dashboard/routes/dashboard/conversation/linear/validations.js b/app/javascript/dashboard/routes/dashboard/conversation/linear/validations.js deleted file mode 100644 index b0edda5f4..000000000 --- a/app/javascript/dashboard/routes/dashboard/conversation/linear/validations.js +++ /dev/null @@ -1,10 +0,0 @@ -import { required } from 'vuelidate/lib/validators'; - -export default { - title: { - required, - }, - teamId: { - required, - }, -};