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
Hugo Häggmark
ceb9f0855b
Chore: Replaces moment with Grafanas DateTime ( #16919 )
...
* Wip: Initial commit
* Refactor: Replaces moment.utc(
* Refactor: replaces the last isMoment statements
* Refactor: Removes almost all moment imports
* Refactor: Moves moment_wrapper to grafana/ui
* Refactor: Renames momentWrapper
* Refactor: Removes one more moment import
* Refactor: Removes unitOfTime import
* Fix: Fixes Prettier error
* Refactor: Renames DateTimeType to DateTime
* Refactor: Renames isDateTimeType to isDateTime
* Refactor: Renames dateTime to dateTime
* Feature: Bans moment imports and types
2019-05-08 13:51:44 +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
Patrick O'Carroll
d040e336c1
UI: Remove old icons ( #16335 )
...
* removed unsused grafana-icon classes, replaced grafana-icons with gicons
* replaced old dashboard and datasource icons with gicon, fixed so icons on plugin list are shown
* removed unsused grafana-icon classes, replaced grafana-icons with gicons
* replaced old dashboard and datasource icons with gicon, fixed so icons on plugin list are shown
* replaced fontawesome cog, eye, link and edit with gicons
* updated snapshot
* fixed color of cog in dashboard nav, removed icons from buttons, ran preitterier on some files
* changed opacity on getting started icons and fixed getting started button
* .5 -> 0.5 fix for prettier
2019-04-17 15:18:32 +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
c3fdc1a0fb
Panel time override tests
2019-01-11 16:21:44 +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
5402a0e00d
fixed menu to go to panel view mode
2018-11-20 13:18:48 +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
Torkel Ödegaard
81a9a3a3c1
Merge branch 'develop' into 12759-timeshift
2018-11-13 08:51:48 +01:00
Torkel Ödegaard
e0feb72637
Merge remote-tracking branch 'origin/data-source-settings-to-react' into develop
2018-11-12 16:17:05 +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
Torkel Ödegaard
37eb7ca62b
further refactoring of #13984
2018-11-07 13:55:02 +01:00
Torkel Ödegaard
a24f6998f2
refactorings and some clean-up / removal of things not used
2018-11-07 13:36:35 +01:00
Johannes Schill
dbf7f3fb61
wip: panel-header: More merge conflicts during cherry pick
2018-11-06 16:05:34 +01:00
Johannes Schill
6c0c1254fe
wip: panel-header: More merge conflicts
2018-11-06 15:44:04 +01:00
Johannes Schill
ca4612af26
wip: panel-header: Merge conflicts
2018-11-06 15:35:15 +01:00
Johannes Schill
443d381dd9
wip: panel-header: Add possibility to add custom actions to the menu by passing them in as props
2018-11-06 15:26:56 +01:00
Johannes Schill
f124b9de6a
wip: panel-header: Separate all panel actions to its own file so we decouple them from react
2018-11-06 15:26:43 +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