Pierre GIRAUD
97b087f5a5
Use factors for max repeated panels per row
2019-01-09 11:17:48 +01:00
Torkel Ödegaard
9aef3f4fb1
Fixed issues with panel size in edit mode, fixes #14703
2019-01-02 10:54:57 +01:00
Torkel Ödegaard
5b83f6d49d
Fixes undefined issue with angular panels and editorTabs
2018-12-19 17:00:26 +01:00
Torkel Ödegaard
705cbb4095
Minor cleanup now that angular panel edit is no longer
2018-12-17 21:29:25 +01:00
Torkel Ödegaard
dac02d3d73
React edit mode for angular panels progress
2018-11-16 08:31:29 +01:00
Torkel Ödegaard
159c5cdb63
wip: adding general tab for react panel edit mode
2018-11-14 17:57:37 +01:00
Torkel Ödegaard
080d611004
minor changes to react panels
2018-11-14 13:20:19 +01:00
Johannes Schill
5375ce5ffd
wip: panel-header: Refactor so "Share" use the same code in angular+react
2018-11-06 15:25:46 +01:00
Johannes Schill
f9dd516578
wip: panel-header: Add "Edit JSON" functionality + make sure everyone using the json editor pass in the model property instead of the scope property when triggering the json modal
2018-11-06 15:25:36 +01:00
Johannes Schill
edceb204e7
wip: panel-header: Add "Copy" functionality
2018-11-06 15:25:13 +01:00
Johannes Schill
b296d724e5
wip: panel-header: Add "Duplicate"
2018-11-06 15:25:07 +01:00
Torkel Ödegaard
36cd73819a
fixed memory leaks and minor refactoring
2018-10-31 03:40:03 -07:00
Torkel Ödegaard
8ba865bf57
Merge branch 'master' into react-panels-step1
2018-10-12 13:31:20 +02:00
Torkel Ödegaard
d2bdf8cff1
wip: fixed issues now things are starting to work as before for angular panels
2018-10-09 17:07:13 +02:00
Torkel Ödegaard
2f84101fe7
wip: restoring old angular panel tabs / edit mode
2018-10-07 10:39:47 -07:00
Torkel Ödegaard
5b52225450
wip: panel options idea2
2018-09-20 09:01:06 +02:00
Torkel Ödegaard
3ceab9484d
wip: moving option tabs into viz tab
2018-09-10 19:04:56 +02:00
Torkel Ödegaard
df822a660b
initial render/refresh timing issues
2018-09-10 16:19:28 +02:00
Torkel Ödegaard
100ab0ba23
Merge branch 'master' into react-panels
2018-09-10 15:42:36 +02:00
Patrick O'Carroll
dc4f547a40
Changed functions to arrow functions for only-arrow-functions rule.
2018-09-04 17:02:32 +02:00
Patrick O'Carroll
552a61b6ae
changed var to let in 50 files ( #13075 )
2018-08-30 09:03:11 +02:00
Patrick O'Carroll
5e0d0c5816
changed var to const ( #13061 )
2018-08-29 14:26:50 +02:00
Torkel Ödegaard
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
Torkel Ödegaard
fd81f89509
wip: angular panels now have similar edit mode and panel type selection enabling quick changing between panel react and angular panel types
2018-08-25 12:22:50 -07:00
Torkel Ödegaard
6ba8f6c5ab
wip: major change for refresh and render events flow
2018-08-25 08:49:39 -07:00
Torkel Ödegaard
db52ea66bd
react panels minor progress
2018-06-19 16:57:55 +02:00
Alexander Zobnin
00454b32f5
fix XSS vulnerabilities in dashboard links ( #11813 )
...
fix XSS vulnerabilities in dashboard links
2018-05-08 11:28:16 +02:00
David Kaltschmidt
8a53ec610b
Fix url encoding, expand template vars, fix TS hacks
...
* moved datasource related functions to panel sub-class
* expand panel template vars for url
* added keybindings for x -> Explore
* url encoding for explore state
2018-04-30 17:44:30 +02:00
David Kaltschmidt
05b0bfafe4
Explore: Add entry to panel menu to jump to Explore
...
* panel container menu gets new Explore entry (between Edit and Share)
* entry only shows if datasource has `supportsExplore` set to true (set
for Prometheus only for now)
* click on Explore entry changes url to `/explore/state` via location provider
* `state` is a JSON representation of the panel queries
* datasources implement `getExploreState()` how to turn a panel config into explore initial
state
* Explore can parse the state and initialize its query expressions
* ReactContainer now forwards route parameters as props to component
* `pluginlist` and `singlestat` panel subclasses needed to be adapted because
`panel_ctrl` now has the location provider as a property already
2018-04-30 17:44:28 +02:00
Patrick O'Carroll
23f644c2f5
changed copied message and added forced render for width change
2018-04-18 10:34:43 +02:00
Patrick O'Carroll
0120023aba
added forceupdate to grid item so addpanel items rezie instantly, renamed function to copyPanel, fixed panel items height issue
2018-04-17 13:10:08 +02:00
Marcus Efraimsson
0e0976b0a2
Merge branch 'master' into 10427_addpanel_filter
2018-04-16 23:30:34 +02:00
Tobias Wolf
03b2561af2
Missed the 'p d' hint in the popup-menu
2018-03-24 14:49:06 +01:00
Patrick O'Carroll
8d4c439eeb
add panel to list now copy, started on jest
2018-03-07 12:46:27 +01:00
Marcus Efraimsson
609f3c1c9d
dashboards: fix keyboard shortcut for remove panel
2018-02-22 18:02:29 +01:00
Marcus Efraimsson
39eb8f9eba
Dashboard: View JSON improvements ( #10327 )
...
* dashboard: enable copy to clipboard for view json and panel json
* dashboard: use code editor for view json under settings
2017-12-26 13:52:19 +01:00
Torkel Ödegaard
c11cf18879
refactor: tried to simplify and also minimize scope a bit for #10323
2017-12-26 13:22:01 +01:00
Marcus Efraimsson
281e519fab
fix: remove unused code
2017-12-22 10:26:01 +01:00
Marcus Efraimsson
68457f5636
dashboard: copy panel to clipboard
...
Adds a new menu item to panels, Copy to Clipboard, that will both
copy the panel json to the clipboard and temporarily store the panel object
in the browsers window object. The temporarily stored panel object are
available in Add Panel from any dashboard for as long you don't refresh
the browser.
Fixes #10248 , #1004
2017-12-22 10:24:55 +01:00
Torkel Ödegaard
3a1f52d8a2
prettier: ran on all files again, sorry. now settings are defined in package.json
2017-12-21 08:39:31 +01:00
Torkel Ödegaard
85879a7014
prettier: change to single quoting
2017-12-20 12:33:33 +01:00
Daniel Lee
31fc19c6d7
dashboard: fixes #10262
2017-12-19 14:55:03 +01:00
Torkel Ödegaard
35c8cdf3a5
refactor: minor change to panel json fix PR #10156
2017-12-12 12:10:19 +01:00
Alexander Zobnin
86204abbfe
Move panel JSON editor to modal dialog ( #10156 )
...
* panel: fix JSON edit, #10149
* panel: show JSON editor in modal, #10149
2017-12-12 12:04:08 +01:00
Torkel Ödegaard
008b9bb3e9
ux: dashboard settings work progress
2017-12-11 16:28:57 +01:00
Torkel Ödegaard
55609382f1
fix: fixed panel size rerendering issues
2017-12-09 13:53:03 +01:00
Alexander Zobnin
b97ad93be1
fix panel solo mode ( #10002 )
2017-11-28 09:38:28 +01:00
Torkel Ödegaard
856a0393ab
Merge branch 'develop' into develop-scrollable-panels
2017-11-23 10:27:16 +01:00
Torkel Ödegaard
905553052a
removed call to unused function in panel_ctrl
2017-11-22 14:47:26 +01:00
Torkel Ödegaard
85e81959f2
scrollable panels works better with perfect-scrollbar
2017-11-22 14:46:17 +01:00