ultraabox / ultrabox_typescript

ultrabox source code
MIT License
26 stars 18 forks source link

Merge sample erroring alerts into one #75

Open MainCharacteroftheProblem opened 11 months ago

MainCharacteroftheProblem commented 11 months ago

So you don't have to click "ok" a dozen times. Should be pretty simple to implement

leovoel commented 11 months ago

The code for this probably would look similar to these lines in the loading status prompt:

https://github.com/ultraabox/ultrabox_typescript/blob/cddd3f8a70cceb716d9b6ee8aa6ae801c4364a21/editor/SampleLoadingStatusPrompt.ts#L62-L71

If the actual errors are supposed to be shown, they should be stored on that sampleLoadingState class as well, though I don't know if it's better to show the errors there or on the console (the alert won't have much space for anything after you put all the sample names or urls there I imagine).

Mid-The-Modder commented 1 month ago

Ah yes, this gets very annoying very quickly to have to click through all the time. Either a preference to not show errors or merging them all into one would be nice.

"The following samples have failed to load due to {LIST OF REASONS}: [Unloaded Sample List]"