diff --git a/src/messages/en.json b/src/messages/en.json index 3b2bd563..65f9355c 100644 --- a/src/messages/en.json +++ b/src/messages/en.json @@ -345,5 +345,61 @@ "menu_troubleshooting.description": "Access the documentation for identifications, diagnostics and corrections for fails in the VTEX platform systems and products", "sidebar_troubleshooting.title": "Troubleshooting", "sidebar_troubleshooting.description": "Access the documentation for identifications, diagnostics and corrections for fails in the VTEX platform systems and products", - "troubleshooting_filter_module.title": "Module" + "troubleshooting_filter_tags.title": "Tags", + "troubleshooting_filter_tags.orders": "Orders", + "troubleshooting_filter_tags.integration": "Integration", + "troubleshooting_filter_tags.marketplace": "Marketplace", + "troubleshooting_filter_tags.mercado_livre": "Mercado Libre", + "troubleshooting_filter_tags.paused_offer": "Paused offer", + "troubleshooting_filter_tags.amazon": "Amazon", + "troubleshooting_filter_tags.sku": "SKU", + "troubleshooting_filter_tags.inventory": "Inventory", + "troubleshooting_filter_tags.pricing": "Pricing", + "troubleshooting_filter_tags.redirects": "Redirects", + "troubleshooting_filter_tags.master_data_v1": "Master Data v1", + "troubleshooting_filter_tags.customer": "Customer", + "troubleshooting_filter_tags.address": "Address", + "troubleshooting_filter_tags.multistore": "Multistore", + "troubleshooting_filter_tags.catalog": "Catalog", + "troubleshooting_filter_tags.spreadsheet": "Spreadsheet", + "troubleshooting_filter_tags.import": "Import", + "troubleshooting_filter_tags.b2b": "B2B", + "troubleshooting_filter_tags.schema": "Schema", + "troubleshooting_filter_tags.master_data": "Master Data", + "troubleshooting_filter_tags.spreadsheet_import": "Spreadsheet import", + "troubleshooting_filter_tags.index": "Index", + "troubleshooting_filter_tags.product": "Product", + "troubleshooting_filter_tags.trade_policy": "Trade policy", + "troubleshooting_filter_tags.message_center": "Message center", + "troubleshooting_filter_tags.email_templates": "Email templates", + "troubleshooting_filter_tags.authentication_token": "Authentication token", + "troubleshooting_filter_tags.ean": "EAN", + "troubleshooting_filter_tags.search": "Search", + "troubleshooting_filter_tags.intelligent_search": "Intelligent search", + "troubleshooting_filter_tags.rewriter": "Rewriter", + "troubleshooting_filter_tags.report": "Report", + "troubleshooting_filter_tags.export": "Export", + "troubleshooting_filter_tags.dashboard": "Dashboard", + "troubleshooting_filter_tags.vtex_admin": "VTEX Admin", + "troubleshooting_filter_tags.overview": "Overview", + "troubleshooting_filter_tags.user_roles": "User roles", + "troubleshooting_filter_tags.reservation": "Reservation", + "troubleshooting_filter_tags.xml_integration": "XML integration", + "troubleshooting_filter_tags.stock": "Stock", + "troubleshooting_filter_tags.order_status": "Order status", + "troubleshooting_filter_tags.invoice": "Invoice", + "troubleshooting_filter_tags.site_editor": "Site Editor", + "troubleshooting_filter_tags.cms": "CMS", + "troubleshooting_filter_tags.store_framework": "Store Framework", + "troubleshooting_filter_tags.promotions": "Promotions", + "troubleshooting_filter_tags.affiliate": "Affiliate", + "troubleshooting_filter_tags.request_headers": "Request headers", + "troubleshooting_filter_tags.utm": "UTM", + "troubleshooting_filter_tags.custom_javascript": "Custom javascript", + "troubleshooting_filter_tags.separate_deliveries": "Separate deliveries", + "troubleshooting_filter_tags.order_split": "Order split", + "troubleshooting_filter_tags.packages": "Packages", + "troubleshooting_filter_tags.shipping": "Shipping", + "troubleshooting_filter_tags.pre_sale": "Pre-sale", + "troubleshooting_page_search.placeholder": "Search for identifications, diagnostics and corrections for fails..." } diff --git a/src/messages/es.json b/src/messages/es.json index 20cfe486..980bfbe8 100644 --- a/src/messages/es.json +++ b/src/messages/es.json @@ -348,5 +348,61 @@ "menu_troubleshooting.description": "Acceda a la documentación para identificaciones, diagnósticos y correcciones de fallas en los sistemas y productos de la plataforma VTEX", "sidebar_troubleshooting.title": "Troubleshooting", "sidebar_troubleshooting.description": "Acceda a la documentación para identificaciones, diagnósticos y correcciones de fallas en los sistemas y productos de la plataforma VTEX", - "troubleshooting_filter_module.title": "Módulo" + "troubleshooting_filter_tags.title": "Tags", + "troubleshooting_filter_tags.orders": "Pedidos", + "troubleshooting_filter_tags.integration": "Integración", + "troubleshooting_filter_tags.marketplace": "Marketplace", + "troubleshooting_filter_tags.amazon": "Amazon", + "troubleshooting_filter_tags.mercado_livre": "Mercado Libre", + "troubleshooting_filter_tags.paused_offer": "Anuncio pausado", + "troubleshooting_filter_tags.sku": "SKU", + "troubleshooting_filter_tags.inventory": "Inventory", + "troubleshooting_filter_tags.pricing": "Precios", + "troubleshooting_filter_tags.redirects": "Redirecciones", + "troubleshooting_filter_tags.master_data_v1": "Master Data v1", + "troubleshooting_filter_tags.customer": "Cliente", + "troubleshooting_filter_tags.address": "Direccion", + "troubleshooting_filter_tags.multistore": "Multitienda", + "troubleshooting_filter_tags.catalog": "Catalog", + "troubleshooting_filter_tags.spreadsheet": "Planilla", + "troubleshooting_filter_tags.import": "Importación", + "troubleshooting_filter_tags.b2b": "B2B", + "troubleshooting_filter_tags.schema": "Schema", + "troubleshooting_filter_tags.master_data": "Master Data", + "troubleshooting_filter_tags.spreadsheet_import": "Importación de plantillas", + "troubleshooting_filter_tags.index": "Indexación", + "troubleshooting_filter_tags.product": "Producto", + "troubleshooting_filter_tags.trade_policy": "Política comercial", + "troubleshooting_filter_tags.message_center": "Central de mensajes", + "troubleshooting_filter_tags.email_templates": "Plantillas de emails", + "troubleshooting_filter_tags.authentication_token": "Token de autenticación", + "troubleshooting_filter_tags.ean": "EAN", + "troubleshooting_filter_tags.search": "Búsqueda", + "troubleshooting_filter_tags.intelligent_search": "Intelligent search", + "troubleshooting_filter_tags.rewriter": "Rewriter", + "troubleshooting_filter_tags.report": "Informe", + "troubleshooting_filter_tags.export": "Exportación", + "troubleshooting_filter_tags.dashboard": "Dashboard", + "troubleshooting_filter_tags.vtex_admin": "VTEX Admin", + "troubleshooting_filter_tags.overview": "Vista general", + "troubleshooting_filter_tags.user_roles": "Rol de usuario", + "troubleshooting_filter_tags.reservation": "Reserva", + "troubleshooting_filter_tags.xml_integration": "Integración XML", + "troubleshooting_filter_tags.stock": "Stock", + "troubleshooting_filter_tags.order_status": "Status del pedido", + "troubleshooting_filter_tags.invoice": "Factura", + "troubleshooting_filter_tags.site_editor": "Site Editor", + "troubleshooting_filter_tags.cms": "CMS", + "troubleshooting_filter_tags.store_framework": "Store Framework", + "troubleshooting_filter_tags.promotions": "Promociones", + "troubleshooting_filter_tags.affiliate": "Afiliado", + "troubleshooting_filter_tags.request_headers": "Request headers", + "troubleshooting_filter_tags.utm": "UTM", + "troubleshooting_filter_tags.custom_javascript": "Javascript personalizado", + "troubleshooting_filter_tags.separate_deliveries": "Envíos separados", + "troubleshooting_filter_tags.order_split": "Split de pedidos", + "troubleshooting_filter_tags.packages": "Paquetes", + "troubleshooting_filter_tags.shipping": "Envío", + "troubleshooting_filter_tags.pre_sale": "Preventa", + "troubleshooting_page_search.placeholder": "Buscar por identificaciones, diagnósticos y correcciones de fallas..." } diff --git a/src/messages/pt.json b/src/messages/pt.json index 4cc209cd..15893f26 100644 --- a/src/messages/pt.json +++ b/src/messages/pt.json @@ -332,7 +332,7 @@ "known_issues_filter_modules.title": "Módulos", "known_issues_filter.all": "Todos", "sort.label": "Ordenar por:", - "sort.recently_updated": "Recentemente atualizado", + "sort.recently_updated": "Atualizados recentemente", "sort.newest": "Mais novos", "known_issues_result.empty": "Nenhum resultado correspondente. Tente outros filtros.", "known_issues_date.created": "Criado em", @@ -363,5 +363,61 @@ "menu_troubleshooting.description": "Acesse a documentação para identificações, diagnósticos e correções de falhas nos sistemas e produtos da plataforma VTEX", "sidebar_troubleshooting.title": "Troubleshooting", "sidebar_troubleshooting.description": "Acesse a documentação para identificações, diagnósticos e correções de falhas nos sistemas e produtos da plataforma VTEX", - "troubleshooting_filter_module.title": "Módulo" + "troubleshooting_filter_tags.title": "Tags", + "troubleshooting_filter_tags.orders": "Pedidos", + "troubleshooting_filter_tags.integration": "Integração", + "troubleshooting_filter_tags.marketplace": "Marketplace", + "troubleshooting_filter_tags.mercado_livre": "Mercado Livre", + "troubleshooting_filter_tags.paused_offer": "Anúncio pausado", + "troubleshooting_filter_tags.amazon": "Amazon", + "troubleshooting_filter_tags.sku": "SKU", + "troubleshooting_filter_tags.inventory": "Inventário", + "troubleshooting_filter_tags.pricing": "Preços", + "troubleshooting_filter_tags.redirects": "Redirects", + "troubleshooting_filter_tags.master_data_v1": "Master Data v1", + "troubleshooting_filter_tags.customer": "Cliente", + "troubleshooting_filter_tags.address": "Endereço", + "troubleshooting_filter_tags.multistore": "Multiloja", + "troubleshooting_filter_tags.catalog": "Catálogo", + "troubleshooting_filter_tags.spreadsheet": "Planilha", + "troubleshooting_filter_tags.import": "Importação", + "troubleshooting_filter_tags.b2b": "B2B", + "troubleshooting_filter_tags.schema": "Schema", + "troubleshooting_filter_tags.master_data": "Master Data", + "troubleshooting_filter_tags.spreadsheet_import": "Importação de planilhas", + "troubleshooting_filter_tags.index": "Indexação", + "troubleshooting_filter_tags.product": "Produto", + "troubleshooting_filter_tags.trade_policy": "Política comercial", + "troubleshooting_filter_tags.message_center": "Central de mensagens", + "troubleshooting_filter_tags.email_templates": "Templates de emails", + "troubleshooting_filter_tags.authentication_token": "Token de autenticação", + "troubleshooting_filter_tags.ean": "EAN", + "troubleshooting_filter_tags.search": "Busca", + "troubleshooting_filter_tags.intelligent_search": "Intelligent search", + "troubleshooting_filter_tags.rewriter": "Rewriter", + "troubleshooting_filter_tags.report": "Relatório", + "troubleshooting_filter_tags.export": "Exportação", + "troubleshooting_filter_tags.dashboard": "Dashboard", + "troubleshooting_filter_tags.vtex_admin": "VTEX Admin", + "troubleshooting_filter_tags.overview": "Visão geral", + "troubleshooting_filter_tags.user_roles": "Perfis de acesso", + "troubleshooting_filter_tags.reservation": "Reserva", + "troubleshooting_filter_tags.xml_integration": "Integração XML", + "troubleshooting_filter_tags.stock": "Estoque", + "troubleshooting_filter_tags.order_status": "Status do pedido", + "troubleshooting_filter_tags.invoice": "Fatura", + "troubleshooting_filter_tags.site_editor": "Site Editor", + "troubleshooting_filter_tags.cms": "CMS", + "troubleshooting_filter_tags.store_framework": "Store Framework", + "troubleshooting_filter_tags.promotions": "Promoções", + "troubleshooting_filter_tags.affiliate": "Afiliado", + "troubleshooting_filter_tags.request_headers": "Request headers", + "troubleshooting_filter_tags.utm": "UTM", + "troubleshooting_filter_tags.custom_javascript": "Javascript customizado", + "troubleshooting_filter_tags.separate_deliveries": "Envios separados", + "troubleshooting_filter_tags.order_split": "Split de pedidos", + "troubleshooting_filter_tags.packages": "Pacotes", + "troubleshooting_filter_tags.shipping": "Entrega", + "troubleshooting_filter_tags.pre_sale": "Pré-venda", + "troubleshooting_page_search.placeholder": "Buscar por identificações, diagnósticos e correções de falhas..." } diff --git a/src/pages/troubleshooting/index.tsx b/src/pages/troubleshooting/index.tsx index 9c680e4a..bdf7c3e0 100644 --- a/src/pages/troubleshooting/index.tsx +++ b/src/pages/troubleshooting/index.tsx @@ -21,6 +21,8 @@ import TroubleshootingCard from 'components/troubleshooting-card' import Pagination from 'components/pagination' import { TroubleshootingFilters } from 'utils/constants' import Filter from 'components/filter' +import searchIcon from '../../components/icons/search-icon' +import Input from 'components/input' interface Props { sidebarfallback: any //eslint-disable-line @@ -43,15 +45,19 @@ const TroubleshootingPage: NextPage = ({ const [pageIndex, setPageIndex] = useState({ curr: 1, total: 1 }) const [filters, setFilters] = useState([]) const [sortByValue, setSortByValue] = useState('newest') + const [search, setSearch] = useState('') const filteredResult = useMemo(() => { const data = troubleshootingData .filter((troubleshoot) => troubleshoot.status === 'PUBLISHED') .filter((troubleshoot) => { - return ( + const hasFilters: boolean = filters.length === 0 || troubleshoot.tags.some((tag) => filters.includes(tag)) - ) + const hasSearch: boolean = troubleshoot.title + .toLowerCase() + .includes(search.toLowerCase()) + return hasSearch && hasFilters }) data.sort((a, b) => { @@ -66,7 +72,7 @@ const TroubleshootingPage: NextPage = ({ setPageIndex({ curr: 1, total: Math.ceil(data.length / itemsPerPage) }) return data - }, [filters, sortByValue, intl.locale]) + }, [filters, sortByValue, intl.locale, search]) const paginatedResult = usePagination( itemsPerPage, @@ -117,6 +123,14 @@ const TroubleshootingPage: NextPage = ({ onSelect={(ordering) => setSortByValue(ordering as SortByType)} /> + setSearch(value)} + /> {paginatedResult.length === 0 && ( diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 92d2ec1e..195c414f 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -579,15 +579,336 @@ export const knownIssuesModulesFilters = (intl: IntlShape) => { export const TroubleshootingFilters = (intl: IntlShape) => { const data = { - name: intl.formatMessage({ id: 'troubleshooting_filter_module.title' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.title' }), options: [ - { id: 'Catalog', name: 'Catalog' }, - { id: 'Order', name: 'Order' }, - { id: 'Shipping', name: 'Shipping' }, - { id: 'VTEX Admin', name: 'VTEX Admin' }, - { id: 'Prices', name: 'Prices' }, - { id: 'Message Center', name: 'Message Center' }, - { id: 'Trade Policy', name: 'Trade Policy' }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.orders' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.orders' }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.integration', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.integration', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.marketplace', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.marketplace', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.amazon' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.amazon' }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.sku' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.sku' }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.inventory' }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.inventory', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.pricing' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.pricing' }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.redirects' }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.redirects', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.master_data_v1', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.master_data_v1', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.customer' }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.customer', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.address' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.address' }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.multistore', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.multistore', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.catalog' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.catalog' }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.spreadsheet', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.spreadsheet', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.import' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.import' }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.b2b' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.b2b' }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.schema' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.schema' }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.master_data', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.master_data', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.spreadsheet_import', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.spreadsheet_import', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.index' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.index' }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.product' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.product' }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.trade_policy', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.trade_policy', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.message_center', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.message_center', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.email_templates', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.email_templates', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.authentication_token', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.authentication_token', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.ean' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.ean' }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.search' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.search' }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.intelligent_search', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.intelligent_search', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.rewriter' }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.rewriter', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.report' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.report' }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.export' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.export' }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.dashboard' }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.dashboard', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.vtex_admin', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.vtex_admin', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.overview' }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.overview', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.user_roles', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.user_roles', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.reservation', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.reservation', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.xml_integration', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.xml_integration', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.stock' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.stock' }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.order_status', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.order_status', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.invoice' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.invoice' }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.site_editor', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.site_editor', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.cms' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.cms' }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.store_framework', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.store_framework', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.promotions', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.promotions', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.affiliate' }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.affiliate', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.request_headers', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.request_headers', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.utm' }), + name: intl.formatMessage({ id: 'troubleshooting_filter_tags.utm' }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.custom_javascript', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.custom_javascript', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.separate_deliveries', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.separate_deliveries', + }), + }, + { + id: intl.formatMessage({ + id: 'troubleshooting_filter_tags.order_split', + }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.order_split', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.packages' }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.packages', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.shipping' }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.shipping', + }), + }, + { + id: intl.formatMessage({ id: 'troubleshooting_filter_tags.pre_sale' }), + name: intl.formatMessage({ + id: 'troubleshooting_filter_tags.pre_sale', + }), + }, ], } return data