Skip to content

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

Closed

Description

@SchrodingersGat

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)

Activity

  1. wolflu05 commented on May 20, 2024

    @wolflu05
    Member

    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

  2. SchrodingersGat commented on May 20, 2024

    @SchrodingersGat
    MemberAuthor

    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?

  3. wolflu05 commented on May 20, 2024

    @wolflu05
    Member

    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.

  4. Valdoise commented on May 20, 2024

    @Valdoise

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions