diff --git a/app/actions/definitions/collections.js b/app/actions/definitions/collections.js
index 7fb395766..47331e75f 100644
--- a/app/actions/definitions/collections.js
+++ b/app/actions/definitions/collections.js
@@ -33,6 +33,7 @@ export const createCollection = createAction({
name: ({ t }) => t("New collection"),
section: CollectionSection,
icon: ,
+ keywords: "create",
visible: ({ stores }) =>
stores.policies.abilities(stores.auth.team?.id || "").createCollection,
perform: ({ t, event }) => {
diff --git a/app/actions/definitions/documents.js b/app/actions/definitions/documents.js
index f50a50114..15a8b54d6 100644
--- a/app/actions/definitions/documents.js
+++ b/app/actions/definitions/documents.js
@@ -16,6 +16,7 @@ export const openDocument = createAction({
name: ({ t }) => t("Open document"),
section: DocumentSection,
shortcut: ["o", "d"],
+ keywords: "go to",
icon: ,
children: ({ stores }) => {
const paths = stores.collections.pathsToDocuments;
@@ -41,6 +42,7 @@ export const createDocument = createAction({
name: ({ t }) => t("New document"),
section: DocumentSection,
icon: ,
+ keywords: "create",
visible: ({ activeCollectionId, stores }) =>
!!activeCollectionId &&
stores.policies.abilities(activeCollectionId).update,
@@ -52,6 +54,7 @@ export const importDocument = createAction({
name: ({ t }) => t("Import document"),
section: DocumentSection,
icon: ,
+ keywords: "upload",
visible: ({ activeCollectionId, stores }) =>
!!activeCollectionId &&
stores.policies.abilities(activeCollectionId).update,
@@ -87,4 +90,8 @@ export const importDocument = createAction({
},
});
-export const rootDocumentActions = [openDocument, importDocument];
+export const rootDocumentActions = [
+ openDocument,
+ createDocument,
+ importDocument,
+];