[GH-ISSUE #184] Need a "default" option for account preference, or save state of last viewed account. #620

Open
opened 2026-03-13 15:00:58 +03:00 by kerem · 1 comment
Owner

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.

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.
Author
Owner

@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 ...

<!-- gh-comment-id:588122632 --> @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 ...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntppool#620
No description provided.