Skip to content
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

[PUI] Allow opening of top tabs and side tabs in new window #7271

Closed
SchrodingersGat opened this issue May 20, 2024 · 4 comments · Fixed by #7354
Closed

[PUI] Allow opening of top tabs and side tabs in new window #7271

SchrodingersGat opened this issue May 20, 2024 · 4 comments · Fixed by #7354

Comments

@SchrodingersGat
Copy link
Member

InvenTree version 0.15.1 | 196

The new interface looks great ! Apart from the features that will be implemented in #5212, the only feature I am missing is the ability to open a new tab with a CTRL+click (or middle click) on the UI elements. When I am browsing for parts, I like to go through the list and open every part in a new tab. I also like to be able to open new tabs with the navbar elements (parts, stock, ...).

EDIT : looks like CTRL+click is working on part list, but not on navbar. Middle click never works.

Originally posted by @Valdoise in #5328 (comment)

@wolflu05
Copy link
Contributor

That issue leads me to another idea, what about opening the parts detail page, but only in a drawer with about 90% width so that one can easily step through parts, check things and quickly continue with the next part. (We could do that for every tables detail page). But if we open the url directly (so we're not coming from a table), then we open the part in 100% without loading and showing the table first

@SchrodingersGat
Copy link
Member Author

That issue leads me to another idea, what about opening the parts detail page, but only in a drawer with about 90% width so that one can easily step through parts, check things and quickly continue with the next part. (We could do that for every tables detail page). But if we open the url directly (so we're not coming from a table), then we open the part in 100% without loading and showing the table first

Do you mean when selecting an item in a table, specifically?

@wolflu05
Copy link
Contributor

Currently when clicking on a line in a table, a new page opens. What about showing that in a 90% drawer instead, like we do on most tables in the admin center.

@Valdoise
Copy link

Valdoise commented May 20, 2024

So I compared "legacy" UI and platform UI :
image
image

To me, the difference in behavior of the middle click is caused by the absence of the URL in the name of the part in the new UI version.

@wolflu05 I'm more skeptical about a drawer. My workflow with the old UI was really :

  • Go through the table and open in a new tab every part of interest
  • Cycle over the tabs

This allowed me to quickly cycle between interesting components once they were opened in tabs, instead of searching again in the table.

@SchrodingersGat to be honest, if re-implementing middle-click is tricky or complicated, I could just force myself to use CTRL+click instead of middle-mouse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants