fe61a97c9d
TextPanel: Support code formats ( #53850 )
2022-08-24 08:13:00 -07:00
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
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
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
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
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
daa3175f1c
Models: add cue spec for text, news, and dashlist panels ( #32777 )
2021-04-29 20:12:37 -07:00
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
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
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
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
61749dee23
Fix typos ( #28074 )
...
Parsed all repo with a regexp of common misspelled words and fixed.
2020-10-07 11:29:30 +01:00
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
3075b71848
TextPanel: Remove semicolon in markup ( #26680 )
2020-07-29 13:33:39 -07:00
ae3c285312
TextPanel: Fix content overflow issue ( #26612 )
2020-07-27 08:00:57 +02:00
718b78c4ce
Bring back scripts evaluation in TextPanel ( #26413 )
2020-07-17 18:00:58 +02:00
8be735a6ec
TextPanel: Fixed issue with new react text panel ( #26061 )
2020-07-04 21:26:55 +02:00
55f304f15d
TextPanel: Removes Angular Text Panel ( #25504 )
...
* TextPanel: Removes Angular Text Panel
* Tests: updates snapshots
2020-06-10 14:35:30 +02:00