Leon Sorokin
6fc4e93f73
Dashboard: Reduce scope of contain: strict to TextPanel ( #75499 )
2023-09-27 13:14:35 -05:00
Dominik Prokop
918f11d81e
Revert "Dashboard: Reduce scope of contain: strict to TextPanel ( #75466 )
...
Revert "Dashboard: Reduce scope of `contain: strict` to TextPanel (#75329 )"
This reverts commit ade0de5ae9 .
2023-09-26 08:51:26 -07:00
Leon Sorokin
ade0de5ae9
Dashboard: Reduce scope of contain: strict to TextPanel ( #75329 )
2023-09-25 23:47:38 +03:00
Josh Hunt
1f6a44f58b
TextPanel: Add unit tests for interpolating variables before converting markdown ( #70090 )
2023-06-15 10:06:03 +00:00
sam boyer
33fd83f7e3
kindsys: Adapt to new PanelCfg schema interface ( #65297 )
...
* kindsys: Adapt to new PanelCfg schema interface
* building locally
* Remove Panel prefix in cue files
* Regenerate
* Update imports
* fixup! Merge branch 'remove-panel-prefix' into sdboyer/redundant-panelcfg-prefixes
* Fix formatting
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Tania B <yalyna.ts@gmail.com >
2023-05-15 23:07:54 -04:00
sam boyer
48b620231e
Kindsys: Unique names for composable kind TS types ( #61928 )
...
* Kindsys: Unique names for composable kind TS types
* Update all TS imports
2023-01-23 18:03:44 +00:00
Ryan McKinley
8b50c60342
TextPanel: Refactor to functional component ( #60885 )
2023-01-05 02:08:00 -08:00
kay delaney
b1128e0b8c
Chore/React18: Update context types where needed ( #57018 )
2022-10-17 13:29:44 +01:00
Ryan McKinley
fe61a97c9d
TextPanel: Support code formats ( #53850 )
2022-08-24 08:13:00 -07:00
Polina Boneva
bec500b69f
Chore: Test grafana/public/app/plugins/panel/text/TextPanel.tsx ( #52244 )
...
* move sanitize test to its own test file
* add a test for renderTextPanelMarkdown to always sanitize
* setup TextPanel tests
* add tests to always sanitize Text Panel contents and always convert correctly to html/markdown
2022-07-15 12:06:16 +03:00
Polina Boneva
f83f05d6b3
Variables: variables in Markdown links are not interpolated ( #51392 )
...
* on a text panel first interpolate, then markdown, then sanitize;
* update devenv dashboard + e2e tests
* fix typo and undo changes in grafana/data
* handling of config option disableSanitizeHtml more readable when preparing markdown in text panel
* betterer
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-06-29 15:26:31 +03:00
Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
Ashley Harrison
b1125c0ba3
TextPanel: Sanitize after markdown has been rendered to html ( #46166 )
...
* Sanitize after markdown has been rendered to html
* Update e2e test
2022-03-03 16:50:09 +00:00
Coleman Rollins
119f756c0e
[cr] whitelist flexbox styles in text panel editor ( #43222 )
...
* [cr] whitelist flexbox styles in text panel editor
* [cr] separate sanitize function for text panel only
* [cr] separate markdown function for text panel
* [cr] common markdown options
2021-12-21 16:32:48 +00:00
Ryan McKinley
daa3175f1c
Models: add cue spec for text, news, and dashlist panels ( #32777 )
2021-04-29 20:12:37 -07:00
Torkel Ödegaard
10badea19e
Emotion: Upgrades emotion from 10 to 11 and updates all import paths ( #32541 )
...
* Babel: Updates babel dependencies to latest version
* Emotion: Upgrade form 10 to 11
* Fixing tests
* Updated to use emotion/css instead in test
2021-04-01 14:15:23 +02:00
Torkel Ödegaard
c3ed644f66
Marked: Upgrade and always sanitize by default ( #28796 )
...
* Marked: Upgrade and always sanitize by default
* Added test
* corrected text panel logic
2020-11-05 09:40:12 +01:00
Torkel Ödegaard
5a11abe954
Events: Remove unused or unnecessary events ( #28783 )
...
* Events: Removing unused or unnessary events
* More cleanup
* Updated
2020-11-03 15:29:43 +01:00
Torkel Ödegaard
74c65eca26
EventBus: Introduces new event bus with emitter backward compatible interface ( #27564 )
...
* updated
* Experimenting with event bus with legacy support
* Before switch to emitter
* EventBus & Emitter unification
* Everything using new EventBus
* Making progress
* Fixing merge issues
* Final merge issues
* Updated
* Updates
* Fix
* Updated
* Update
* Update
* Rename methods to publish and subscribe
* Ts fixes
* Updated
* updated
* fixing doc warnigns
* removed unused file
2020-11-03 13:08:54 +01:00
garanews
61749dee23
Fix typos ( #28074 )
...
Parsed all repo with a regexp of common misspelled words and fixed.
2020-10-07 11:29:30 +01:00
Hugo Häggmark
f92bc0994d
TextPanel: Fixes issue when interpolation of variables stops working ( #26847 )
...
* TextPanel: Fixes issue when interpolation of variables stops working
* Tests: fixes broken typing in test
* Tests: updates e2e dashboard to html so we get the raw strings
* Tests: reverted back to markdown and fixed a bug
2020-08-10 06:38:22 +02:00
Torkel Ödegaard
3075b71848
TextPanel: Remove semicolon in markup ( #26680 )
2020-07-29 13:33:39 -07:00
Torkel Ödegaard
ae3c285312
TextPanel: Fix content overflow issue ( #26612 )
2020-07-27 08:00:57 +02:00
Dominik Prokop
718b78c4ce
Bring back scripts evaluation in TextPanel ( #26413 )
2020-07-17 18:00:58 +02:00
Torkel Ödegaard
8be735a6ec
TextPanel: Fixed issue with new react text panel ( #26061 )
2020-07-04 21:26:55 +02:00
Hugo Häggmark
55f304f15d
TextPanel: Removes Angular Text Panel ( #25504 )
...
* TextPanel: Removes Angular Text Panel
* Tests: updates snapshots
2020-06-10 14:35:30 +02:00