This project was bootstrapped with Create Contentful App and is partially based on this repository with the following improvements
- using app framework instead of UI Extension
- configuration page
- bug fixes
Contentful's web app clones an entry but none of the referenced entries. This app performs a deep clone of all entries. Assets will not be cloned, but there may be a config option for it later.
Allows for
- appending text before or after the title field to differentiate between old and new entry
- enables automatic redirect after x number of milliseconds
![image](https://private-user-images.githubusercontent.com/59477906/305971733-488a21a8-1b4e-43d2-8593-c5ff920a0758.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NzYzNTksIm5iZiI6MTcyNDc3NjA1OSwicGF0aCI6Ii81OTQ3NzkwNi8zMDU5NzE3MzMtNDg4YTIxYTgtMWI0ZS00M2QyLTg1OTMtYzVmZjkyMGEwNzU4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDE2MjczOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk2ODRmNDBkYTk2YWJjMzVjM2U5OTU5OTFkM2Y1Nzc0NGU3MjhhOGU2M2M4YWI5YTFhMGEyMzQwNDE3ZjZhMjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.H6QzLi5ZymPox3Vr1oMrgca7aCqoLTs-eww1MF4rLro)
Each content type needs to be configured with the sidebar app. It then shows a button that initiates the cloning process. Depending on config, the page redirects to the newly created top level entry.