•  
     
    story #12453 Update document modal for files, embedded, wiki and links
Summary
Empty
Update document modal for files, embedded, wiki and links
Empty

live mockup here: https://s.codepen.io/enalean/debug/XPWvLg

Modal should enable user to create a new version of an existing document

  • embedded: Version name | description | content (ckeditor)
  • file: name | description | File upload
  • link: name | description | url
  • wiki: page name

empty document type will be handled in a dedicated story.

If the document/folder has an approval table, then the user has the following choices:

  • create an empty approval table
  • copy table
  • reset table

If the document is locked, then an option is displayed to keep the lock on the new version.

 

 

We map to the master behaviour, actually it's NOT possible to update a wiki page who has an approval table, so the modal for wiki won't offert the possibility to users to choose an approval table action when they update a wiki page. If page has an approval table a dedicated message will be displayed

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
#12453
Marie Ange Garnier (marieange)
2019-04-05 09:01
2018-10-26 15:52
4192

References
Referencing story #12453

Git commit

tuleap/tuleap/stable

PATCH /docman_wikis/:id 16aac24412
Refactoring: move at a dedicated place the global properties used to create a modal. 72fd43f1ed
Deal with edition locks 1301045418
User can choose to keep/release lock in modal 5ddc0dbeeb
Version should not be mandatory 407c11ed25
Update PATCH docman_files/:id to accept approval table def9c3f2aa
Update under construction modal dad9e7b5cf
Progress bar should be displayed when we update a new version from modal da811d3698
Add new action button in tree view list 6e6e3491f2
Add the approval update action for the file update modal 7d4b9f2fe9
User should be able to update file without approval table cda3cb2b61
Refactoring : make document test rest structure more understable 01670eebc7
Remove admin_url from approval table representation 835876cc86
PATCH /docman_embedded_files/:id fb77db400d
Refactoring: Have embedded REST content into its own namespace 343102cc11
Update modal for embedded files efec5121b8
PATCH /docman_links/:id 34b2f3fd60
Complete PATCH files API documentation ff231c5a6f
Update modal for links 50e5ce0c27
Do not rely on id in docman tests rest 4c7013041f
Wiki modal should not have version/changelog 9b4229b26a
Items (file, embedded, wiki) should be overlined to tell users everything is ok 252e04e6f0
Wiki modal should not have version/changelog 9a6fc7ebef
Move Files under it's own namespace dcf501a5b1
We should check item type at the begining of PATCH routes 4fb2dd9075
task #12453: PUT on execution doesn't work in the view a5a29504c4

Follow-ups

User avatar
  • I want to
    -Update document modal for existing items 
    +Update document modal for files, embedded, wiki and links 
  • 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
  • Status changed from On going to Done
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
Thomas Gorka (tgorka)2019-03-04 09:45
  • 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