Alfresco / alfresco-ng2-components

Alfresco Angular Components
https://www.alfresco.com/abn/adf/docs/
Apache License 2.0
295 stars 264 forks source link

Document list presets based on aspects #3049

Open kaspereden opened 6 years ago

kaspereden commented 6 years ago

Type of issue: (check with "[x]")

  • [x] New feature request
  • [ ] Bug
  • [ ] Support request
  • [ ] Documentation

Current behaviour: Currently via app.config.json there is an option to have folder column presets based on nodeId or -root-, -trashcan-.

Component name and version: document-list

New feature request: It would be awesome to be able to do this per available aspect. So when a folder has the aspect my:specificAspect it uses the specific preset (when defined ofcourse)

DenysVuika commented 6 years ago

I think we need to introduce a presetKey property for the document list, and allow developers define/bind the value based on the application logic.