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

Add HOSTNAME to the webpage header ? #75

Open
KalixtShawxo opened this issue Dec 13, 2021 · 9 comments
Open

Add HOSTNAME to the webpage header ? #75

KalixtShawxo opened this issue Dec 13, 2021 · 9 comments
Labels
enhancement New feature or request

Comments

@KalixtShawxo
Copy link

Just a small enhancement request. I am running DietPi on several SBCs, and I love using this dashboard, and sometimes have multiple open. But in the browser tabs they all just say "DietPi Dashboard" (with the IP if you mouse over) but it would be nice if in the webpage itself in the header to the right of the DietPi icon it could display the hostname of the SBC it's connected to.
I find myself often jumping to the "management" section to verify which SBC i am on at the moment.

Thanks for any consideration.

@ravenclaw900 ravenclaw900 added the enhancement New feature or request label Dec 13, 2021
@ravenclaw900
Copy link
Owner

Hi,
The "multiple nodes" feature (#66) looks useful for you. I think it would be best to show the IP (probably optionally) if you were using this feature with multiple nodes, what do you think?

@KalixtShawxo
Copy link
Author

Multiple nodes from one interface would be great, and definitely useful for me having 1/2 dozen DietPi SBCs running. The hostname (and optionally the IP) being prominent on whatever screen you are on would definitely be needed to make sure you don't make a change on the wrong system. I'll definitely take a look at #66.

@Joulinar
Copy link
Collaborator

Joulinar commented Jan 24, 2022

just to give this a push. Especially with the new feature to show more nodes in one Gui. It would be helpful to have a identifier next to the IP address on the node selection menu. It could be the hoste name of the node. But I guess this would require to ask each nodes during service start up. Another option would be to allow users to specify a name inside node configuration like

nodes = ["dietpi3.lan:5252,node1", "192.168.x.x:4386,node2"]

As well it might be a good idea to allow to specify a name for the main frontend server. Actually it is displayed with IP address only on the node selection menu 😎

@ravenclaw900 ravenclaw900 mentioned this issue Jan 28, 2022
24 tasks
@KalixtShawxo
Copy link
Author

Hello! Finally got back to messing around with things.... was sick for a bit and some other issues.

Anyway, I like the added Address at the top bar for selecting, but when I select something other than the default, the address selection box disappears and I have to reload the original page.

Also, I then tried doing the nodes with a name in the config file and that totally breaks it. the selection box doesn't work at all.

Here's what works to show the different graphs, (on 192.168.2.11) but after selecting the box disappears:
nodes = ["192.168.2.13:5252", "192.168.2.14:5252"]

then trying this just breaks it completely:
nodes = ["192.168.2.13:5252,TARDIS", "192.168.2.14:5252,Tachikoma"]

@ravenclaw900
Copy link
Owner

Hmm, the box shouldn't disappear. Are either of those frontend nodes? Those currently aren't supported for viewing from other pages. The named syntax hasn't been implemented yet, so it won't work at all.

@KalixtShawxo
Copy link
Author

KalixtShawxo commented Feb 23, 2022 via email

@KalixtShawxo
Copy link
Author

well after a reboot or 3....including several power outages yesterday that corrupted a few of my SBCs.... it is working as expected, except for the remote that was corrupted. it no longer deletes the selection box.

@ravenclaw900
Copy link
Owner

That's odd... Did you have to reinstall the dashboard on any of them?

@KalixtShawxo
Copy link
Author

not since the reported issue.....but I did do reinstalls prior setting up the one to read the others.
I did the reinstalls on the 2 and made them back end only. then after that I setup a third one to read the other two.
That is where i was with the reported issue above. today, I was checking my SBC cause I had storm power outages and found a couple were corrupted, including one of the two I setup for the remote dashboard. but the funny thing is now the other that works, works fine as expected with the selection dropbox staying in place.
Now since I had responded above, I have setup another Pi to be remotely dashed (for lack of a better term).
I set it up by doing a reinstall to remove the front end, then I went into my remote dashboard system I had setup before and added the new IP to the config. rebooted and same thing, it works, but the selection dropbox disappears after selection but only for the one new one. the ones that were working still do.

so I'm at a loss again. I'm working on another issue rebuilding a Plex server and will come back to this issue over the weekend to see if it "fixes itself" like the others did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants