-
Notifications
You must be signed in to change notification settings - Fork 71
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
[RFE] Add categories or tree-like view in TUI #35
Comments
Hi @Ramshield appreciate your feedback, what exactly you mean by unclear ? Do you mean that having long list of hosts ? cuz the list narrows down as you type host names, this doesn't help you ? |
Hi. The long list is unclear is what I mean. It would be easier to be able to divide it into categories. |
I wanna make it suitable for all situations for sure , I thought that narrowing down the list of servers as you type hostnames would help , but maybe I was wrong . I understand your request to have servers divided in sub categories here , however is it possible to provide some screenshots to show how it is not convenient as of now (considering the type-to-search feature) ? |
I'm afraid I can't provide a screenshot as this is a live environment and servers of customers, so I can't share that data. But imagine using 40+ hosts in a live environment where we switch a lot between servers, and typing it every time is a bit slow, and you need to remember the hostname in such case as well. So it is easier to scroll through, looking for a hostname. I'm familiar with most hosts, but my colleagues are not. |
No worries, well I need to evaluate this change as it requires considerable modifications in different layers . I will keep this issue open to consider in future release . |
Okay, thanks for considering it, hopefully it will be implemented soon :) |
Would it be possible to implement a "tagging" like feature, that the filter also checks when you type? Or maybe a switch that cycles what field the filter is registering |
Hey @lankyninja wb :) , not sure if tagging fits here frankly. I was thinking of something like To organize available hosts , it fits various use cases , dev/production is one example , or @Ramshield case is another . |
That's perfect @anazmy! Exactly what I had in my mind! |
Have you been able to make any progress in it by chance? |
Been following this project for a while for a potential replacement for EzeeLogin which we currently use. It would be nicer in my opinion to just have a list of categories that you can scroll through, hitting enter would then list all the servers in that category rather than having a long expanding tree. |
@Ramshield have been busy the past period, but I will pick this up soon. |
@ezpzhosting thanks for your interest, does my screenshot above look similar to what you are describing? |
@ezpzhosting also is the shortlist as you type feature helpful, it's available now? |
In functionality it looks similar but after entering one of the groups it removes the rest from view to keep the interface clean. |
@ezpzhosting I see, I think something similar can be doable |
Good to hear @anazmy, sorry if I seem impatient, I was just curious as we're currently waiting for the feature before we can roll this further out in our environment. |
@Ramshield lots of personal stuff to take care of before attending to this, sorry for the delay. |
I have started work on this here https://github.com/lankyninja/Aker/tree/feature/35-add-cataegories. Next step is to refacter references to the hosts as Host objects rather than the hostnames directly. I'll create the documentation for usage at a later time |
…gory-grouping' into feature/35-add-cataegories
hey @lankyninja , ur up to something here, many thanks, keep it up. I'm think I will be clear from the stuff I got now in my hands in 1/2 weeks and will be able to focus again on getting this done. |
Proposed hostgroups structure :
Looking into building a dict of Host() object instead |
@lankyninja back now and looking into your changes, some neat stuff there 👍 |
sample hosts.json (Maybe we need to rename that file):
|
Same separation logic applies, hosts.py handles both host and hostgroup dealing from/to cache, while the IdP module - Json.py for example - communicates with the back-end. |
Hi anazmy, |
Hey @Diablo2050 , you caught me working on it, I'm nearly finished with the backend stuff, working on presenting the hostgroups (categories) now to the user TUI, hopefully it will be done soon. As for user/server management, FreeIPA is the available method right now, its centralized and has a detailed WebUI. I want to write another tool to handle user/server management in a Json setup but that's for later. May I ask you why you're not considering FreeIPA ? |
@anazmy we haven't tried it and i don't know how feasible it is in a web hosting environment, for example: |
All what you mentioned should work nice with FreeIPA, if you're looking for more info kindly join our gitter chat, you can find it in the project landing page here in github, just want to leave this area for issue tracking. |
Hi @Diablo2050. I personally wrote a script for it. If you'd like, I'd be happy to share it! |
@Ramshield that would be awesome thanks |
Apply Hostgroups/Categories view, issue #35
@Ramshield this took long time for various reasons, it should be now implemented, please try the new code and let me know how it goes. |
Thanks @anazmy, I'll give it a try soon! And no worries, I'm patient, just glad it has been implemented, thanks!! Are you already accepting donations? :) |
Hope you like it @Ramshield. And no donations for now, this just for fun so far, thanks for the offer though. |
Alright, just implemented it. Took a lot longer then expected as it was quite busy. When entering a host group, the order is 'messed up', it pretty much looks random. |
hmm, can you please open a new issue to track this point |
Hi anazmy,
I've been using this project in our organization now, in 40+ hosts, including routers and switches.
However it's very unclear. Could you implement some kind of category system or sub-folder which we can use in Aker overview?
Thanks!
The text was updated successfully, but these errors were encountered: