[ACA-2062] toolbar updates (#847)

* john-doclist-actions-ACA-2062

* add “simpletask” to ignore list

* fix e2e

* add workaround for Favorites

* isSharedFile state evaluator

* update docs

* update store on share file modal closed

* share action definition

* rename evaluator

* context menu rule

* check for file selection

* use another selector

* update tests

* viewer share action

* fix e2e tests

* update viewer button ids
This commit is contained in:
john-knowles
2018-12-05 11:27:22 +00:00
committed by Denys Vuika
parent 8d64dfb0e8
commit 12a72afdac
14 changed files with 353 additions and 225 deletions

View File

@@ -142,6 +142,7 @@ The button will be visible only when the linked rule evaluates to `true`.
| app.selection.first.canUpdate | User has permission to update selected node(s). |
| app.selection.file | A single File node is selected. |
| app.selection.file.canShare | User is able to share the selected file. |
| app.selection.file.isShared | A shared node is selected |
| 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. |