mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Updated settings keywords (#18815)
refs. https://github.com/TryGhost/Product/issues/4060 - the title of setting groups were not included in the searchable keywords so it wasn't possible to list only a single group's settings
This commit is contained in:
parent
7904d1c832
commit
9259d0cc01
@ -6,10 +6,10 @@ import React from 'react';
|
||||
import SettingSection from '../../../admin-x-ds/settings/SettingSection';
|
||||
|
||||
export const searchKeywords = {
|
||||
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']
|
||||
integrations: ['advanced', 'integrations', 'zapier', 'slack', 'amp', 'unsplash', 'first promoter', 'firstpromoter', 'pintura', 'disqus', 'analytics', 'ulysses', 'typeform', 'buffer', 'plausible', 'github'],
|
||||
codeInjection: ['advanced', 'code injection', 'head', 'footer'],
|
||||
labs: ['advanced', 'labs', 'alpha', 'beta', 'flag', 'import', 'export', 'migrate', 'routes', 'redirect', 'translation', 'delete', 'content', 'editor', 'substack', 'migration', 'portal'],
|
||||
history: ['advanced', 'history', 'log', 'events', 'user events', 'staff']
|
||||
};
|
||||
|
||||
const AdvancedSettings: React.FC = () => {
|
||||
|
@ -8,7 +8,7 @@ import {getSettingValues} from '../../../api/settings';
|
||||
import {useGlobalData} from '../../providers/GlobalDataProvider';
|
||||
|
||||
export const searchKeywords = {
|
||||
enableNewsletters: ['newsletters', 'newsletter sending', 'enable', 'disable', 'turn on', 'turn off'],
|
||||
enableNewsletters: ['emails', 'newsletters', 'newsletter sending', 'enable', 'disable', 'turn on', 'turn off'],
|
||||
newsletters: ['newsletters', 'emails'],
|
||||
defaultRecipients: ['newsletters', 'default recipients', 'emails'],
|
||||
mailgun: ['mailgun', 'emails', 'newsletters']
|
||||
|
@ -12,15 +12,15 @@ import Twitter from './Twitter';
|
||||
import Users from './Users';
|
||||
|
||||
export const searchKeywords = {
|
||||
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', '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: ['password protection', 'lock site', 'make this site private'],
|
||||
users: ['users and permissions', 'roles', 'staff', 'invite people', 'contributors', 'editors', 'authors', 'administrators']
|
||||
titleAndDescription: ['general', 'title and description', 'site title', 'site description', 'title & description'],
|
||||
timeZone: ['general', 'time', 'date', 'site timezone', 'time zone'],
|
||||
publicationLanguage: ['general', 'publication language', 'locale'],
|
||||
metadata: ['general', 'metadata', 'title', 'description', 'search', 'engine', 'google', 'meta data'],
|
||||
twitter: ['general', 'twitter card', 'structured data', 'rich cards', 'x card'],
|
||||
facebook: ['general', 'facebook card', 'structured data', 'rich cards'],
|
||||
socialAccounts: ['general', 'social accounts', 'facebook', 'twitter', 'structured data', 'rich cards'],
|
||||
lockSite: ['general', 'password protection', 'lock site', 'make this site private'],
|
||||
users: ['general', 'users and permissions', 'roles', 'staff', 'invite people', 'contributors', 'editors', 'authors', 'administrators']
|
||||
};
|
||||
|
||||
const GeneralSettings: React.FC = () => {
|
||||
|
@ -11,14 +11,14 @@ import TipsOrDonations from './TipsOrDonations';
|
||||
import useFeatureFlag from '../../../hooks/useFeatureFlag';
|
||||
|
||||
export const searchKeywords = {
|
||||
portal: ['portal', 'signup', 'sign up', 'signin', 'sign in', 'login', 'account', 'membership'],
|
||||
access: ['default', 'access', 'subscription', 'post', 'membership', 'comments', 'commenting'],
|
||||
tiers: ['tiers', 'payment', 'paid', 'stripe'],
|
||||
tips: ['tip', 'donation', 'one time', 'payment'],
|
||||
embedSignupForm: ['embeddable signup form', 'embeddable form', 'embeddable sign up form', 'embeddable sign up'],
|
||||
recommendations: ['recommendations', 'recommend', 'blogroll'],
|
||||
analytics: ['analytics', 'tracking', 'privacy', 'membership'],
|
||||
offers: ['offers', 'discounts', 'coupons', 'promotions']
|
||||
portal: ['membership', 'portal', 'signup', 'sign up', 'signin', 'sign in', 'login', 'account', 'membership'],
|
||||
access: ['membership', 'default', 'access', 'subscription', 'post', 'membership', 'comments', 'commenting'],
|
||||
tiers: ['membership', 'tiers', 'payment', 'paid', 'stripe'],
|
||||
tips: ['membership', 'tip', 'donation', 'one time', 'payment'],
|
||||
embedSignupForm: ['membership', 'embeddable signup form', 'embeddable form', 'embeddable sign up form', 'embeddable sign up'],
|
||||
recommendations: ['membership', 'recommendations', 'recommend', 'blogroll'],
|
||||
analytics: ['membership', 'analytics', 'tracking', 'privacy', 'membership'],
|
||||
offers: ['membership', 'offers', 'discounts', 'coupons', 'promotions']
|
||||
};
|
||||
|
||||
const MembershipSettings: React.FC = () => {
|
||||
|
@ -5,9 +5,9 @@ import React from 'react';
|
||||
import SettingSection from '../../../admin-x-ds/settings/SettingSection';
|
||||
|
||||
export const searchKeywords = {
|
||||
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']
|
||||
design: ['site', 'logo', 'cover', 'colors', 'fonts', 'background', 'themes', 'appearance', 'style', 'design & branding', 'design and branding'],
|
||||
navigation: ['site', 'navigation', 'menus', 'primary', 'secondary', 'links'],
|
||||
announcementBar: ['site', 'announcement bar', 'important', 'banner']
|
||||
};
|
||||
|
||||
const SiteSettings: React.FC = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user