mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1751] Version manager POC (#2551)
* First try * Upload new versions * Add versionComment * Permission handling for sidebar also * Add tests * Fix rebase * Add documentation
This commit is contained in:
committed by
Eugenio Romano
parent
e7e2007c93
commit
2588bbda7d
@@ -422,6 +422,7 @@ for more information about installing and using the source code.
|
||||
- [Document list component](document-list.component.md)
|
||||
- [Sites dropdown component](sites-dropdown.component.md)
|
||||
- [*Content node selector component](../ng2-components/ng2-alfresco-documentlist/src/components/content-node-selector/content-node-selector.component.ts)
|
||||
- [Version Manager Component](version-manager.component.md)
|
||||
|
||||
### Models
|
||||
|
||||
|
BIN
docs/docassets/images/version-manager.png
Normal file
BIN
docs/docassets/images/version-manager.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 118 KiB |
@@ -38,6 +38,7 @@
|
||||
"nodes-api.service"
|
||||
],
|
||||
"dropdown-breadcrumb.component": ["document-list.component", "breadcrumb.component"],
|
||||
"version-manager": ["document-list.component"],
|
||||
"extensibility": [],
|
||||
"file-uploading-dialog.component": [],
|
||||
"folder-actions.service": ["document-actions.service"],
|
||||
|
25
docs/version-manager.component.md
Normal file
25
docs/version-manager.component.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Version Manager Component
|
||||
|
||||
The Version manager component displays the version history of a node with the ability to upload a new version.
|
||||
|
||||
 `This component is still in experimental phase, it has several limitations which will be resolved soon.`
|
||||
|
||||

|
||||
|
||||
## Basic Usage
|
||||
|
||||
```html
|
||||
<adf-version-manager [node]="aMinimalNodeEntryEntity"></adf-version-manager>
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| node | [MinimalNodeEntryEntity](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/NodeMinimalEntry.md) | The node you want to see the version history of. |
|
||||
|
||||
|
||||
<!-- Don't edit the See also section. Edit seeAlsoGraph.json and run config/generateSeeAlso.js -->
|
||||
<!-- seealso start -->
|
||||
## See also
|
||||
<!-- seealso end -->
|
Reference in New Issue
Block a user