Page 1 of 1

[0.17.11] Hyperlink doesn't show up

Posted: Wed Mar 13, 2019 1:42 am
by Guilty
The homepage hyperlink works fine but the contact hyperlink fails to show up on the mods -> manage page

https://i.imgur.com/qLv5uei.png

Re: [0.17.11] Hyperlink doesn't show up

Posted: Wed Mar 13, 2019 1:48 am
by tehfreek
Has the format of info.json ever been formalized beyond "These are the fields that need to exist"?

Re: [0.17.11] Hyperlink doesn't show up

Posted: Wed Mar 13, 2019 3:16 am
by TruePikachu
As a rule of thumb, if something looks like a URL -- even including the protocol prefix -- it should be treated as one if it makes sense for the field.

Re: [0.17.11] Hyperlink doesn't show up

Posted: Wed Mar 13, 2019 8:35 am
by Guilty
Yeah, this is a minor bug. I'm just informing the devs, not a big deal but would be a nice fix.

Love Factorio devs <3

Re: [0.17.11] Hyperlink doesn't show up

Posted: Wed Mar 13, 2019 12:00 pm
by Rseding91
Thanks for the report. That field was never setup to be a hyperlink and as such it doesn't work like a hyperlink. Regarding the "As a rule of thumb" - that's not how any of this works when it comes to how GUIs function. Nothing is what it is without us programming it to work that way and we programmed that field to be a simple label so it is a simple label.

With that being said, I don't see the harm in making that field be a hyperlink if it starts with "http" or some variant so I'll do that.