Jericho1060 / DU-Industry-HUD

A simple HUD for monitoring and managing industry in Dual Universe
GNU General Public License v3.0
38 stars 19 forks source link

Industry table view not sorting by recipe as it used to #26

Closed smooreace closed 2 years ago

smooreace commented 2 years ago

In an earlier version, the table view of the industry list used to be sorted by machine name. If there was no assigned name, then the type of machine was the default name. This made finding a specific machine very easy. It made for determining if a given element/product/whatever was being made. And now that storage is being listed, it too would make it far easier to find a specific container. Unfortunately, at some point, that default action has vanished. Was this intentional? Or an oversight?

Jericho1060 commented 2 years ago

That's true, i rewrote the whole code for that version and complettely forget about doing that, currently it's sorted by ID. I'll see to add a new sorting for the machines in the table view.

@smooreace Do you prefer a sorting by Machine Name or by product ?

smooreace commented 2 years ago

Technically, product would be easier. But because of the old version we got in the habit of renaming all of our machines to match the product being made. So we could go either way. I'de think product would be most useful for the general population though... just my 2 cents. Thanks!

Jericho1060 commented 2 years ago

humm, ok, i'll check if i can add several sorting, like for the view with al+7 or alt+8, i may be able to add a sorting option with alt+6 on table view.

I have several things to check before i'll come back to you here to tell what i can do

smooreace commented 2 years ago

Even a sort via LUA param would work

smooreace commented 2 years ago

But we have much bigger issues! I think its time for a room addition! image

Jericho1060 commented 2 years ago

so that's another issue, i will not answer it here, create another ticket if you want, but you have two lua parameters to deal with CPU load errors

Jericho1060 commented 2 years ago

Sorting option have been added to v4.1.0 with 3 types of sorting and a lua parameter to select the default one.