-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Declutter inventory UIs #56630
Declutter inventory UIs #56630
Conversation
I dislike the removal of the hidden indicator, as you now can chase around the UI to locate the blasted items that are in a container where it doesn't belong, but not find them because they're hidden. I want to be told specifically that the stuff in some containers are actually suppressed from view, rather than have the (new) player guess that you probably can't see items in first aid kits and wallets, but find that you can see them in STEM kits and the like. Also, the testing images show only dedicated container type items, not "normal" containers, such as a box of toast-ems and a box of toast-ems where the pickup logic has also crammed e.g. a bottle of beer into the box. I assume those are intended to be unchanged, but it would be nice to verify that this actually is the case. |
I agree that removing the indicator isn't a good step. |
Is this optional, as I personally like the old Ui more as it contains more information. |
Isn't the chevron enough? It's pointing the wrong way (compared to here on github), but it also shows the key needed to uncollapse the itemand I don't want to mess with people's muscle memory
Items that match the filter will show up even if hidden, since #53444
Sorry, I can't make it optional with the current implementation of collapsing, unless I give up on saving the collapsed status. (EDIT: well I probably can, but it's looking pretty ugly and needs a global option). I don't think the old behavior gives you any extra information |
bd68ffc
to
f18a3ba
Compare
d73f56a
to
2d306eb
Compare
I like the chevron myself, maybe it's enough to put a bit more emphasis on it? Or instead of the |
I like that. I'd consider placing it in front of the invlet, but I'm not entirely sure about that.
Ideally it doesn't even get treated as a container in such cases. |
This comment was marked as outdated.
This comment was marked as outdated.
1010b13
to
e98414c
Compare
Oh, so I can still get all the info by uncollapsing the item? What I was talking about was the gun magazine not appearing, just realized second photo is collapsed, this seems like a great change now that I realized what it actually does, sorry for the confusion. |
e98414c
to
666790f
Compare
I've fixed it so that the chevron only shows if the item's contents aren't hidden by the preset. |
837d58f
to
6081b92
Compare
inv_ui: (un)collapse all standard pocket types game: allow collapsing all standard pockets
only show it for container pockets
revert to: don't indent sort if column is forced to not indent this caused far more issues than it solved
8528ed5
to
f017c13
Compare
Thanks for merging. |
Summary
None
Purpose of change
Pickup menu is typically cluttered with useless entries such as
pen ink
, duplicated information such as ammo counts, and this fuglyhidden
marker at the end of collapsed items.#56427 included a ham-handed fix that unconditionally hid all items inside magazines and was not well received
Closes: #56621
Invalidates (mostly): #53437
Describe the solution
c:ammo
)hidden
marker for collapsed container pocketsDescribe alternatives you've considered
instead of 1: include that functionality in
inv_sel_preset::is_shown()
instead. That needs a lot of boilerplate...instead of 3: add
COLLAPSE_CONTENTS
to all the items whose default contents are subjectively useless. This is a lot of churn for the same effectinstead of 4: replace the marker with a red
+
. I haven't found any case where that information would be useful outside ofinventory_selector
. It's a minor change though if it turns out to be needed.Testing
before #56427
Item names are sometimes improperly expanded
after this patch
Chevron isn't shown if the contents aren't allowed by the preset
(from player inventory window)
Nested magazines aren't expanded anymore:
The backpack/harness was collapsed manually and all the other items were newly spawned.
Additional context
Astyle really doesn't know how to break lines nicely.