mikenorthorp / gulp-shopify-upload

gulp plugin to watch and upload files to Shopify for use in theme editing
Other
40 stars 22 forks source link

Feature Requests: List Available Themes & Delete remote files when deleted locally #24

Open justinmetros opened 8 years ago

justinmetros commented 8 years ago

Hi!

Love your plugin! Thanks for the hard work putting it together.

Have been using Grunt-Shopify for our Shopify builds for past two+ years but are moving builds over to Gulp for many obvious reasons ( performance, code over config, etc ).

One thing in particular I find missing in this plugin is having a file that is deleted locally also delete on the remote theme.

Would you be interested in reviewing a pull request for this feature? Based on version 2.0 which implements a check on the 'leaky bucket' for deleting files in bulk?

Additionally, would you be interested in a feature that when you initially run gulp-shopify-upload, it logs available theme IDs and then logs which theme ID you are currently connected to? I've found this to be useful when switching between themes ( staging, production, etc ) without having to go into the Shopify admin to grab the theme ID. Functionally this doesn't do much, more of a helpful utility to save some theme ID lookup time. The feature could be off by default and have an option { listThemes: true } to turn it on.

Attaching a screengrab of what that could look like after toying around a bit.

optional_theme_log

Look forward to your feedback. As an fan of the grunt-shopify plugin, and moving to gulp - I agree with comments in other requests we don't need all the features in this plugin, but these two in particular seem interesting to add.

chanmathew commented 6 years ago

+1, would love to see this as well to clean up a lot of unused assets and files that are cluttering the actual theme