From 21a8b79aa5f5575afb95fa5a33032bd3da7825c9 Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Mon, 18 Jul 2022 10:47:15 +0530 Subject: [PATCH] feat: Article table component (#5018) --- .../components/helpCenter/ArticleItem.vue | 65 ++++++++------ .../helpCenter/ArticleTable.stories.js | 72 ++++++++++++++++ .../components/helpCenter/ArticleTable.vue | 84 +++++++++++++++++++ .../dashboard/i18n/locale/en/helpCenter.json | 7 ++ 4 files changed, 202 insertions(+), 26 deletions(-) create mode 100644 app/javascript/dashboard/components/helpCenter/ArticleTable.stories.js create mode 100644 app/javascript/dashboard/components/helpCenter/ArticleTable.vue diff --git a/app/javascript/dashboard/components/helpCenter/ArticleItem.vue b/app/javascript/dashboard/components/helpCenter/ArticleItem.vue index 697fcfeee..252215c8c 100644 --- a/app/javascript/dashboard/components/helpCenter/ArticleItem.vue +++ b/app/javascript/dashboard/components/helpCenter/ArticleItem.vue @@ -1,29 +1,30 @@ diff --git a/app/javascript/dashboard/i18n/locale/en/helpCenter.json b/app/javascript/dashboard/i18n/locale/en/helpCenter.json index 3605814c6..14bd16eda 100644 --- a/app/javascript/dashboard/i18n/locale/en/helpCenter.json +++ b/app/javascript/dashboard/i18n/locale/en/helpCenter.json @@ -16,6 +16,13 @@ "SAVED": "Draft saved" }, "TABLE": { + "HEADERS": { + "TITLE": "Title", + "CATEGORY": "Category", + "READ_COUNT": "Read count", + "STATUS": "Status", + "LAST_EDITED": "Last edited" + }, "COLUMNS": { "BY": "by" }