The text underneath the name textbox says "This can be anything you like!" but that isn't strictly true; Spotify demands at least two non-special chars (so "1" is invalid, "11" is valid, "1-" is invalid, "1-1" is valid again due to two of the chars being non-special)
I would've whipped up a quick fix for this by doing something like this:
const NAME_DESC = (
streamType == "spotify"
?
"This name requires a minimum of two non-special characters - it will be used to select this stream from the source selection dropdown"
:
"This name can be anything - it will be used to select this stream from the source selection dropdown"
);
In StreamModal.jsx, but that file doesn't seem to be aware of the stream type being created
The text underneath the name textbox says "This can be anything you like!" but that isn't strictly true; Spotify demands at least two non-special chars (so "1" is invalid, "11" is valid, "1-" is invalid, "1-1" is valid again due to two of the chars being non-special)
I would've whipped up a quick fix for this by doing something like this:
In StreamModal.jsx, but that file doesn't seem to be aware of the stream type being created