Limitation on Resources in DevPacks

Hi everyone,

we generated 4 folders with our Icons and wanted to add those into an “Icon DevPack”. Each folder contains approx. 2000 svg. After an import of about 2622 icons another import does not work anymore. In the resource folder I saw that the files are flat organized.

Any ideas about this?

I could of course separate the devpacks out. “Flat Icon DevPack”, “Rounded Icon DevPack”… I just thought I could structure that over the folders in the resources.

Thanks and :clinking_beer_mugs:

Hey @Beblebroks,

How are you adding the icons to the dev pack? Are you dragging the parent folder from Finder directly into the dev pack area in the Resources view within Elements?

Yes.. We use drag and drop of the folder. “Outlined”, “Filled” .. and those hold the icons. But when opening the DevPack its a flat structure with uuid names for each svg. So there would not be a automated way to generate those resources … I have them all on disc.

Oh I see, yes all resources are stored in dev packs as a flat file structure using their unique id’s. The structure, along with a lot of other meta data is held separately in the resources.json file. This makes it very quick to load up and re-arrange items. File monitoring is also an issue when working with thousands of files/folders.

Would you be able to send me a copy of the resources you’re trying to import in a private message? I wonder if there’s a specific file that’s causing an issue. If it’s taking a long time to import, we may have to add some progress UI to show what’s happening.

Hi @tpbradley

in general those are all just plain svg text files. Nothing special.

1 Like

@Beblebroks I’ve had a play, adding all of your icons and while it worked for me it was a little slow and ate up a lot of memory! I’ve been able to re-work the code so this doesn’t happen. It’s now significantly faster when generating icons for resources and you should notice quite a difference. This fix will be in the next release :tada:

@tpbradley … Thanks