•  
     
    story #12447 Modal new document for empty/wiki/link
Summary
Empty
Modal new document for empty/wiki/link
Empty

This story introduces the new document modal, it only deals with empty/wiki and link types:

  • The modal has "standard fields": title + description
  • We do not let users submit permissions yet, for now new documents will inherit from the parent folder's permissions.
  • document metadata are available:
    • if parent folder has predefined permissions they are displayed in modal
    • we need a new REST route for metadata retrieval:
docman_items/:id/metadata [
{ name, type, values ...}
]
  • We need a new REST route to create the new items:

PATCH docman_items/:id

Modal action is displayed only if user has permission to update folder content:

  • If he's a mere mortal the "+ New document button" is not displayed
  • The empty state is differerent
  • Maybe the svg is different?

If there is an error (load metadata/item creation) then the error message is displayed on top of modal and scrollbar is reinitialized.

Empty
Empty
Status
Done
Development
Empty
Empty
Details
#12447
Marie Ange Garnier (marieange)
2019-01-28 11:58
2018-10-26 14:15
3644

References

List of items referenced by or referencing this item.

Git commit

Artifact Tracker v5

Follow-ups