Ideas, or more like a feature request for `Open In`

right now we have Open In for files…

is it possible to add Open In for directory/folder on assets (the Design tab):

  • Javascript: .mjs,.js, .json;
    • important request, for modular end points when library need to be installed is too big for first paint, and only needed on specific pages;
  • Styles: .scss(no .css, as it might messes with bss .css parser);
    • nice to have but not necessarily important, as bss styling using bootstrap is powerfull enough;
  • Image: whatever extension bss is supporting on that folder;
    • just in case some people need to fast sync large amount of image in orderly(on specific nested dir) manner, say for comics or something;

technical parts consideration:

  1. uses fs watcher bss now uses, I assume chokidar or some bundler library, to watch temporary/specific folder;
  2. filter out extension that might be problematic(for bss parser), or unsupported for bss hosted site, from syncing to bss, notify with Toast on bss application when there are filtered out files;
  3. assume the watched files of said directory already manually optimized by dev(no need to bundle or minify on dev/preview mode)(during dev or when Open In is still active or before export or before published);
  4. on Open Inon next session/action, assume bss assets are the source of truth(copy to temporary/specific watch folder, overrides any existing files);

thx!!!

1 Like