-
Notifications
You must be signed in to change notification settings - Fork 45
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
Open a row/link in a new tab #574
Conversation
migrated to PR |
@rcmoutinho |
Outstanding! Sounds great to me! Looking forward to seeing your tests! Thanks again! |
I've pushed a small implementation on the branch from this PR.
|
To be honest, whatever works to open a new tab, I would be happy. And just tested locally, and the ALT-Click works great 🎉 My opinion on what's available on the new page is just what is expected from the click. I would not add a menu or last job panel, just the information about the click (grain, pillar, job, or whatever info we are clicking). It would be a simple light call to the server to collect the precise information it needs. Once we read the page, we can just close it and continue on the context of the main page already opened. Let me know what you think about it. |
thx for the feedback!
|
Damn! Indeed, it's a lot, but you have a great plan. Would hiding info prevent sending extra calls to the server or just not showing on the UI? I am okay with or without the SaltGUI logo/menu. The information is the most essential part. I could execute the same module call to get it, but it would defeat the UI's purpose of making it easier/quicker to get the information. |
Thank you for making this possible. This little feature makes SaltGUI become a power tool. The list of tasks seem good. Good luck with the design as well! |
As you have already seen, there is a separation between the pages and the panels. |
Perfect! Thanks for the extra details about the process. |
progress tracker:
note: often |
Enabled it anyway. |
Interesting! I remember that once I clicked it, it opened and activated the new tab. However, I think the default behavior on the browser for Alt is to "save link as". I will test all your changes first thing Monday morning and give you extra feedback if there is any. Thanks again for the massive code changes to make it happen 🎉 |
13c4641
to
0ca6ee3
Compare
solution is to show the header again, only the menu-items are now hidden in secondary tab/page. |
This is beautiful! Opening five job results simultaneously using CTRL is even better than ALT (considering it changes the page focus). Both approaches are working on my side 🎉 I enabled all notifications to ensure I update them as soon as possible once this is merged with the master. |
|
@rcmoutinho I plan to make a new release of SaltGUI after this issue and issue #571 are done. Can you give this PR one final round of testing? |
@erwindon re-deployed the branch, and it continues to work great! Thanks a lot for all the work! |
Is your feature request related to a problem? Please describe.
Many pages like pillars, grains, jobs, etc., contain an extensive list that might take a while to load, depending on the number of minions. In this context, whenever you click in the row, it loads the content on the same page. But once you go back, it needs to load everything again.
There is a good side to always getting the latest data. But it is very annoying when you have a huge list or a filter to load, and when you get back to the page, it loads the default content again. It would be amazing to open a new tab for each job we want to look deeper into without the need to load the whole list for each of them (that would also decrease the load on the server calls).
Describe the solution you'd like
Create a configuration to force every row click to open in a new tab so the user can decide whether this behavior is more convenient. Right-clicking and opening a new tab could also be possible as a solution.
Describe alternatives you've considered
Adding an extra button on this kind of page to open the content in a new tab (if the row behavior is more challenging to implement).
Additional context
I could contribute if you gave me some guidance. I saw panels and page folders, but I'm not sure exactly how to add things there.
Thanks in advance for reading the message and maintaining this great project. Cheers!