feat: Adds pages to edit portals (#5373)

* feat: Adds pages to edit portals

* Update app/javascript/dashboard/i18n/locale/en/helpCenter.json

* Update app/javascript/dashboard/routes/dashboard/helpcenter/helpcenter.routes.js

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>

* Review fixes

* Adds translations

* Fixes broken tests

* Update app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue

* Update app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
Nithin David Thomas
2022-09-02 10:22:15 +05:30
committed by GitHub
parent 504d339dd7
commit a1663e4e49
14 changed files with 719 additions and 308 deletions

View File

@@ -122,9 +122,28 @@
}
}
},
"EDIT": {
"HEADER_TEXT": "Edit portal",
"TABS": {
"BASIC_SETTINGS": {
"TITLE": "Basic information"
},
"CUSTOMIZATION_SETTINGS": {
"TITLE": "Portal customization"
},
"CATEGORY_SETTINGS": {
"TITLE": "Categories"
},
"LOCALE_SETTINGS": {
"TITLE": "Locales"
}
},
"EDIT_BASIC_INFO": {
"BUTTON_TEXT": "Update basic settings"
}
},
"ADD": {
"CREATE_FLOW": [
{
"CREATE_FLOW": [{
"title": "Help center information",
"route": "new_portal_information",
"body": "Basic information about portal",
@@ -207,7 +226,9 @@
"ERROR": "Portal header text is required"
},
"API": {
"SUCCESS_MESSAGE_FOR_BASIC": "Portal created successfully.",
"ERROR_MESSAGE_FOR_BASIC": "Couldn't create the portal. Try again.",
"SUCCESS_MESSAGE_FOR_UPDATE": "Portal updated successfully.",
"ERROR_MESSAGE_FOR_UPDATE": "Couldn't update the portal. Try again."
}
},