Skip to content

[FR] Part Categories got harder to navigate #7485

Closed

Description

@eimparas

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

Problem statement

i Have structured my inventory based based on a general part group
eg:

-Voltage regulators
--Positive 
---78xx
---LDO

etc.

Im not so sure at witch version this happend cause this is more like a "when you need it" thing, i notised that when going to the part or stock Subcategories menu i had all the "tree" on the same list and i had to set a filter
image
that wasnt needed before .

Suggested solution

Revert back to doing the oposite . If someone wants everything listed like this :
image

have it be a filter

Describe alternatives you've considered

You could also have it be a option in the config if the user want by default
image
the Include Parameters Option be True or false

Examples of other systems

No response

Do you want to develop this?

  • I want to develop this.

Activity

  1. added
    enhancement
    triage:not-checked
    on Jun 20, 2024
  2. SchrodingersGat commented on Jun 20, 2024

    @SchrodingersGat
    Member

    @eimparas any development in this area will focus on the new react interface. You can view the progress here: https://demo.inventree.org/platform

  3. added and removed
    enhancement
    triage:not-checked
    on Jun 20, 2024
  4. eimparas commented on Jun 21, 2024

    @eimparas
    Author

    @SchrodingersGat Yes i understand , but the same behavor seems to exist/happen in the demo

    image

    (nice face lifting BTW)

    But help me clear this up , did this behavor change indeed in some version or it was like a Mandela effect of some short?

  5. wolflu05 commented on Jun 21, 2024

    @wolflu05
    Member

    I think this is a regression introduced with #6536 . (Found this by git bisect, that its working a commit prior to that (a310437) and the first bad commit is 0bfbd45)

  6. SchrodingersGat commented on Jun 23, 2024

    @SchrodingersGat
    Member

    Ok, I think I misunderstood the issue here. So, you are saying that now by default, sub-categories are included in the results, but previously they were not included by default?

  7. wolflu05 commented on Jun 23, 2024

    @wolflu05
    Member

    Exactly, you can check it out yourself by checking out the mentioned two commits and see the difference yourself.

  8. eimparas commented on Jun 23, 2024

    @eimparas
    Author

    Ok, I think I misunderstood the issue here. So, you are saying that now by default, sub-categories are included in the results, but previously they were not included by default?

    Yes, thats what im saing .

    having sub-categories included in the categories list makes it quite confusing imho

  9. SchrodingersGat commented on Jun 24, 2024

    @SchrodingersGat
    Member

    As far as I can tell this is only the case for the "top level" part category.

    For example see the screenshot below. There are no filters added to the tables, and the default behaviour is to show only direct child categories:

    image

    However I can manually add the filter to include subcategories:

    image

  10. wolflu05 commented on Jun 25, 2024

    @wolflu05
    Member

    As far as I can tell this is only the case for the "top level" part category.

    You are right, but I think this is definitely a regression and should be changed for the "top level" category to only show the "top level" entries.

  11. added this to the 0.16.0 milestone on Jun 26, 2024
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

    question

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions