Closed kopach closed 4 years ago
Hey @kopach
good question. Let me have a look into this problem. I'll get back to you when I've got some more information.
For lines of code
I usually use loc
. It's shorter and valid inside a URL. Whitespace in URLs are often tricky.
Best regards, Mirco
Hey @zemirco
Thanks for fast response. Yes, loc
is also fine with me in context of URL. But, for dashboard web view I would really prefer something more meaningful and clear for everyone. That's why I've tried with whitespaces in URL. Personally I would really prefer having spaces in widget names on dashboard. Maybe, that could be achieved by introducing another name
property or so? What do you think?
That's a really good point. Maybe I have a solution for you.
You're able to add a description to every series.
Does it help?
I tried to keep the app as close to the GitHub application as possible. Your username should not contain whitespace and also your repository cannot contain whitespace. That's where my decision is coming from. However using an extra field for the name and another one for the URL might also make sense.
Best regards, Mirco
I think, description might work for me. Thanks. And if you find a way I can remove already existing series with whitespaces - please let me know. Thanks.
I've deployed a fix and it should work now. Could you please try?
https://seriesci.com/kopach/karma-sabarivka-reporter/series
Let me know if it works for you!
Yes, works now. Thank you
I've posted series with white space like so:
https://seriesci.com/api/repos/kopach/karma-sabarivka-reporter/lines%20of%20code/combined
and now I neither can use nor even remove that from the dashboard - server returns 500 status code. Any chance I can