From bd43a5b19f44988d119ddbc2b44ccaf714fa8488 Mon Sep 17 00:00:00 2001 From: Adina Parpalita Date: Wed, 14 Nov 2018 17:23:33 +0200 Subject: [PATCH] [ACA-19] update documentation --- docs/extending/application-features.md | 1 + docs/extending/components.md | 1 + docs/extending/rules.md | 21 ++++++++++++--------- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/docs/extending/application-features.md b/docs/extending/application-features.md index 40a0324b3e..cecaac05f1 100644 --- a/docs/extending/application-features.md +++ b/docs/extending/application-features.md @@ -307,6 +307,7 @@ The content actions are applied to the toolbars for the following Views: - Favorites - Trash - Search Results +- Libraries Search Results ## Context Menu diff --git a/docs/extending/components.md b/docs/extending/components.md index e94fa00115..e978a69d9c 100644 --- a/docs/extending/components.md +++ b/docs/extending/components.md @@ -17,6 +17,7 @@ The components are used to create custom: | app.toolbar.toggleInfoDrawer | ToggleInfoDrawerComponent | The toolbar button component that toggles Info Drawer for the selection. | | app.toolbar.toggleFavorite | ToggleFavoriteComponent | The toolbar button component that toggles Favorite state for the selection. | | app.toolbar.toggleFavoriteLibrary | ToggleFavoriteLibraryComponent | The toolbar button component that toggles Favorite library state for the selection. | +| app.toolbar.toggleJoinLibrary | ToggleJoinLibraryComponent | The toolbar button component that toggles Join/Cancel Join request for the selected library. | See [Registration](/extending/registration) section for more details on how to register your own entries to be re-used at runtime. diff --git a/docs/extending/rules.md b/docs/extending/rules.md index 4fd4f27e65..0a23b56fc1 100644 --- a/docs/extending/rules.md +++ b/docs/extending/rules.md @@ -143,6 +143,9 @@ The button will be visible only when the linked rule evaluates to `true`. | app.selection.file | A single File node is selected. | | app.selection.file.canShare | User is able to share the selected file. | | app.selection.library | A single Library node is selected. | +| app.selection.isPrivateLibrary | A private Library node is selected. | +| app.selection.hasLibraryRole | The selected Library node has a role property. | +| app.selection.hasNoLibraryRole | The selected Library node has no role property. | | app.selection.folder | A single Folder node is selected. | | app.selection.folder.canUpdate | User has permissions to update the selected folder. | | repository.isQuickShareEnabled | Whether the quick share repository option is enabled or not. | @@ -163,18 +166,18 @@ You can also negate any rule by utilizing a `!` prefix: | --------------------------------- | ------------------------------------------------------- | | app.navigation.folder.canCreate | User can create content in the currently opened folder. | | app.navigation.folder.canUpload | User can upload content to the currently opened folder. | -| app.navigation.isTrashcan | User is using the **Trashcan** page. | +| app.navigation.isTrashcan | User is using the **Trashcan** page. | | app.navigation.isNotTrashcan | Current page is not a **Trashcan**. | -| app.navigation.isLibraries | User is using the **Libraries** page. | -| app.navigation.isNotLibraries | Current page is not **Libraries**. | -| app.navigation.isSharedFiles | User is using the **Shared Files** page. | +| app.navigation.isLibraries | User is using a **Libraries** page. | +| app.navigation.isNotLibraries | Current page is not a **Libraries** page. | +| app.navigation.isSharedFiles | User is using the **Shared Files** page. | | app.navigation.isNotSharedFiles | Current page is not **Shared Files**. | -| app.navigation.isFavorites | User is using the **Favorites** page. | +| app.navigation.isFavorites | User is using the **Favorites** page. | | app.navigation.isNotFavorites | Current page is not **Favorites** | -| app.navigation.isRecentFiles | User is using the **Recent Files** page. | +| app.navigation.isRecentFiles | User is using the **Recent Files** page. | | app.navigation.isNotRecentFiles | Current page is not **Recent Files**. | -| app.navigation.isSearchResults | User is using the **Search Results** page. | -| app.navigation.isNotSearchResults | Current page is not the **Search Results**. | +| app.navigation.isSearchResults | User is using the **Search Results** page. | +| app.navigation.isNotSearchResults | Current page is not the **Search Results**. |

See [Registration](/extending/registration) section for more details @@ -187,7 +190,7 @@ The rule in the example below evaluates to `true` if all the conditions are met: - user has selected node(s) - user is not using the **Trashcan** page -- user is not using the **Libraries** page +- user is not using a **Libraries** page (**My Libraries**, **Favorite Libraries** or **Libraries Search Results** pages) ```json {