storyblok / storyblok-cli

Storyblok CLI
https://www.npmjs.com/package/storyblok
MIT License
31 stars 30 forks source link

CLI sync command for presets does not work after the sync command #7

Open dohomi opened 4 years ago

dohomi commented 4 years ago

The issue occurs while working with: (check one with "x")

Current behavior: If I sync components through the CLI I don't get 100% accuracy in the output after the sync.

Expected behavior: Presets name and structure should be synced identically from space A to B. The order gets out of sync as well.

Steps to reproduce: Run command: storyblok sync --type components --source A --target B After the sync the components are not accurately synced The attached screenshot shows on the left B and on the right side A

Screenshot 2020-09-02 at 16 12 53
dohomi commented 4 years ago

@DominikAngerer this bug is after I discussed it with @emanuelgsouza not an issue of the CLI but rather an issue of the Storyblok interface. The component presets are correctly sorted (alphabetically) inside of the components => presets tabs view. But inside of the content => presets the sorting and content of the presets is different. Attached you find a screenshot from one space and the two different views.

Currently its hard to work with the backend of Storyblok when many presets are available

Screenshot 2020-09-09 at 22 55 08
emanuelgsouza commented 4 years ago

Hi! Could you check again the platform? The fix has been deployed

dohomi commented 4 years ago

@emanuelgsouza I checked on the presets and the order is now correct. But I don't see any screenshots. This might be an issue that with the CLI the screenshots are not ported?

emanuelgsouza commented 4 years ago

Hi @dohomi . Could you check the v3.5.1 version? We implemented a fix to uploading the screenshoots when sync the presets as well.

dohomi commented 4 years ago

@emanuelgsouza the v3.5.1 did not make any change. I tried it in some of my spaces but the screenshots remain empty.