mirror of
https://github.com/abh/ntppool.git
synced 2026-04-25 19:45:50 +03:00
[GH-ISSUE #184] Need a "default" option for account preference, or save state of last viewed account. #64
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntppool#64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Jas0n99 on GitHub (Jan 19, 2020).
Original GitHub issue: https://github.com/abh/ntppool/issues/184
Now that a person can have multiple accounts, there doesn't appear to be a way to set a "default" account that is selected / shown on the left sidebar.
There doesn't appear to be any logical sort order for the team names, I'm guessing it's just sorting based on an internal id #. (Which is okay)
It would be nice if you could set a "default" account (on the account management page) that is chosen when you login / new visit. Or at the very least remember the state of the last chosen account for the user.
@abh commented on GitHub (Feb 19, 2020):
yeah, it looks like it's basically just whatever the database gives back looking for an account you are in: https://github.com/abh/ntppool/blob/master/lib/NTPPool/Control/Manage.pm#L58
I don't particularly want to add an option for this. Maybe just have the system remember the last account you used, as you suggested. (Or the last account you used that you are in; so admins default to their own account?).
Another issue you could reasonably open is that the server page loads really slowly if you have a lot of servers in it. 😄 I am guessing that's why you were thinking of this ...