-
Notifications
You must be signed in to change notification settings - Fork 32
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
SearchUI PoC implementation #1666
Comments
FindingsAs a continuation of the previous analysis #1627, in this POC we are trying the full integration between the DocGenerator scripts that creates the JSON files that feed To start with this POC a simple script that deletes an index and adds new data was created. It looks for JSON files that are the output of the DocGenerator and uses the The entry point of this project that imports us the most is the Once One thing we notice is that it seems the required field in the documents is an Taking the previous comment into account, we need to include in our JSON output from the DocGenerator an id, this is already implemented since we are using an id to correlate information. As a conclusion, we could say that as in the previous analysis, that the generated scripts won't interfere in this development, once we receive the response from As stated above, it is needed to understand better how JS/React syntax is and the tools it provides. One thing about this that we need to fix is that the selected boxes don't filter out the information. The implementation is going in this branch https:/wazuh/wazuh-qa/tree/dev_1666_search-ui_poc |
It is possible now to filter out the results by the fields we have in our left panel as is shown in the following images.We still need to figure out how to parse the information coming from Related to #1641 (comment), the names used to build a filter request are the variables we use to build the facets, and those names should match to the key defined in the It's needed to define the schema #1626 to have a better understanding of how the information will be shown, so that we can have a more descriptive title and also new fields to filter the information. |
ConclusionWe conclude this POC with some ideas to do as a part of the following issue, and also doubts that were cleared while performing this development. Related to the previous images we need to implement a complex parser, probably recursive, to obtain the information in nested JSON objects. As of now, the JSON object was converted to string just to show the information, the function Before the page was not automatically loaded at the start, which was fixed in the latest changes. But currently, the search bar does not do what is supposed to do. It is not returning any result searching for words or partial words. Also, will be desirable to implement some autosuggestion and auto-completion feature to the search bar. About the snack case convention, we decided to use, we need to reconsider the idea to go back to the previous format and modify the JS scripts to manage the name keys instead of modifying them directly in the JSON output. The script that indexes the data will be integrated as a module to the current development of the Link to the branch: https:/wazuh/wazuh-qa/tree/dev_1666_search-ui_poc |
As part of the Epic 1600, we will use SearchUI as the main tool to index, filter, and display the documentation content of Wazuh QA.
The input for SearchUI will be created in the Epic 1536.
After the investigation done in 1627, we should implement a PoC capable to:
The text was updated successfully, but these errors were encountered: