feat: commit media with post (#2851)

* feat: commit media with post - initial commit

* feat: add draft media indication

* feat: sync UI media files with GitHub on entry load

* feat: bug fixes

* feat: delete media files from github when removed from library

* test: add GitHub backend tests

* test: add unit tests

* fix: meta data object files are not updated

* feat: used nested paths when update a tree instead of recursion

* feat(test-backend): update test backend to persist media file with entry

* test(e2e): re-record fixtures data

* chore: code cleanup

* chore: code cleanup

* fix: wait for library to load before adding entry media files

* chore: code cleanup

* fix: don't add media files on entry when not a draft

* fix: sync media library after draft entry was published

* feat: update media library card draft style, add tests

* test: add Editor unit tests

* chore: test code cleanup

* fix: publishing an entry from workflow tab throws an error

* fix: duplicate media files when using test backend

* refactor: fix lodash import

* chore: update translations and yarn file after rebase

* test(cypress): update recorded data

* fix(test-backend): fix mapping of media files on publish
This commit is contained in:
Erez Rokah
2019-11-17 11:51:50 +02:00
committed by GitHub
parent 0898767fc9
commit 6515dee871
77 changed files with 17692 additions and 27991 deletions

View File

@ -98,6 +98,9 @@ const de = {
},
},
mediaLibrary: {
mediaLibraryCard: {
draft: 'Entwurf',
},
mediaLibrary: {
onDelete: 'Soll das ausgewählte Medium wirklich gelöscht werden?',
},

View File

@ -94,6 +94,9 @@ const en = {
},
},
mediaLibrary: {
mediaLibraryCard: {
draft: 'Draft',
},
mediaLibrary: {
onDelete: 'Are you sure you want to delete selected media?',
},

View File

@ -96,6 +96,9 @@ const fr = {
},
},
mediaLibrary: {
mediaLibraryCard: {
draft: 'Brouillon',
},
mediaLibrary: {
onDelete: 'Voulez-vous vraiment supprimer la ressource sélectionné ?',
},