Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

  •  
     
    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
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#12447
Marie Ange Garnier (marieange)
2019-01-28 11:58
2018-10-26 14:15
4241

References

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes