mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* WIP * Refactor and update how we display these fields in the form * Add test for getTemplateOptions and udpate parseTemplates to handle minus simbol * fix betterer * Fix wrapper * Create new usePreviewTemplate to be reused from TemplatePreview and TemplateContentAndPreview * remove unnecessary check * track interactions * Include the whole content of the template in the preview * Update parseTemplates function to return default templates * handle nested templates in parseTemplates function * Missing border fixed, whitespaces preserved and no empty space at the bottom * remove unused styles and add a comment in test * Add missing error in getPreviewResults * fix styles for template selector containers * Alerting: PR feedback to move default templates into RTKQ (#88172) Move default templates to RTKQ API + constant * move parseTemplates to a utils file and refactor last part of this function * Keep selected options when loading exising input and when switching between tabs * Update descritpion in tabs * Fix not previewing when loading existing values * Update text addressing Brenda's feedback * Add test for matchesOnlyOneTemplate function * Add minheight to viewer container and fix getContentFromOptions function --------- Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com> |
||
---|---|---|
.. | ||
state | ||
unified | ||
routes.tsx |