diff --git a/src/datasources/system/components/SystemQueryEditor.tsx b/src/datasources/system/components/SystemQueryEditor.tsx index 2a77acd..9afd2cf 100644 --- a/src/datasources/system/components/SystemQueryEditor.tsx +++ b/src/datasources/system/components/SystemQueryEditor.tsx @@ -22,7 +22,7 @@ export function SystemQueryEditor({ query, onChange, onRunQuery, datasource }: P return ( <> - + {query.queryKind === SystemQueryType.Metadata && ( - + ); } + +const tooltips = { + queryType: `Metadata allows you to visualize the properties of one or more systems. + Summary allows you to visualize the number of disconnected and connected systems.`, + system: `Query for a specific system by its name or ID. If left blank, the plugin returns all + available systems. You can enter a variable into this field.`, +}; diff --git a/src/datasources/system/query_help.md b/src/datasources/system/query_help.md new file mode 100644 index 0000000..8f9eb0e --- /dev/null +++ b/src/datasources/system/query_help.md @@ -0,0 +1,5 @@ +The _SystemLink Systems_ data source allows you to display system +metadata in dashboards. + +For more information, refer to [Managing Your Systems - SystemLink +Enterprise](https://www.ni.com/docs/en-US/bundle/systemlink-enterprise/page/managing-systems.html).