Conversation
…nd sorting for data explorer
|
In the original issue #1408 you asked for some guidance and I said I'd provide my general plan for implementing this feature. At the very least, I'd split this in to two parts detailed below. As for the UI, something similar to what exists in the data view in the graph explorer view. Update keyword search to allow for multiple filtersThe keyword search query has almost everything needed to make filtering work. But it only has inputs for a single filter, since that was all that was needed for the search sidebar UI. The expand neighbors query allows for multiple filters to be applied, so I was going to use that as an example of how to apply multiple filters in each query language. The keyword search and expand neighbors queries are fairly similar, so the translation shouldn't be too difficult. Update keyword search to allow for sorting by a single propertySorting can have some pretty large impacts on the performance of a query, so this part of the feature may not even make it in. But if the default state performance is unaffected, and the only performance hit is when the user chooses to sort, then I think it is ok. Each query language has slightly different sorting keywords, but usually some form of So the sorting must be optional in the keyword search parameters. |
Description
This PR adds filtering and sorting to Data Explorer.
At the moment only for Gremlin.
Related Issues
Addresses #1408
Check List
license.
pnpm checksto ensure code compiles and meets standards.pnpm testto check if all tests are passing.Changelog.md.