Skip to content

Add order-trim-workorders script and documentation#1562

Open
unboundlopez wants to merge 3 commits intoDFHack:masterfrom
unboundlopez:order-trim-workorders
Open

Add order-trim-workorders script and documentation#1562
unboundlopez wants to merge 3 commits intoDFHack:masterfrom
unboundlopez:order-trim-workorders

Conversation

@unboundlopez
Copy link

Interactively browse, pretty-format, and delete individual or multiple work orders from DFHack order JSON files via a two-stage picker and trimmer UI.

Recording.2026-02-05.195122.1.mp4

@ab9rf ab9rf added this to 53.10-r2 Feb 6, 2026
@ab9rf ab9rf moved this to Being worked on in 53.10-r2 Feb 9, 2026

.. dfhack-tool::
:summary: Pick, pretty-format, and trim work orders from DFHack order JSON files.
:tags: fort gui workorders
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can't just make up new tags here you; there is no gui tag which is why the build fails

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I've removed that line as I wasn't using tags appropriately.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not tagging the tool at all is also not a solution. Release select appropriate tags from the collection of available tags

Removed     :tags: fort gui workorders as I wasn't using tags appropriately.
@chdoc
Copy link
Member

chdoc commented Feb 16, 2026

More generally, while I do think that this tool addresses a genuine issue with exports and imports of work orders, I think it does so in a very suboptimal way. I don't think there is any point to implementing (structured) json editing inside DFHack. If json editing is the goal, I'm pretty sure this would be better done using external tools.

As far as I'm concerned, a much better user experience would be to pop up a selection list/table before exporting or importing orders. Ideally, that list would enable at least the following functionality: filtering, select visible, deselect visible, invert selection.

@ab9rf ab9rf moved this from Being worked on to Needs revision in 53.10-r2 Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs revision

Development

Successfully merging this pull request may close these issues.

3 participants