•  
     
    story #12638 Add always there metadata date in new/update item modal (title, description, status, obscolescence date...)
Summary
Empty
Add always there metadata date in new/update item modal (title, description, status, obscolescence date...)
Empty
Status metadat can be inherited from parent folder.
=> if a parent has a status metadata defined, it will be displayed as default input value in modal

Metadata can be applied for folder
=> they should be inehrited from parent

If item is a folder there is an option to apply recursively the metadata

Metadata are directly displayed in modal, we will rework the modal design when we'll introduce custom metadata

Technically:
- POST/PUT docman_items existing routes should be updated and should enable the saving of new metadata
- GET docman_items should return the required + custom metadata for status and obsolescence date
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
#12638
Marie Ange Garnier (marieange)
2019-07-01 16:37
2018-12-20 15:12
4120

References
Referencing story #12638

Git commit

tuleap/tuleap/stable

Put the metadata classes into a dedicated folder 84e34b749f
Refactor the data build initilization of the rest tests of the Docman 6973ca5d96
User can set the status metadata when using the REST route POST docman_folders/:id/folders 2850f9a845
Add the obsolescence date and the status metdata for empty item 7bef907529
Add the obsolescence date and the status metdata for embedded file item 8f18ec1d83
Add the obsolescence date and the status metdata for link item 35cb8ac115
Add the obsolescence date and the status metdata for wiki item 842d518445
Add the obsolescence date and the status metdata for file item 512026b13e
Update the new folder creation modal with the "Status" metadata 7443e7f75b
Add the item status and obsolescence date fields in the document creation modal 983170604e
REST tests may failed randomly due to a bad date timestamp setting in the test 19a7e9e762
REST tests may failed randomly due to a bad date timestamp setting in the test (v2) b159156fa1
Update the PATCH docman_link/:id route with the hardcoded metadata 5340c341d9
Update the PATCH docman_wikis/:id route with the hardcoded metadata 2af57590dc
Fix recent issues spotted by vimeo/psalm in the docman plugin 4d5b75f4ab
Fix the wiki update in the new document UI 22eeb278d6
Add missing french translation when the hardcoded metadata are checked dd71196c13
Update the PATCH docman_embedded_files/:id route with the hardcoded metadata a9c8cad400
Fix the obsolescence date metadata behaviours on update and create item 2ae20620c4

Follow-ups

User avatar
  • I want to
    -Add always there metadata date in new/update item modal (title, description, status, obscolescenc date...) 
    +Add always there metadata date in new/update item modal (title, description, status, obscolescence date...) 
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
  • I want to
    -Add status and Obsolescence date in new item modal 
    +Add always there metadata date in new/update item modal (title, description, status, obscolescenc date...) 
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
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