Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infobox should link to node subdomain if community provides a corresponding scheme #82

Open
Djfe opened this issue Dec 24, 2023 · 2 comments

Comments

@Djfe
Copy link

Djfe commented Dec 24, 2023

Describe the solution you'd like

It would be cool if the h2 (node name) at the top of the #infobox would link to mesh nodes.
We'll probably implement this ourselfs for Aachen at some point. This is just an issue so I remember the idea :)
https://map.aachen.freifunk.net/#!/de/map/0c0e76cf3a42
http://ffac--govegan.nodes.ffac.rocks/cgi-bin/status

as you can see from the example node, certain characters need to be replaced like #
Aachen replaces them by - but this could be made variable.

Aachen proposes a scheme like:
nodename.nodes.communitydomain.tld

@maurerle
Copy link
Member

maurerle commented Jan 3, 2024

I think this feature is very niche and I do not like that the Nodename would then turn blue due to it being a link.

Generally, it is quite good to advertise this nodename-dns feature which some communities have and is generally little known.
FFMUC once also had a schema like nodeid.node.ffmuc.net, which currently does not seem to work.

It should be configurable through an optional config like:
"title_link": "http://{NODENAME}.nodes.ffac.rocks" - where NODENAME, can be either NODENAME, NODENAME_NORMALIZED or NODEID

@Djfe
Copy link
Author

Djfe commented Jan 3, 2024

I would keep it black and show an underline on hover/click/focus.
also it should stay black instead of purple after having been visited. (all of this is simple css)

this should definitely be opt-in so communities can turn it on themselves if they provide this.

nodeid is an interesting option though the mac as part of the url is not very readable.

alternative: show the nodeurl above the IPs in blue

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

No branches or pull requests

2 participants