-
Notifications
You must be signed in to change notification settings - Fork 32
Description
As it turns out, both LBP1 and 2 can also show users as separate objects (that means, as polaroids in LBP1 and as proper list entries in LBP2) if they are included in a <users> element next to the <slots> element in slot lists returned by the server, making LBP3 not the only game which can do that. A few examples:
One practical usecase for this could be to be able to search for users alongside levels in LBP1 and 2. Just like levels, users would have their name and/or description searched for the queried term for consistency. If a user only wants to look up levels, or only users, they could use a search param for that (in the style of the feature I have proposed in #988), since unlike LBP3, these games don't expose any such filters graphically. Or maybe have level search be opt-out and user search be opt-in for these games specifically, which would be less consistent, but probably the most preferred default.
I think the simplest way to implement this would be to conveniently use the refactor proposed in #989 to have SearchLevelCategory return both levels and users. This would be useful and apply to the game's restrictions the easiest, because LBP1/2 still only have one search category, and so does LBP3 (one Search button which is separate from the other categories). Additionally, the search component on the beta website looks like it's not level-exclusive, so I think this might be the simplest and most useful way to implement user searching. Allow the user to search both in one place, while also allowing them to filter out users/levels if they want to.