Opensearch query builder#12573
Conversation
| */} | ||
| <Stack.Item grow /> | ||
| <Stack.Item align="right"> | ||
| <Box color="label">rewind:</Box> |
There was a problem hiding this comment.
This needs a tooltip explaining what it does. See https://github.com/cmss13-devs/cmss13/blob/master/tgui/docs/component-reference.md#tooltip Also may look nicer capitalized to Rewind.
There was a problem hiding this comment.
I wanted to but none of these elements accept a tooltip. Might need to put an info bubble next to it
There was a problem hiding this comment.
Using the component Tooltip (never not available) is different than the property tooltip (if available).
There was a problem hiding this comment.
Still need to do this aswell
There was a problem hiding this comment.
I ended up putting a disabled gray button because the TGUI docs encourage doing that rather than using deprecated Tooltip
|
Changed a lot to try to streamline and fix bugs. Got rid of a lot of backend handling for stuff that was halfbaked. Still have to address the 2 comments from Drathek above |
|
i love u btw |
About the pull request
Adds an in-game REST API client to query logs for the current round from OpenSearch.
The UI is rather simple, but comes with a few noteworthy features:
Explain why it's good for the game
Smoother flow for simple log queries, directly ingame.
With results score ranking it also becomes possible to just take a shotgun approach by throwing relevant words and letting OpenSearch find closest matches, rather than fiddling with filters for days.
Testing Photographs and Procedure
It needs the backend to work so you'll have to try it live
Player panel button. You can also use .opensearch verb or the one in Admin verbs.

Example query made by the PP

How an example query with range filtering ends up when opening it on Dashboards

Writing keywords and letting the backend do its search job also becomes an option to find important events, without needing to slowboat through the entire stream of time sorted logs:

Changelog
🆑
admin: Added OpenSearch Query Builder for in-game log searching
/:cl: