You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a global search bar on the top right of the console.
The UI can hit the search resolver for the backend, e.g.:
query Nodes($query: String!) {
search(query: $query) {
nodes {
... on ControlSearchResult {
controls {
id
name
}
}
... on OrganizationSearchResult {
organizations {
id
name
}
}
... on GroupSearchResult {
groups {
id
name
}
}
... on ControlObjectiveSearchResult {
controlObjectives {
id
name
}
}
... on EntitySearchResult {
entities {
id
name
}
}
... on TaskSearchResult {
tasks {
id
title
}
}
}
}
}
{
"query": "mitb"
}
It should look for results for our main object types (for now lets start with) :
Add a global search bar on the top right of the console.
The UI can hit the
search
resolver for the backend, e.g.:It should look for results for our main object types (for now lets start with) :
Add the query to the
codegen
package: https://github.com/theopenlane/openlane-ui/tree/main/packages/codegen/query and use the generated urql functions for the query to the backend.The text was updated successfully, but these errors were encountered: