Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upCrafting menu search prefixes don't work #18573
Comments
illi-kun
added
the
<Bug>
label
Sep 29, 2016
This comment has been minimized.
This comment has been minimized.
|
I'm rebuilding right now, I'm going to look at the source to see if a call was flummoxed, but the search code itself hasn't changed for some time. Edit: I forgot that the code for searching a recipe is different than the general item search code. Also |
This comment has been minimized.
This comment has been minimized.
|
It would appear that it was introduced here. dcb1d34 I don't see any indication that it wasn't intentional, but I don't understand why. I suspect that @mugling intended to go about writing a new search function, but never got around to it. I'm a bit peeved that this happened, as it seems that there was no new system in place to replace the one that was removed. This was one of my favorite parts of the gui actually. |
This comment has been minimized.
This comment has been minimized.
|
Yes, it's a known regression which I will be working on at some point. This fix might come after I update the crafting code to support mixed alternatives (eg. |
mugling
self-assigned this
Sep 30, 2016
This comment has been minimized.
This comment has been minimized.
|
Okay, that's good then. How was it broken though? |
This comment has been minimized.
This comment has been minimized.
The crafting code is horrible - I wrote the shortest implementation that would suffice. A new implementation might avoid the prefixes in favor of a specific search dialog? |
This comment has been minimized.
This comment has been minimized.
|
I honestly prefer the prefixes, less mucking about. I'd really prefer a unified gui for this, and the prefixes are, in my opinion, the best way to go about this. I think I'd be up for writing it if you would consider that. What I meant by unified UI is that that using a search prefix is consistent with the other parts of the ui that support searching, such as the item list |
This comment has been minimized.
This comment has been minimized.
Yes such a PR would definitely be considerd - an idea with a (clean) implementation is always more persuasive than an opinion without one. |
hitbutton
referenced this issue
Oct 4, 2016
Closed
Search prefixes in (at least) the crafting menu are not working. #18637
illi-kun
added
the
(S2 - Confirmed)
label
Oct 5, 2016
This comment has been minimized.
This comment has been minimized.
|
@mugling, I've written a basic implementation, I'm not sure that it's quite up to snuff with the code quality (It's also not quite finished yet), but the parts I've written seem to work as I would expect. There's a lot of change, and the code wasn't much fun to write, so I'd rather have some feedback on it before I'm completely finished. |
zapa1928 commentedSep 29, 2016
Win 7 bulid ver. 0.C-18865-g595705b (tiles) / bulid 5601
c:dehydratedort:hammerors:elecIt doesn't show any corresponding recipes.
It worked all right in bulid 5579 (i didn't download versions in between )