InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

Show "Test Result Table" for Part

Open SchrodingersGat opened this issue 5 years ago • 4 comments

Under the "Test Template" table, display a table of stock items showing in a grid view which tests have been passed / failed for each item.

  • Filter by serial-number range
  • Filter by other status?

Allows user to quickly see which units need to be tested / looked at / etc.

SchrodingersGat avatar May 20 '20 07:05 SchrodingersGat

If we get the #5995 out then I would like to fix on this one. I would envision to making the test statistics cells to be "clickable" (both for parts and builds) and would redirect to these views.

martonmiklos avatar May 05 '24 20:05 martonmiklos

@martonmiklos I would love for you to tackle this one! It has been outstanding for quite some time.

SchrodingersGat avatar May 08 '24 01:05 SchrodingersGat

Hi @SchrodingersGat

I started to work on this one.

So far I have added the list of the test results per part as a separate page (I am planning to add the same page for the build too). kép The results will be filterable by serial, (with wildcard support), by template, by execution time, by result, by value (with wildcard support), by test station.

Then I read again the original issue description which is a bit different from what I remembered and started to implement:

Under the "Test Template" table, display a table of stock items showing in a grid view which tests have been passed / failed for each item.

How do you envision that it should work? I mean we will have two tables below each other and it would make sense if the upper templates table would provide some quick filtering capability to the bottom results table.

If I need to go after some mfg. floor test issue detail usually the Part and the Test template is the info what I receive back first (sometimes along with serial number/numbers in the case if the issue is DUT related).

Finding the details in these situations the quickest route is the Part -> Test template -> latest /problematic results, so I think we should make this filtering the most "intuitive".

I feel that the the left menu is quite long already maybe unionizing the Test tempates/Statistics/results into a single Tests menu item would make some sense and we could place the stats/results/templates into something like a tab view.

martonmiklos avatar Aug 03 '24 21:08 martonmiklos

@martonmiklos I would suggest that you take a look at this recent PR: https://github.com/inventree/InvenTree/pull/7777

This implements a very similar table for the "build" page, showing all test results associated with that build.

This was intended to be a precursor to a solution for this issue. So, if you intend to address this, it should leverage the work already done in #7777

If you have not already, please check that out first :)

e.g.

image

SchrodingersGat avatar Aug 04 '24 12:08 SchrodingersGat