feat(spotlight): add support for custom search-engines (#1200)
* feat(spotlight): add search settings link * feat(search-engine): add to manage pages * feat(spotlight): add children option for external search engines * chore: revert search settings * fix: deepsource issue * fix: inconsistent breadcrum placement * chore: address pull request feedback
This commit is contained in:
@@ -304,8 +304,8 @@ export default {
|
||||
list: {
|
||||
title: "Apps",
|
||||
noResults: {
|
||||
title: "There aren't any apps.",
|
||||
description: "Create your first app",
|
||||
title: "There aren't any apps",
|
||||
action: "Create your first app",
|
||||
},
|
||||
},
|
||||
create: {
|
||||
@@ -1595,6 +1595,7 @@ export default {
|
||||
boards: "Boards",
|
||||
apps: "Apps",
|
||||
integrations: "Integrations",
|
||||
searchEngies: "Search engines",
|
||||
users: {
|
||||
label: "Users",
|
||||
items: {
|
||||
@@ -2049,13 +2050,22 @@ export default {
|
||||
label: "New",
|
||||
},
|
||||
},
|
||||
"search-engines": {
|
||||
label: "Search engines",
|
||||
new: {
|
||||
label: "New",
|
||||
},
|
||||
edit: {
|
||||
label: "Edit",
|
||||
},
|
||||
},
|
||||
apps: {
|
||||
label: "Apps",
|
||||
new: {
|
||||
label: "New App",
|
||||
label: "New",
|
||||
},
|
||||
edit: {
|
||||
label: "Edit App",
|
||||
label: "Edit",
|
||||
},
|
||||
},
|
||||
users: {
|
||||
@@ -2193,6 +2203,16 @@ export default {
|
||||
group: {
|
||||
searchEngine: {
|
||||
title: "Search engines",
|
||||
children: {
|
||||
action: {
|
||||
search: {
|
||||
label: "Search with {name}",
|
||||
},
|
||||
},
|
||||
detail: {
|
||||
title: "Select an action for the search engine",
|
||||
},
|
||||
},
|
||||
option: {
|
||||
google: {
|
||||
name: "Google",
|
||||
@@ -2257,6 +2277,9 @@ export default {
|
||||
manageIntegration: {
|
||||
label: "Manage integrations",
|
||||
},
|
||||
manageSearchEngine: {
|
||||
label: "Manage search engines",
|
||||
},
|
||||
manageUser: {
|
||||
label: "Manage users",
|
||||
},
|
||||
@@ -2332,5 +2355,71 @@ export default {
|
||||
},
|
||||
},
|
||||
},
|
||||
engine: {
|
||||
search: "Find a search engine",
|
||||
field: {
|
||||
name: {
|
||||
label: "Name",
|
||||
},
|
||||
short: {
|
||||
label: "Short",
|
||||
},
|
||||
urlTemplate: {
|
||||
label: "URL search template",
|
||||
},
|
||||
description: {
|
||||
label: "Description",
|
||||
},
|
||||
},
|
||||
page: {
|
||||
list: {
|
||||
title: "Search engines",
|
||||
noResults: {
|
||||
title: "There aren't any search engines",
|
||||
action: "Create your first search engine",
|
||||
},
|
||||
},
|
||||
create: {
|
||||
title: "New search engine",
|
||||
notification: {
|
||||
success: {
|
||||
title: "Search engine created",
|
||||
message: "The search engine was created successfully",
|
||||
},
|
||||
error: {
|
||||
title: "Search engine not created",
|
||||
message: "The search engine could not be created",
|
||||
},
|
||||
},
|
||||
},
|
||||
edit: {
|
||||
title: "Edit search engine",
|
||||
notification: {
|
||||
success: {
|
||||
title: "Changes applied successfully",
|
||||
message: "The search engine was saved successfully",
|
||||
},
|
||||
error: {
|
||||
title: "Unable to apply changes",
|
||||
message: "The search engine could not be saved",
|
||||
},
|
||||
},
|
||||
},
|
||||
delete: {
|
||||
title: "Delete search engine",
|
||||
message: "Are you sure you want to delete the search engine '{name}'?",
|
||||
notification: {
|
||||
success: {
|
||||
title: "Search engine deleted",
|
||||
message: "The search engine was deleted successfully",
|
||||
},
|
||||
error: {
|
||||
title: "Search engine not deleted",
|
||||
message: "The search engine could not be deleted",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user