Torkel Ödegaard
65942efb95
Panels: Add support for panels with no padding ( #20012 )
...
* Panels: Added support to set panel padding to zero
* WIP: fullChromeControl work
* Tweaks to header position
* Reverted some overlay mechanic and now back to no title only
* Fixed test
* Fixed transparent flag
* Added show title
* Added font weight to value
* Reverted back to no padding option
* Fixed issue with border and width and height
2019-11-25 13:26:18 -08:00
kay delaney
99411bf37a
Types: Adds type safety to appEvents ( #19418 )
...
* Types: Add type safety to appEvents
2019-10-14 09:27:47 +01:00
Ryan McKinley
fcdc29746f
@grafana/data: export dateMath and rangeUtil ( #17971 )
2019-07-05 23:43:12 -07:00
Ryan McKinley
3f15170914
Refactor: move some files to @grafana/data ( #17952 )
...
* moving to data WIP
* more refactoring
* add missing test
* mock full path
* remove sinon from grafana-ui
2019-07-06 08:05:53 +02:00
Torkel Ödegaard
48ae93048b
Panels: No title will no longer make panel header take up space ( #16884 )
...
* Panels: Initial poc of no panel titles
* moving panel-container to DashboardPanel
* Starting to work
* Gauge fix
* Panels: tweaked panel padding and title z-index stuff
* Panels: changed panel padding a bit and simplified it by having same padding in vertical and horizontal
* Lots of tweaks to panel padding related stuff
* Updated snapshot
* Added test dashboard
* Final refactorings
* Trim title befgor applying panel-container--no-title class
* Remove unnecessary type annotation
* Panels: hasTitle no need to trim
* Gauge: fixed font family
2019-05-06 15:26:09 +02:00
Ryan McKinley
d881976c9d
Refactor: move datemath to grafana/ui ( #16890 )
...
* move datemath to grafana/ui
* don't reference @grafana/ui from its own component
2019-05-06 12:36:42 +02:00
ryan
439b044204
move toTableData to grafana/ui
2019-03-07 13:09:53 -08:00
ryan
abf015ace2
use TableData for timeseries in react
2019-03-07 12:13:38 -08:00
Marcus Efraimsson
1a588dadbe
fix only users that can edit a dashboard should be able to update panel json
2019-03-06 12:57:19 +01:00
Torkel Ödegaard
cfea8bdcae
Prettier had not been running as a precommit hook for some time so had to run in on all files again
2019-02-13 11:14:53 +01:00
Johannes Schill
3f64d61fd2
feat: Add util to convert snapshotData to PanelData
2019-02-12 12:28:53 +01:00
Torkel Ödegaard
aafd4a339a
Moved dashboard state components to state folder
2019-01-31 08:56:17 +01:00
Torkel Ödegaard
80da19010e
Moved share modal
2019-01-23 13:07:20 +01:00
Dominik Prokop
7289e6e500
Addedd assertions about raw time range when panel time overriden
2019-01-11 16:49:29 +01:00
Dominik Prokop
60fadcf1e5
Fix panel time overrides not being applied fully
...
When both relative and time shift were applied, only time shift was taken into consideration
2019-01-10 20:15:03 +01:00
Torkel Ödegaard
a02b4b47b6
Moving a couple of types to @grafana/ui
2018-12-23 09:15:32 +01:00
Torkel Ödegaard
6d91e06f4d
refactoring back the interval calculation, needs to be different for react panels
2018-11-13 16:01:52 +01:00
Torkel Ödegaard
f026be3790
fix case where timeshift and time override is used
2018-11-13 15:23:13 +01:00
Torkel Ödegaard
f274195d81
wip: refactoring interval and time override handling
2018-11-13 15:05:07 +01:00
Johannes Schill
a3f1a1c6b3
wip: panel-header: Remove the TimeData type
2018-11-12 11:31:33 +01:00
Johannes Schill
e55f3f883f
wip: panel-header: Move getResolution and calculateInterval into utils-functions and use the same code from react and angular
2018-11-12 11:31:33 +01:00
Johannes Schill
9fd62b80d9
wip: panel-header: Start implementing the applyPanelTimeOverrides in the react panels by moving it to a util, make it pure and call it from angular and react.
2018-11-12 11:31:33 +01:00
Johannes Schill
6151310216
wip: panel-header: Start implementing the Toggle legend, but its not taken all the way
2018-11-06 15:26:34 +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
Johannes Schill
bf8703edb8
wip: panel-header: Move code existing in both angular+react to utility functions
2018-11-06 15:24:25 +01:00