Closed lcc3108 closed 11 months ago
The update to DataSource.ts
enhances the data source class by integrating template variable support. It imports necessary utilities for template handling and adds a method to apply these variables to query filters, ensuring dynamic and customizable queries. Additionally, the getAccountSummaries
method has been updated, likely to accommodate the new template variable functionality.
File | Change Summary |
---|---|
src/DataSource.ts |
Imported ScopedVars and getTemplateSrv , added applyTemplateVariables method, and updated getAccountSummaries method. |
In the code where logic hops around, 🐇💻
A change was made without a sound.
Variables template, now they weave,
Through queries' fabric, they interleave.A rabbit coder with a deft hand, 🐾
Updated methods as per command.
Data dances with dynamic flair,
Thanks to changes made with care.So here's to code that now adapts, 🎉
To user needs, with no mishaps.
A hop, a skip, a jump, we're done,
Celebrate the work well spun! 🥳
@coderabbitai review
Summary
Support variable at query editor
Summary by CodeRabbit