Sample relocation UX
-
Hey @Christoph-Hart I have one request, which I think the whole community would appreciate. After doing HISE stuff for a couple of years now, the most frustrating thing for the end users is the procedure associated with re-locating the samples folder.
The alert window asks them to choose the FOLDER in which the files are stored. Nobody reads that. They just realize they can’t click on the files, which makes them frustrated, and creates a need for support on such a basic task.
What I propose is this: let the user to select one of the .ch1 files and read it’s location (so folder minus the file name). This simple change would lead to a way better UX, and heavily reduce the need for support.
Please, please, please!
-
@tomekslesicki You could implement this yourself. I'm using a custom implementation in my plugins. It's really easy with the file and file system API.
In my case I'm using expansions so there is a built in helper function. For non-expansion projects I think you'd need to manually write the path to the link file, I could be wrong though, there might be a simpler method. Either way it's not complicated.
Here's my method, this is is called in the callback of a FileSystem.browse call - https://codeberg.org/LibreWave/RhapsodyBoilerplate/src/branch/main/includes/Expansions.js#L395
This is how to manually write a link file (in your case you'd want to put it in the Samples sub-folder):
https://codeberg.org/LibreWave/RhapsodyBoilerplate/src/branch/main/includes/Expansions.js#L466 -
@d-healey thanks! I’m generating the link file on install, actually, and it works great UNTIL somebody decides to move the files. And this is exactly what I’d love to see improved.
Having to browse help sections is not great UX either, and most people just email me straight ahead.
This is a simple improvement that could be at the core of the built-in sample management. The base is already there, I’m just suggesting a simple way to improve it.
-
@Christoph-Hart could we please have this?
-
@tomekslesicki You're talking about the popup when you click on this button, right?
Sure I can add a preprocessor that you can define for your projects, but I'm not sure if I should change the default value.
-
Alright, if you want to browse for a .ch1 file, add
HISE_BROWSE_FOLDER_WHEN_RELOCATING_SAMPLES=0
to the extra definitions fields of your project.I haven't tested it (the change was trivial), so if there is a hiccup, let me know.