As some may know I have a client who likes to have domain names that start with a 1 eg 1A.com, 1B.com etc.
This user has access to the dashboard and logs in as 1me.com (one more of the many).
The strange (now unexpected since the application of the 21.07-dev theme) behaviour is that the user still defaults into the first (alphabetically) owned domain in the list ie 1A.com
If the user selects 1B.com and goes to somewhere in the menu (eg Edit Users) then returns to the Virtualmin tab everything behaves as expected.
So why when logging in as a user at 1me.com does it not automatically select 1me.com as the current domain in the list instead of 1A.com?
Why doesn’t the GUI simply store the last page visited? (cookie or LS) so that the user logs in and goes to where they last viewed. So if a user looks at domain 1me.com and the Edit Users list or whatever then next time they log in they go to the place they were last at and not to some other domain that just so happens to be higher up the list alphabetically. One can’t even get there by remembering the url.
Because you don’t have the default domain after login configured in Theme Configuration page, so it falls to the first domain in the list. All is expected.
Ah but that doesn’t do it either as the required default page is “Dashboard” as previously set.
The Dashboard has nothing to do with the domain selected. But the domain selected always ends up as the first alphabetically and if "Dashboard is selected in that list as the Default it goes to the “Virtual Server Summary”
If the user had a simple url (with get params) or last page was stored in a cookie/LS/server side then the page could go direct. At the moment it seems to require at least 2 menu requests to get back to the user’s required position in the GUI.
Select Virtualmin Main Tab
Select the users domain 1me.com
Select any other menu item (or Dashboard)
Repeat 1.
I think what would solve it would be:
A Default Domain for Virtualmin (a selectable list of the client’s domains) → user selects 1me.com
The original Default Page for Virtualmin → user selects Dashboard (that list would be similar to the existing list under Webmin ie a list of typical menu pages)
Based on my previous screenshot, if I choose sub1.ubuntu22-pro.virtualmin.dev in previously mentioned Theme Configuration page, after the login I have sub1.ubuntu22-pro.virtualmin.dev selected as expected (note that it isn’t the first domain on the list):
But it is illrelevant because the Page is lost. The user then has to repeat/make further menu selections just to get back to where they last were the Dashboard
So it does not solve the problem. The user wants to be on the last selected page for the last selected domain/VS which is what the setting “Default Page for Virtualmin” implies.
That setting does nothing about the page it should be labeled “Default domain for Virtualmin” as that is what it now lists (plus the Dashboard page).
I cannot see how I can explain it with any further clarity.
client user (who owns all these 1*domains) logs out overnight then logs in each day - normally to only view the excellent dashboard to see everything is working as expected and see if there are things to do, but may have other things to look at or add (like a new user) or update the VS website.
I still don’t see how.
That list seems to only contain either domain name or “Dashboard” not both.
not necessarily, I’m pretty sure what I am saying is at login the user goes to the same place as last use (which is why I suggested browser storage of domain & page)
or url parameters
(eg. https://1me.com?domain="1me.com"&page="Dashboard")
or
(eg. https://1me.com/1me.com/dashboard)
Well to start with you get Webmin tab selected on login. so need to tab (alt+V) to get to Virtualmin tab.
Then you need to select the domain why should this then jump to the Server summary page? - if that is the page desired it could be selected from the menu but I find it rarely is of interest except for the link to home directory (file manager)
I would have thought logically remaining on the Dashboard (the default page) would be more appropriate.
then select the action on that domain (eg Edit users)
then when you select (Virtualmin tab) you get
That is odd. I have it working. Try using force-refresh system information page button on the top right of the dashboard. It force clears a lot of various cache data.
I guess I’ll kiss goodbye to that user.
I cannot believe this can be real. There is no reason for being extreme.
Also as no one else seems interested (just my client and me) I’ll try to forget and give up. Tx anyway for at least listening.
Well, I would understand those features you’re asking for, if we didn’t have those old-school options to configure what is getting opened after the logging in.
I could most probably make it work the way you suggest but it seems like such an insignificant thing.
Besides, I don’t understand why your user logs out every night. It makes little sense. People don’t logout from Webmin/Virtualmin for months.
note the domain name was retained on the switch which is the same screen as the dashboard, this is also true if you select any virtualmin option & switch to the dashboard tab and back again , maybe this is the issue ? But to be fair I do not see much point to the dashboard tab as it brings very little to the party, to the point I have asked my domain owners and all never use it.
There is no good way design-wise to remove dashboard switch. Also, I personally don’t find it pointless.
This all works as expected. Although, I may in the future change it so on return not only left menu would be remembered but also previous right side page.