mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-4126] viewer allow assigning tags to content basic (#8417)
* ACS-4126 Moved component for tags creation from applications to ADF, putting that component into Viewer * ACS-4126 Assigning tags to node and removed reference to modal from component for tags creating * ACS-4126 Started working on assigning existing tags to node * ACS-4126 Added newest changes for tags creation component * ACS-4126 Usage of MatSelectionList, possibility for selecting existing tag * ACS-4126 Allow to pass already assigned tags to tags creator as default top list * ACS-4126 Fixed some css issues like aligning of icons, hiden add input icon when input is already visible * ACS-4126 Allow to unlink tags from content * ACS-4126 Allow for discard changes and fixed some validation issues * ACS-4126 Integrate with changes for removing pagination * ACS-4126 Autoscroll to input, remove scrollbar from search list * ACS-4126 Code formatting * ACS-4126 Renamed prefix for tags and style classes * ACS-4126 Refreshing assigned tags after linking them, disable some operations during saving * ACS-4126 Remove scrollbar from create label for long text, corrected some validations, use p tag instead of card view for displaying already assigned tags * ACS-4126 Removed redundant code from tags creator component * ACS-4126 Corrected translations * ACS-4126 Hide input during saving * ACS-4126 Unit tests for ContentMetadataComponent * ACS-4126 Unit tests for TagService * ACS-4126 Fixed unit tests for TagsCreator * ACS-4126 Added documentation * ACS-4126 Added additional unit tests * ACS-4126 Fixed lint issues * ACS-4126 Remove tags from files and folders list when taggable is unchecked * ACS-4126 Small correction in styles * ACS-4126 Corrected type for assigning single tag * ACS-4126 Updated docs * ACS-4126 Updated docs * ACS-4126 Fixed some unit tests * ACS-4126 Fixed lint issues * ACS-4126 Updated jsdoc * ACS-4126 Reverted one unwanted line * ACS-4126 Removed space which caused lint issue * ACS-4126 Fixed unit tests * ACS-4126 Restored change * ACS-4126 Fixed unit tests * ACS-4126 Small correction
This commit is contained in:
@@ -61,6 +61,11 @@ Manages tags in Content Services.
|
||||
Find tag which name matches exactly to passed name.
|
||||
- _name:_ `string` - Value for name which should be used during finding exact tag.
|
||||
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<TagEntry>` - Found tag which name matches exactly to passed name.
|
||||
- **assignTagsToNode**(nodeId: `string`, tags: `TagBody[]`): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`TagPaging`](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/TagPaging.md)`|`[`TagEntry`](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/TagEntry.md)`>`<br/>
|
||||
Assign tags to node. If tag is new then tag is also created additionally, if tag already exists then it is just assigned.
|
||||
- _nodeId:_ `string` - Id of node to which tags should be assigned.
|
||||
- _tags:_ `TagBody[]` - List of tags to create and assign or just assign if they already exist.
|
||||
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`TagPaging`](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/TagPaging.md)`|`[`TagEntry`](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/TagEntry.md)`>` - Just linked tags to node or single tag if linked only one tag.
|
||||
|
||||
## Details
|
||||
|
||||
|
Reference in New Issue
Block a user