Skip to content

Fix readme and links#194

Open
Timple wants to merge 3 commits intodingo35:masterfrom
Timple:fix/readme
Open

Fix readme and links#194
Timple wants to merge 3 commits intodingo35:masterfrom
Timple:fix/readme

Conversation

@Timple
Copy link

@Timple Timple commented Apr 11, 2025

No description provided.

Copy link
Owner

@dingo35 dingo35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! Few remarks ....

<td>Factory</td>
<td>stable</td>
<td><a href="https://github.com/"
<td><a href="https://github.com/SmartEVSE/SmartEVSE-3"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will cause a problem; this reference (called this.href) will have "OWNER_FACT + / + REPO _FACT added to it, so the link would become:
https://github.com/SmartEVSE/SmartEVSE-3/SmartEVSE/SmartEVSE-3 ....

Copy link
Author

@Timple Timple Apr 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, if that was the case this would not need a fix 🙂
I came across this in the /update page. Both links just brought me to GitHub.com
So I assumed this would fix it. But I'm not very familiar with html

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well thats strange, in all of my versions, if you hover your mouse over the link it SHOWS https://github.com but if you click it it actually brings you to the right repository (dingo35/SmartEVSE-3.5 or SmartEVSE/SmartEVSE-3.5).

Does yours behave differently? If so, what browser do you use?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems you are correct. I was assuming the hovering url was also where it would take me.

I will adjust the PR accordingly!

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well if you use right mouse and open link in new tab, this will take you to just github.com, instead of the full url.

<td>Community&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td>
<td>bleeding edge&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td>
<td><a href="https://github.com/"
<td><a href="https://github.com/dingo35/SmartEVSE-3.5"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same problem as above...

Copy link
Owner

@dingo35 dingo35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my environment it doesnt change anything, still showing "github.com" when hovering over the github repo fields.

I am on Firefox on Linux, which automatically favores https://

onclick="var fullUrl = this.href + OWNER_COMM + '/' + REPO_COMM + '/releases';
this.title = fullUrl; // Update hover text
location.href = fullUrl;
return false;"><script>document.write(OWNER_COMM)</script></a></td>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please align this code according to the change you made above. Small thing but it helps the code looking good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants