mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
🎨 Improved search keywords in Admin-X Settings (#18608)
fixes https://github.com/TryGhost/Ghost/issues/18661
This commit is contained in:
parent
11b9e8a73f
commit
40a2bdad20
5 changed files with 14 additions and 14 deletions
|
@ -6,8 +6,8 @@ import React from 'react';
|
|||
import SettingSection from '../../../admin-x-ds/settings/SettingSection';
|
||||
|
||||
export const searchKeywords = {
|
||||
integrations: ['integration', 'zapier', 'slack', 'amp', 'unsplash', 'first promoter', 'firstpromoter', 'pintura', 'disqus', 'analytics', 'ulysses', 'typeform', 'buffer', 'plausible', 'github'],
|
||||
codeInjection: ['newsletter', 'enable', 'disable', 'turn on'],
|
||||
integrations: ['integrations', 'zapier', 'slack', 'amp', 'unsplash', 'first promoter', 'firstpromoter', 'pintura', 'disqus', 'analytics', 'ulysses', 'typeform', 'buffer', 'plausible', 'github'],
|
||||
codeInjection: ['code injection', 'head', 'footer'],
|
||||
labs: ['labs', 'alpha', 'beta', 'flag', 'import', 'export', 'migrate', 'routes', 'redirect', 'translation', 'delete', 'content', 'editor', 'substack', 'migration', 'portal'],
|
||||
history: ['history', 'log', 'events', 'user events', 'staff']
|
||||
};
|
||||
|
|
|
@ -8,10 +8,10 @@ import {getSettingValues} from '../../../api/settings';
|
|||
import {useGlobalData} from '../../providers/GlobalDataProvider';
|
||||
|
||||
export const searchKeywords = {
|
||||
enableNewsletters: ['newsletter', 'enable', 'disable', 'turn on'],
|
||||
newsletters: ['newsletter', 'email'],
|
||||
defaultRecipients: ['newsletter', 'default recipients', 'email'],
|
||||
mailgun: ['mailgun', 'email']
|
||||
enableNewsletters: ['newsletters', 'newsletter sending', 'enable', 'disable', 'turn on', 'turn off'],
|
||||
newsletters: ['newsletters', 'emails'],
|
||||
defaultRecipients: ['newsletters', 'default recipients', 'emails'],
|
||||
mailgun: ['mailgun', 'emails', 'newsletters']
|
||||
};
|
||||
|
||||
const EmailSettings: React.FC = () => {
|
||||
|
|
|
@ -12,14 +12,14 @@ import Twitter from './Twitter';
|
|||
import Users from './Users';
|
||||
|
||||
export const searchKeywords = {
|
||||
titleAndDescription: ['title and description', 'site title', 'site description'],
|
||||
titleAndDescription: ['title and description', 'site title', 'site description', 'title & description'],
|
||||
timeZone: ['time', 'date', 'site timezone', 'time zone'],
|
||||
publicationLanguage: ['publication language', 'locale'],
|
||||
metadata: ['metadata', 'title', 'description', 'search', 'engine', 'google'],
|
||||
twitter: ['twitter card', 'structured data', 'rich cards', 'x'],
|
||||
metadata: ['metadata', 'title', 'description', 'search', 'engine', 'google', 'meta data'],
|
||||
twitter: ['twitter card', 'structured data', 'rich cards', 'x card'],
|
||||
facebook: ['facebook card', 'structured data', 'rich cards'],
|
||||
socialAccounts: ['social accounts', 'facebook', 'twitter', 'structured data', 'rich cards'],
|
||||
lockSite: ['private', 'password', 'lock site'],
|
||||
lockSite: ['password', 'lock site', 'make this site private'],
|
||||
users: ['users and permissions', 'roles', 'staff']
|
||||
};
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@ export const searchKeywords = {
|
|||
access: ['default', 'access', 'subscription', 'post', 'membership'],
|
||||
tiers: ['tiers', 'payment', 'paid', 'stripe'],
|
||||
tips: ['tip', 'donation', 'one time', 'payment'],
|
||||
embedSignupForm: ['signup', 'form', 'embed'],
|
||||
recommendations: ['recommendation', 'recommend', 'blogroll'],
|
||||
embedSignupForm: ['embeddable signup form', 'embeddable form', 'embeddable sign up form', 'embeddable sign up'],
|
||||
recommendations: ['recommendations', 'recommend', 'blogroll'],
|
||||
analytics: ['analytics', 'tracking', 'privacy', 'membership']
|
||||
};
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ import React from 'react';
|
|||
import SettingSection from '../../../admin-x-ds/settings/SettingSection';
|
||||
|
||||
export const searchKeywords = {
|
||||
design: ['design', 'branding', 'logo', 'cover', 'colors', 'fonts', 'background', 'themes', 'appearance', 'style'],
|
||||
design: ['logo', 'cover', 'colors', 'fonts', 'background', 'themes', 'appearance', 'style', 'design & branding', 'design and branding'],
|
||||
navigation: ['navigation', 'menus', 'primary', 'secondary', 'links'],
|
||||
announcementBar: ['announcement', 'bar', 'important', 'banner']
|
||||
announcementBar: ['announcement bar', 'important', 'banner']
|
||||
};
|
||||
|
||||
const SiteSettings: React.FC = () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue